Update to 0.3.0 upstream release

This commit is contained in:
Tom Hughes 2017-08-10 08:49:08 +01:00
parent 55dd5accd9
commit 9d2e825ad2
3 changed files with 17 additions and 16 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/libgxps-0.2.3.2.tar.xz
/libgxps-0.2.4.tar.xz
/libgxps-0.2.5.tar.xz
/libgxps-0.3.0.tar.xz

View File

@ -1,13 +1,14 @@
Name: libgxps
Version: 0.2.5
Release: 3%{?dist}
Version: 0.3.0
Release: 1%{?dist}
Summary: GObject based library for handling and rendering XPS documents
Group: System Environment/Libraries
License: LGPLv2+
URL: https://wiki.gnome.org/Projects/libgxps
Source0: http://ftp.gnome.org/pub/gnome/sources/%{name}/0.2/%{name}-%{version}.tar.xz
Source0: https://ftp.gnome.org/pub/gnome/sources/%{name}/0.3/%{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: gcc
BuildRequires: gtk3-devel
BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
@ -18,7 +19,6 @@ BuildRequires: freetype-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: lcms2-devel
BuildRequires: chrpath
%description
libgxps is a GObject based library for handling and rendering XPS
@ -26,7 +26,6 @@ documents.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
@ -35,7 +34,6 @@ developing applications that use %{name}.
%package tools
Summary: Command-line utility programs for manipulating XPS files
Group: Applications/Text
Requires: %{name}%{?_isa} = %{version}-%{release}
%description tools
@ -44,19 +42,16 @@ documents using the %{name} library.
%prep
%setup -q
%autosetup
%build
%configure --disable-static --enable-man
make %{?_smp_mflags}
%meson -Denable-gtk-doc=true -Denable-man=true
%meson_build
%install
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*
%meson_install
%post -p /sbin/ldconfig
@ -65,11 +60,12 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/xpsto*
%files
%doc AUTHORS ChangeLog NEWS README TODO
%doc AUTHORS MAINTAINERS NEWS README TODO
%license COPYING
%{_libdir}/*.so.*
%{_libdir}/girepository-1.0/*.typelib
%files devel
%{_includedir}/*
%{_libdir}/*.so
@ -77,12 +73,16 @@ chrpath --delete $RPM_BUILD_ROOT%{_bindir}/xpsto*
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/libgxps
%files tools
%{_bindir}/xpsto*
%{_mandir}/man1/xpsto*.1.gz
%changelog
* Thu Aug 10 2017 Tom Hughes <tom@compton.nu> - 0.3.0-1
- Update to 0.3.0 upstream release
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (libgxps-0.2.5.tar.xz) = f449c4cb989910797c84614ce9f141d4e9adcda0c18f309f656de397ba5deabfa9b4c558c81be7f52bc44c048c401616775989cd1ff9408eeea44f46ef56635b
SHA512 (libgxps-0.3.0.tar.xz) = 283ce3041f0238ef1dcae30ce2adbc3f843677e00ae22f20ed3459828f3edaab6d05d87c20dddb613925ab248ed0b29855a94198b982606c3dcb2e59f800b013