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