summaryrefslogtreecommitdiffstats
path: root/gnome
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-21 14:48:43 -0400
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-21 14:48:43 -0400
commit7e2034c6bb1b21068219faef739652b9edd5e0d9 (patch)
treeeb42db0facc93ac4c5c7fe34916e5fec77152568 /gnome
parent623d47951ea52b6b03a1742ec3749b433b789712 (diff)
downloadspecs-7e2034c6bb1b21068219faef739652b9edd5e0d9.tar.gz
specs-7e2034c6bb1b21068219faef739652b9edd5e0d9.tar.xz
specs-7e2034c6bb1b21068219faef739652b9edd5e0d9.zip
gdata-sharp.spec: updated to find nunit at Fedora's installation path
Diffstat (limited to 'gnome')
-rw-r--r--gnome/gdata-sharp.spec16
1 files changed, 11 insertions, 5 deletions
diff --git a/gnome/gdata-sharp.spec b/gnome/gdata-sharp.spec
index 463f089..7a2808c 100644
--- a/gnome/gdata-sharp.spec
+++ b/gnome/gdata-sharp.spec
@@ -1,4 +1,5 @@
%define debug_package %{nil}
+%define upstream_name libgoogle-data-mono
Name: gdata-sharp
Version: 1.4.0.2
@@ -8,13 +9,17 @@ Summary: .NET library for the Google Data API
Group: System Environment/Libraries
License: ASL 2.0
URL: http://code.google.com/p/google-gdata/
-Source0: http://google-gdata.googlecode.com/files/libgoogle-data-mono-%{version}.tar.gz
-Patch0: %{name}-1.4.0.2-pkgconfig.patch
+Source0: http://google-gdata.googlecode.com/files/%{upstream_name}-%{version}.tar.gz
+Patch0: %{upstream_name}-1.4.0.2-pkgconfig.patch
+Patch1: %{upstream_name}-1.4.0.2-nunit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: mono-devel mono-nunit22
#Requires:
+# Wait for mono-nunit22 to be available
+ExcludeArch: ppc ppc64
+
%description
The Google Data APIs (GData) provide a simple protocol for reading and
writing data on the web.
@@ -50,8 +55,9 @@ developing applications that use %{name}.
%prep
-%setup -q -n libgoogle-data-mono-%{version}
+%setup -q -n %{upstream_name}-%{version}
%patch0 -p1 -b .pkgconfig
+%patch1 -p1 -b .nunit
sed -i "s|\$(PREFIX)/lib|\$(PREFIX)/%{_lib}|g" Makefile
@@ -61,12 +67,12 @@ done
%build
-make %{?_smp_mflags} PREFIX=%{_prefix}
+make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir}
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir}
%clean