2024-01-06 04:35:11 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 04:35:11 +01:00
|
|
|
Name: libgxps
|
2024-01-06 04:35:11 +01:00
|
|
|
Version: 0.3.2
|
2024-01-06 04:35:11 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A GObject based library for handling and rendering XPS documents
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://wiki.gnome.org/libgxps
|
2024-01-06 04:35:11 +01:00
|
|
|
Source: http://ftp.gnome.org/pub/gnome/sources/libgxps/%{majver}/libgxps-%{version}.tar.xz
|
2024-01-06 04:35:11 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
%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
|
2024-01-06 04:35:11 +01:00
|
|
|
%meson
|
|
|
|
|
|
|
|
%meson_build
|
2024-01-06 04:35:11 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 04:35:11 +01:00
|
|
|
export DESTDIR=%{buildroot}
|
|
|
|
%meson_install
|
2024-01-06 04:35:11 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 04:35:11 +01:00
|
|
|
#%{_libdir}/libgxps.a
|
|
|
|
#%{_libdir}/libgxps.la
|
2024-01-06 04:35:11 +01:00
|
|
|
%{_libdir}/libgxps.so
|
|
|
|
%{_libdir}/pkgconfig/libgxps.pc
|
|
|
|
%{_datadir}/gir-1.0/GXPS-0.1.gir
|
2024-01-06 04:35:11 +01:00
|
|
|
%doc NEWS README TODO
|
2024-01-06 04:35:11 +01:00
|
|
|
|
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/xpstojpeg
|
|
|
|
%{_bindir}/xpstopdf
|
|
|
|
%{_bindir}/xpstopng
|
|
|
|
%{_bindir}/xpstops
|
|
|
|
%{_bindir}/xpstosvg
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
#%files apidocs
|
|
|
|
#%defattr(-,root,root)
|
|
|
|
#%dir %{_datadir}/gtk-doc/html/libgxps
|
|
|
|
#%{_datadir}/gtk-doc/html/libgxps/*
|
2024-01-06 04:35:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:35:11 +01:00
|
|
|
* Fri Feb 26 2021 Automatic Build System <autodist@mambasoft.it> 0.3.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Sat Jan 05 2019 Automatic Build System <autodist@mambasoft.it> 0.3.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
|
|
|
|
- update to 0.3.0
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Fri Jul 07 2017 Automatic Build System <autodist@mambasoft.it> 0.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 0.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Mon Sep 07 2015 Automatic Build System <autodist@mambasoft.it> 0.2.3.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 04:35:11 +01:00
|
|
|
* Mon Aug 05 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.2-1mamba
|
|
|
|
- package created by silvan using the webbuild interface
|