From 7b2e86a9911359fd10e1093527929fe42fe471b6 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:35:11 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 0.2.2-1mamba;Mon Aug 05 2013] --- README.md | 2 + libgxps.spec | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 libgxps.spec diff --git a/README.md b/README.md index 7416288..c63bddc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgxps +libgxps is a GObject based library for handling and rendering XPS documents. + diff --git a/libgxps.spec b/libgxps.spec new file mode 100644 index 0000000..6621486 --- /dev/null +++ b/libgxps.spec @@ -0,0 +1,117 @@ +Name: libgxps +Version: 0.2.2 +Release: 1mamba +Summary: A GObject based library for handling and rendering XPS documents +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://wiki.gnome.org/libgxps +Source: http://ftp.gnome.org/pub/gnome/sources/libgxps/0.2/libgxps-%{version}.tar.xz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libacl-devel +BuildRequires: libarchive-devel +BuildRequires: libattr-devel +BuildRequires: libbzip2-devel +BuildRequires: libcairo-devel +BuildRequires: libffi-devel +BuildRequires: libfreetype-devel +BuildRequires: libglib-devel +BuildRequires: libjbig-devel +BuildRequires: libjpeg-devel +BuildRequires: liblcms2-devel +BuildRequires: liblzma-devel +BuildRequires: liblzo-devel +BuildRequires: libnettle-devel +BuildRequires: libpng15-devel +BuildRequires: libpng-devel +BuildRequires: libselinux-devel +BuildRequires: libtiff-devel +BuildRequires: libxml2-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libgxps is a GObject based library for handling and rendering XPS documents. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Publishing +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%package apidocs +Group: Documentation +Summary: %{name} API documentation +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: gtk-doc + +%description apidocs +This package includes the %{name} API documentation. + +%debug_package + +%prep +%setup -q + +%build +%configure --enable-gtk-doc +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libgxps.so.* +%{_libdir}/girepository-1.0/GXPS-0.1.typelib +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libgxps/ +%{_includedir}/libgxps/*.h +%{_libdir}/libgxps.a +%{_libdir}/libgxps.la +%{_libdir}/libgxps.so +%{_libdir}/pkgconfig/libgxps.pc +%{_datadir}/gir-1.0/GXPS-0.1.gir +%doc ChangeLog NEWS README TODO + +%files tools +%defattr(-,root,root) +%{_bindir}/xpstojpeg +%{_bindir}/xpstopdf +%{_bindir}/xpstopng +%{_bindir}/xpstops +%{_bindir}/xpstosvg + +%files apidocs +%defattr(-,root,root) +%dir %{_datadir}/gtk-doc/html/libgxps +%{_datadir}/gtk-doc/html/libgxps/* + +%changelog +* Mon Aug 05 2013 Silvan Calarco 0.2.2-1mamba +- package created by silvan using the webbuild interface