[libgxps] Update to 0.2.1 upstream release
Tom Hughes
tomh at fedoraproject.org
Sat Jan 21 13:08:39 UTC 2012
commit 85dc27a5772a80d030b0a5e1b43abcb13b0b562a
Author: Tom Hughes <tom at compton.nu>
Date: Sat Jan 21 13:08:27 2012 +0000
Update to 0.2.1 upstream release
.gitignore | 1 +
libgxps-0.2.0-libm.patch | 63 ------------------------------------------
libgxps-0.2.0-libpng15.patch | 24 ----------------
libgxps.spec | 22 +++++---------
sources | 2 +-
5 files changed, 10 insertions(+), 102 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b329d38..1a8aac9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/libgxps-0.2.0.tar.bz2
+/libgxps-0.2.1.tar.xz
diff --git a/libgxps.spec b/libgxps.spec
index bfb6b91..24730d5 100644
--- a/libgxps.spec
+++ b/libgxps.spec
@@ -1,18 +1,12 @@
Name: libgxps
-Version: 0.2.0
-Release: 2%{?dist}
+Version: 0.2.1
+Release: 1%{?dist}
Summary: GObject based library for handling and rendering XPS documents
Group: System Environment/Libraries
License: LGPLv2+
URL: http://live.gnome.org/libgxps
-Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
-# Patch from upstream to link with libm
-# https://bugzilla.gnome.org/show_bug.cgi?id=664439
-Patch0: libgxps-0.2.0-libm.patch
-# Patch from upstream for libpng15 support
-# https://bugzilla.gnome.org/show_bug.cgi?id=664666
-Patch1: libgxps-0.2.0-libpng15.patch
+Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.2/%{name}-%{version}.tar.xz
BuildRequires: gtk3-devel
BuildRequires: glib2-devel
@@ -24,8 +18,7 @@ BuildRequires: freetype-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: lcms2-devel
-# Required temporarily for libm patch
-BuildRequires: libtool
+BuildRequires: chrpath
%description
libgxps is a GObject based library for handling and rendering XPS
@@ -52,9 +45,6 @@ documents using the %{name} library.
%prep
%setup -q
-%patch0 -p1 -b .libm
-%patch1 -p1 -b .libpng15
-autoreconf -i
%build
@@ -66,6 +56,7 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/xpsto*
%post -p /sbin/ldconfig
@@ -91,6 +82,9 @@ find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%changelog
+* Sat Jan 21 2012 Tom Hughes <tom at compton.nu> - 0.2.1-1
+- Update to 0.2.1 upstream release.
+
* Wed Jan 4 2012 Tom Hughes <tom at compton.nu> - 0.2.0-2
- Rebuilt for gcc 4.7 mass rebuild.
- Run autoreconf to update libtool.
diff --git a/sources b/sources
index 22b68fa..92c74fd 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-362c0d7e28e077be3595a19110ef2244 libgxps-0.2.0.tar.bz2
+1ff62407800ec96e7f1473e67757ec01 libgxps-0.2.1.tar.xz
More information about the scm-commits
mailing list