1 %include /usr/lib/rpm/macros.mono
3 Summary: gdata-sharp is a C# library that makes it easy to access data through Google Data APIs
4 Name: dotnet-gdata-sharp
8 Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz
9 # Source0-md5: 3914538201b00c6d33aa6ada0e9d1ec6
10 Patch0: pkgconfig-typo-fix.patch
11 Group: Development/Libraries
12 URL: http://code.google.com/p/google-gdata/
13 BuildRequires: mono-devel
14 BuildRequires: monodoc
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 The GData .NET Client Library provides a library and source code that
19 make it easy to access data through Google Data APIs.
22 Summary: Files required for compilation using gdata-sharp
23 Group: Development/Libraries
24 Requires: %{name} = %{version}-%{release}
27 Files required for compilation using gdata-sharp.
30 %setup -q -n libgoogle-data-mono-%{version}
39 rm -rf $RPM_BUILD_ROOT
41 DESTDIR=$RPM_BUILD_ROOT \
44 if [ "%{_lib}" != "lib" ]; then
45 install -d $RPM_BUILD_ROOT%{_prefix}/%{_lib}
46 mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/pkgconfig
50 rm -rf "$RPM_BUILD_ROOT"
53 %defattr(644,root,root,755)
54 %{_prefix}/lib/mono/gac/Google.GData.*
57 %defattr(644,root,root,755)
58 %dir %{_prefix}/lib/mono/GData-Sharp
59 %{_prefix}/lib/mono/GData-Sharp/*.dll
60 %{_pkgconfigdir}/gdata-sharp-*.pc