]>
Commit | Line | Data |
---|---|---|
9cf574a0 | 1 | # |
55b9ad02 | 2 | %include /usr/lib/rpm/macros.mono |
9cf574a0 | 3 | # |
55b9ad02 | 4 | Summary: gdata-sharp is a C# library that makes it easy to access data through Google Data APIs |
a8e5eea4 | 5 | Name: dotnet-gdata-sharp |
dbf839cd | 6 | Version: 1.7.0.1 |
9cf574a0 | 7 | Release: 1 |
55b9ad02 | 8 | License: Apache v2.0 |
55b9ad02 | 9 | Group: Development/Libraries |
9cf574a0 | 10 | Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz |
dbf839cd | 11 | # Source0-md5: ba4f57eb5ed597d2e5d16f5deb69d411 |
55b9ad02 | 12 | URL: http://code.google.com/p/google-gdata/ |
e3551aee | 13 | BuildRequires: dos2unix |
14 | BuildRequires: mono-csharp | |
55b9ad02 | 15 | BuildRequires: mono-devel |
55b9ad02 PZ |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | The GData .NET Client Library provides a library and source code that | |
20 | make it easy to access data through Google Data APIs. | |
21 | ||
22 | %package devel | |
23 | Summary: Files required for compilation using gdata-sharp | |
24 | Group: Development/Libraries | |
25 | Requires: %{name} = %{version}-%{release} | |
26 | ||
27 | %description devel | |
28 | Files required for compilation using gdata-sharp. | |
29 | ||
30 | %prep | |
31 | %setup -q -n libgoogle-data-mono-%{version} | |
d3c39b21 | 32 | dos2unix misc/*.pc.in |
55b9ad02 PZ |
33 | |
34 | %build | |
35 | %{__make} \ | |
36 | PREFIX=%{_prefix} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
9cf574a0 | 40 | |
55b9ad02 PZ |
41 | %{__make} install \ |
42 | DESTDIR=$RPM_BUILD_ROOT \ | |
43 | PREFIX=%{_prefix} | |
44 | ||
c7ca43c1 PZ |
45 | if [ "%{_lib}" != "lib" ]; then |
46 | install -d $RPM_BUILD_ROOT%{_prefix}/%{_lib} | |
47 | mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/pkgconfig | |
48 | fi | |
49 | ||
55b9ad02 | 50 | %clean |
d6eada9d | 51 | rm -rf $RPM_BUILD_ROOT |
55b9ad02 PZ |
52 | |
53 | %files | |
54 | %defattr(644,root,root,755) | |
55 | %{_prefix}/lib/mono/gac/Google.GData.* | |
56 | ||
57 | %files devel | |
58 | %defattr(644,root,root,755) | |
59 | %dir %{_prefix}/lib/mono/GData-Sharp | |
60 | %{_prefix}/lib/mono/GData-Sharp/*.dll | |
61 | %{_pkgconfigdir}/gdata-sharp-*.pc |