From 089841d8cd3bba578e1d3d73a43a445ff38ace86 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:07:49 +0100 Subject: [PATCH] update to 1.5.1 [release 1.5.1-1mamba;Sat Mar 21 2020] --- libmypaint.spec | 43 +++++++++++++++++++++---------------------- 1 file changed, 21 insertions(+), 22 deletions(-) diff --git a/libmypaint.spec b/libmypaint.spec index acc681d..1228e50 100644 --- a/libmypaint.spec +++ b/libmypaint.spec @@ -1,7 +1,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: libmypaint -Version: 1.3.0 -Release: 3mamba +Version: 1.5.1 +Release: 1mamba Summary: MyPaint brush engine library Group: System/Libraries Vendor: openmamba @@ -15,20 +15,12 @@ Patch2: libmypaint-1.3.0-libgegl-0.4.14.patch License: ISC License ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libbabl-devel -BuildRequires: libblkid-devel -BuildRequires: libffi-devel BuildRequires: libgegl-devel BuildRequires: libglib-devel BuildRequires: libjson-c-devel BuildRequires: libjson-glib-devel -BuildRequires: libmount-devel -BuildRequires: libpcre-devel -BuildRequires: libselinux-devel -BuildRequires: libsepol-devel -BuildRequires: libtermcap-devel -BuildRequires: libuuid-devel -BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root @@ -48,12 +40,9 @@ This package contains libraries and header files for developing applications tha %prep %setup -q -%patch0 -p2 -%patch1 -p1 -%patch2 -p1 +./autogen.sh %build -./autogen.sh %configure --enable-gegl %make @@ -62,9 +51,6 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -ln -s libmypaint-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint.pc -ln -s libmypaint-gegl-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint-gegl.pc - %find_lang %{name} --all-name || touch %{name}.lang %clean @@ -75,22 +61,35 @@ ln -s libmypaint-gegl-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint-g %files -f %{name}.lang %defattr(-,root,root) -%{_libdir}/libmypaint-*.so.* +%{_libdir}/libmypaint-%{majver}.so.* +%{_libdir}/libmypaint-gegl.so.* %{_libdir}/girepository-1.0/MyPaint-*.typelib %{_libdir}/girepository-1.0/MyPaintGegl-*.typelib %doc COPYING %files devel %defattr(-,root,root) -%{_includedir}/libmypaint-*/mypaint-*.h -%{_libdir}/libmypaint-*.la -%{_libdir}/libmypaint-*.so +%dir %{_includedir}/libmypaint +%{_includedir}/libmypaint/*.h +%dir %{_includedir}/libmypaint/fastapprox +%{_includedir}/libmypaint/fastapprox/*.h +%dir %{_includedir}/libmypaint/glib +%{_includedir}/libmypaint/glib/*.h +%dir %{_includedir}/libmypaint-gegl +%{_includedir}/libmypaint-gegl/*.h +%{_libdir}/libmypaint.la +%{_libdir}/libmypaint.so +%{_libdir}/libmypaint-gegl.la +%{_libdir}/libmypaint-gegl.so %{_libdir}/pkgconfig/libmypaint*.pc %{_datadir}/gir-1.0/MyPaint-*.gir %{_datadir}/gir-1.0/MyPaintGegl-*.gir %doc README.md TODO %changelog +* Sat Mar 21 2020 Silvan Calarco 1.5.1-1mamba +- update to 1.5.1 + * Sun Mar 24 2019 Silvan Calarco 1.3.0-3mamba - add unversioned symlinks for pkgconfig files