gdata-sharp-vl.spec 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. %global debug_package %{nil}
  2. %global upstream_name libgoogle-data-mono
  3. Name: gdata-sharp
  4. Version: 1.4.0.2
  5. Release: 2%{?_dist_release}
  6. Summary: .NET library for the Google Data API
  7. Group: System Environment/Libraries
  8. License: ASL 2.0
  9. URL: http://code.google.com/p/google-gdata/
  10. Source0: http://google-gdata.googlecode.com/files/%{upstream_name}-%{version}.tar.gz
  11. # fixed in SVN:
  12. # http://code.google.com/p/google-gdata/source/detail?spec=svn933&r=890
  13. Patch0: %{upstream_name}-1.4.0.2-pkgconfig.patch
  14. BuildRequires: mono-devel mono-nunit
  15. #Requires:
  16. # Mono only available on these:
  17. ExclusiveArch: %ix86 x86_64 ppc ppc64 ia64 %{arm} sparcv9 alpha s390x
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. %description
  21. The Google Data APIs (GData) provide a simple protocol for reading and
  22. writing data on the web.
  23. Each of the following Google services provides a Google data API:
  24. * Base
  25. * Blogger
  26. * Calendar
  27. * Spreadsheets
  28. * Google Apps Provisioning
  29. * Code Search
  30. * Notebook
  31. * Picasa Web Albums
  32. * Document Feed
  33. * Contacts
  34. * You Tube
  35. * Google Health
  36. The GData .NET Client Library provides a library and source code that
  37. make it easy to access data through Google Data APIs.
  38. %package devel
  39. Summary: Development files for %{name}
  40. Group: Development/Libraries
  41. Requires: %{name} = %{version}-%{release}
  42. Requires: pkgconfig
  43. %description devel
  44. The %{name}-devel package contains libraries and header files for
  45. developing applications that use %{name}.
  46. %prep
  47. %setup -q -n %{upstream_name}-%{version}
  48. %patch0 -p1 -b .pkgconfig
  49. %build
  50. make %{?_smp_mflags} PREFIX=%{_prefix}
  51. %check
  52. # currently 98 tests out of 921 fail
  53. # make test
  54. %install
  55. make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
  56. mkdir -p $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  57. test "%{_libdir}" = "%{_prefix}/lib" || mv $RPM_BUILD_ROOT/%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
  58. %files
  59. %defattr(-,root,root,-)
  60. %doc LICENSE-2.0.txt RELEASE_NOTES.HTML
  61. %{_prefix}/lib/mono/GData-Sharp
  62. %{_prefix}/lib/mono/gac/Google.GData.*
  63. %files devel
  64. %defattr(-,root,root,-)
  65. %{_libdir}/pkgconfig/gdata-sharp-*.pc
  66. %changelog
  67. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0.2-2
  68. - rebuild with VineSeed environment
  69. * Sun Jun 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.4.0.2-1
  70. - initial build for Vine Linux
  71. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0.2-7
  72. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  73. * Sat Oct 29 2011 Christian Krause <chkr@fedoraproject.org> - 1.4.0.2-6
  74. - Change paths for mono assemblies according to updated packaging
  75. guidelines (http://fedoraproject.org/wiki/Packaging:Mono)
  76. * Fri Feb 25 2011 Dan Horák <dan[at]danny.cz> - 1.4.0.2-5
  77. - updated the supported arch list
  78. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0.2-4
  79. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  80. * Wed Sep 23 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-3
  81. - Replace %%define with %%global
  82. * Thu Sep 3 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-2
  83. - Build against latest mono-nunit
  84. * Fri Aug 21 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-1
  85. - Initial Fedora package