gdata-sharp-vl.spec 3.2 KB

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