]> git.pld-linux.org Git - packages/dotnet-gdata-sharp.git/blob - dotnet-gdata-sharp.spec
- handle 64bit
[packages/dotnet-gdata-sharp.git] / dotnet-gdata-sharp.spec
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
4 Name:           dotnet-gdata-sharp
5 Version:        1.4.0.2
6 Release:        3
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}
31 dos2unix misc/*.pc.in
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 if [ "%{_lib}" != "lib" ]; then
45         install -d $RPM_BUILD_ROOT%{_prefix}/%{_lib}
46         mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/pkgconfig
47 fi
48
49 %clean
50 rm -rf "$RPM_BUILD_ROOT"
51
52 %files
53 %defattr(644,root,root,755)
54 %{_prefix}/lib/mono/gac/Google.GData.*
55
56 %files devel
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
This page took 0.040253 seconds and 4 git commands to generate.