update to 0.3.0 [release 0.3.0-1mamba;Wed Mar 21 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 04:35:11 +01:00
parent da32fd631f
commit dd0cd38f4b

View File

@ -1,5 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: libgxps Name: libgxps
Version: 0.2.5 Version: 0.3.0
Release: 1mamba Release: 1mamba
Summary: A GObject based library for handling and rendering XPS documents Summary: A GObject based library for handling and rendering XPS documents
Group: System/Libraries Group: System/Libraries
@ -7,7 +8,7 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/libgxps 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 License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -69,12 +70,14 @@ This package includes the %{name} API documentation.
%setup -q %setup -q
%build %build
%configure --enable-gtk-doc %meson
%make
%meson_build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall export DESTDIR=%{buildroot}
%meson_install
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -92,12 +95,12 @@ This package includes the %{name} API documentation.
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_includedir}/libgxps/ %dir %{_includedir}/libgxps/
%{_includedir}/libgxps/*.h %{_includedir}/libgxps/*.h
%{_libdir}/libgxps.a #%{_libdir}/libgxps.a
%{_libdir}/libgxps.la #%{_libdir}/libgxps.la
%{_libdir}/libgxps.so %{_libdir}/libgxps.so
%{_libdir}/pkgconfig/libgxps.pc %{_libdir}/pkgconfig/libgxps.pc
%{_datadir}/gir-1.0/GXPS-0.1.gir %{_datadir}/gir-1.0/GXPS-0.1.gir
%doc ChangeLog NEWS README TODO %doc NEWS README TODO
%files tools %files tools
%defattr(-,root,root) %defattr(-,root,root)
@ -107,12 +110,15 @@ This package includes the %{name} API documentation.
%{_bindir}/xpstops %{_bindir}/xpstops
%{_bindir}/xpstosvg %{_bindir}/xpstosvg
%files apidocs #%files apidocs
%defattr(-,root,root) #%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/libgxps #%dir %{_datadir}/gtk-doc/html/libgxps
%{_datadir}/gtk-doc/html/libgxps/* #%{_datadir}/gtk-doc/html/libgxps/*
%changelog %changelog
* Wed Mar 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.0-1mamba
- update to 0.3.0
* Fri Jul 07 2017 Automatic Build System <autodist@mambasoft.it> 0.2.5-1mamba * Fri Jul 07 2017 Automatic Build System <autodist@mambasoft.it> 0.2.5-1mamba
- automatic version update by autodist - automatic version update by autodist