]>
Commit | Line | Data |
---|---|---|
55b9ad02 PZ |
1 | %include /usr/lib/rpm/macros.mono |
2 | ||
3 | Summary: gdata-sharp is a C# library that makes it easy to access data through Google Data APIs | |
a8e5eea4 | 4 | Name: dotnet-gdata-sharp |
55b9ad02 | 5 | Version: 1.4.0.2 |
d3c39b21 | 6 | Release: 2 |
55b9ad02 PZ |
7 | License: Apache v2.0 |
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) | |
16 | ||
17 | %description | |
18 | The GData .NET Client Library provides a library and source code that | |
19 | make it easy to access data through Google Data APIs. | |
20 | ||
21 | %package devel | |
22 | Summary: Files required for compilation using gdata-sharp | |
23 | Group: Development/Libraries | |
24 | Requires: %{name} = %{version}-%{release} | |
25 | ||
26 | %description devel | |
27 | Files required for compilation using gdata-sharp. | |
28 | ||
29 | %prep | |
30 | %setup -q -n libgoogle-data-mono-%{version} | |
d3c39b21 | 31 | dos2unix misc/*.pc.in |
55b9ad02 PZ |
32 | %patch0 -p1 |
33 | ||
34 | %build | |
35 | %{__make} \ | |
36 | PREFIX=%{_prefix} | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | %{__make} install \ | |
41 | DESTDIR=$RPM_BUILD_ROOT \ | |
42 | PREFIX=%{_prefix} | |
43 | ||
44 | %clean | |
45 | rm -rf "$RPM_BUILD_ROOT" | |
46 | ||
47 | %files | |
48 | %defattr(644,root,root,755) | |
49 | %{_prefix}/lib/mono/gac/Google.GData.* | |
50 | ||
51 | %files devel | |
52 | %defattr(644,root,root,755) | |
53 | %dir %{_prefix}/lib/mono/GData-Sharp | |
54 | %{_prefix}/lib/mono/GData-Sharp/*.dll | |
55 | %{_pkgconfigdir}/gdata-sharp-*.pc |