]> git.pld-linux.org Git - packages/dotnet-gdata-sharp.git/blame_incremental - dotnet-gdata-sharp.spec
- unified %clean section
[packages/dotnet-gdata-sharp.git] / dotnet-gdata-sharp.spec
... / ...
CommitLineData
1#
2%include /usr/lib/rpm/macros.mono
3#
4Summary: gdata-sharp is a C# library that makes it easy to access data through Google Data APIs
5Name: dotnet-gdata-sharp
6Version: 1.7.0.1
7Release: 1
8License: Apache v2.0
9Group: Development/Libraries
10Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz
11# Source0-md5: ba4f57eb5ed597d2e5d16f5deb69d411
12URL: http://code.google.com/p/google-gdata/
13BuildRequires: dos2unix
14BuildRequires: mono-csharp
15BuildRequires: mono-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19The GData .NET Client Library provides a library and source code that
20make it easy to access data through Google Data APIs.
21
22%package devel
23Summary: Files required for compilation using gdata-sharp
24Group: Development/Libraries
25Requires: %{name} = %{version}-%{release}
26
27%description devel
28Files required for compilation using gdata-sharp.
29
30%prep
31%setup -q -n libgoogle-data-mono-%{version}
32dos2unix misc/*.pc.in
33
34%build
35%{__make} \
36 PREFIX=%{_prefix}
37
38%install
39rm -rf $RPM_BUILD_ROOT
40
41%{__make} install \
42 DESTDIR=$RPM_BUILD_ROOT \
43 PREFIX=%{_prefix}
44
45if [ "%{_lib}" != "lib" ]; then
46 install -d $RPM_BUILD_ROOT%{_prefix}/%{_lib}
47 mv $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/pkgconfig
48fi
49
50%clean
51rm -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 0.050167 seconds and 4 git commands to generate.