From 7e2034c6bb1b21068219faef739652b9edd5e0d9 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Fri, 21 Aug 2009 14:48:43 -0400 Subject: gdata-sharp.spec: updated to find nunit at Fedora's installation path --- gnome/gdata-sharp.spec | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'gnome') 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 -- cgit