summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2009-09-23 17:58:02 -0400
committerMichel Alexandre Salim <salimma@fedoraproject.org>2009-09-23 17:58:02 -0400
commit33e6d7d12ecc90244204416223eb0ea1f9f92b6f (patch)
tree7d77db0b8368e88c5983bce9f3e83adcb3a3716f
parenta9ed2d2d06b8dcc6c7e482a2e54691c780d50ed1 (diff)
downloadspecs-33e6d7d12ecc90244204416223eb0ea1f9f92b6f.tar.gz
specs-33e6d7d12ecc90244204416223eb0ea1f9f92b6f.tar.xz
specs-33e6d7d12ecc90244204416223eb0ea1f9f92b6f.zip
gdata-sharp: push updated version, using latest nunit
-rw-r--r--gnome/gdata-sharp.spec30
1 files changed, 16 insertions, 14 deletions
diff --git a/gnome/gdata-sharp.spec b/gnome/gdata-sharp.spec
index 4c35f95..7e687be 100644
--- a/gnome/gdata-sharp.spec
+++ b/gnome/gdata-sharp.spec
@@ -1,9 +1,9 @@
-%define debug_package %{nil}
-%define upstream_name libgoogle-data-mono
+%global debug_package %{nil}
+%global upstream_name libgoogle-data-mono
Name: gdata-sharp
Version: 1.4.0.2
-Release: 1%{?dist}
+Release: 3%{?dist}
Summary: .NET library for the Google Data API
Group: System Environment/Libraries
@@ -13,18 +13,11 @@ Source0: http://google-gdata.googlecode.com/files/%{upstream_name}-%{vers
# fixed in SVN:
# http://code.google.com/p/google-gdata/source/detail?spec=svn933&r=890
Patch0: %{upstream_name}-1.4.0.2-pkgconfig.patch
-# local patch only
-# Fedora's nunit is version 2.4; gdata-sharp still needs version 2.2
-# the patch directs the compiler to the location of the older nunit 2.2
-Patch1: %{upstream_name}-1.4.0.2-nunit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: mono-devel mono-nunit22
+BuildRequires: mono-devel mono-nunit
#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.
@@ -62,7 +55,6 @@ developing applications that use %{name}.
%prep
%setup -q -n %{upstream_name}-%{version}
%patch0 -p1 -b .pkgconfig
-%patch1 -p1 -b .nunit
sed -i "s|\$(PREFIX)/lib|\$(PREFIX)/%{_lib}|g" Makefile
@@ -72,12 +64,16 @@ done
%build
-make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_libdir}
+make %{?_smp_mflags} PREFIX=%{_prefix}
+
+%check
+# currently 98 tests out of 921 fail
+# make test
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix} LIBDIR=%{_libdir}
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
%clean
@@ -96,6 +92,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Sep 23 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-3
+- Replace %%define with %%global
+
+* Thu Sep 3 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-2
+- Build against latest mono-nunit
+
* Fri Aug 21 2009 Michel Salim <salimma@fedoraproject.org> - 1.4.0.2-1
- Initial Fedora package