diff --git a/libgxps.spec b/libgxps.spec index a01a661..3cfc0d1 100644 --- a/libgxps.spec +++ b/libgxps.spec @@ -1,5 +1,6 @@ +%define majver %(echo %version | cut -d. -f1-2) Name: libgxps -Version: 0.2.5 +Version: 0.3.0 Release: 1mamba Summary: A GObject based library for handling and rendering XPS documents Group: System/Libraries @@ -7,7 +8,7 @@ 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 +Source: http://ftp.gnome.org/pub/gnome/sources/libgxps/%{majver}/libgxps-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -69,12 +70,14 @@ This package includes the %{name} API documentation. %setup -q %build -%configure --enable-gtk-doc -%make +%meson + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +export DESTDIR=%{buildroot} +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -92,12 +95,12 @@ This package includes the %{name} API documentation. %defattr(-,root,root) %dir %{_includedir}/libgxps/ %{_includedir}/libgxps/*.h -%{_libdir}/libgxps.a -%{_libdir}/libgxps.la +#%{_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 +%doc NEWS README TODO %files tools %defattr(-,root,root) @@ -107,12 +110,15 @@ This package includes the %{name} API documentation. %{_bindir}/xpstops %{_bindir}/xpstosvg -%files apidocs -%defattr(-,root,root) -%dir %{_datadir}/gtk-doc/html/libgxps -%{_datadir}/gtk-doc/html/libgxps/* +#%files apidocs +#%defattr(-,root,root) +#%dir %{_datadir}/gtk-doc/html/libgxps +#%{_datadir}/gtk-doc/html/libgxps/* %changelog +* Wed Mar 21 2018 Silvan Calarco 0.3.0-1mamba +- update to 0.3.0 + * Fri Jul 07 2017 Automatic Build System 0.2.5-1mamba - automatic version update by autodist