2019-09-30 10:56:31 -04:00
|
|
|
Name: libgxps
|
|
|
|
|
Version: 0.3.0
|
2019-11-06 19:38:47 +08:00
|
|
|
Release: 8
|
2019-09-30 10:56:31 -04:00
|
|
|
Summary: Library for rendering XPS documentsLibrary for rendering XPS documents
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://live.gnome.org/libgxps
|
|
|
|
|
Source0: https://download.gnome.org/sources/libgxps/0.3/%{name}-%{version}.tar.xz
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1591132
|
|
|
|
|
Patch0: libgxps-overflow.patch
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1574844
|
|
|
|
|
Patch1: libgxps-readerror1.patch
|
|
|
|
|
Patch2: libgxps-readerror2.patch
|
|
|
|
|
BuildRequires: meson gtk3-devel gcc glib2-devel gobject-introspection-devel libtiff-devel
|
|
|
|
|
BuildRequires: gtk-doc cairo-devel libarchive-devel freetype-devel libjpeg-devel lcms2-devel
|
|
|
|
|
Provides: %{name}-tools
|
|
|
|
|
Obsoletes: %{name}-tools
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
libgxps is a GObject based library for handling and rendering XPS
|
|
|
|
|
documents.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development files and Header files for %{name}
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson -Denable-gtk-doc=true -Denable-man=true
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:38:47 +08:00
|
|
|
%doc AUTHORS MAINTAINERS
|
|
|
|
|
%license COPYING
|
2019-09-30 10:56:31 -04:00
|
|
|
%{_bindir}/xpsto*
|
|
|
|
|
%{_libdir}/libgxps.so.*
|
|
|
|
|
%{_libdir}/girepository-1.0/GXPS-0.1.typelib
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/libgxps.so
|
|
|
|
|
%{_libdir}/pkgconfig/libgxps.pc
|
|
|
|
|
%{_includedir}/libgxps/*.h
|
|
|
|
|
%{_datadir}/gir-1.0/GXPS-0.1.gir
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc NEWS README TODO
|
|
|
|
|
%{_mandir}/man1/xpsto*.1.gz
|
|
|
|
|
%{_datadir}/gtk-doc/html/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2019-11-06 19:38:47 +08:00
|
|
|
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.0-8
|
|
|
|
|
- Type:bugfix
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Changed the storage path of MAINTAINERS
|
|
|
|
|
|
2019-09-30 10:56:31 -04:00
|
|
|
* Thu Sep 5 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.3.0-7
|
|
|
|
|
- Package init
|