]> git.pld-linux.org Git - packages/dotnet-gdata-sharp.git/blob - dotnet-gdata-sharp.spec
- BR: dos2unix, mono-csharp
[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:  dos2unix
14 BuildRequires:  mono-csharp
15 BuildRequires:  mono-devel
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}
32 dos2unix misc/*.pc.in
33 %patch0 -p1
34
35 %build
36 %{__make} \
37         PREFIX=%{_prefix}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install \
42         DESTDIR=$RPM_BUILD_ROOT \
43         PREFIX=%{_prefix}
44
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
50 %clean
51 rm -rf "$RPM_BUILD_ROOT"
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
This page took 1.269144 seconds and 4 git commands to generate.