update to 1.5.1 [release 1.5.1-1mamba;Sat Mar 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:07:49 +01:00
parent 42e7746f63
commit 089841d8cd

View File

@ -1,7 +1,7 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: libmypaint Name: libmypaint
Version: 1.3.0 Version: 1.5.1
Release: 3mamba Release: 1mamba
Summary: MyPaint brush engine library Summary: MyPaint brush engine library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -15,20 +15,12 @@ Patch2: libmypaint-1.3.0-libgegl-0.4.14.patch
License: ISC License License: ISC License
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbabl-devel BuildRequires: libbabl-devel
BuildRequires: libblkid-devel
BuildRequires: libffi-devel
BuildRequires: libgegl-devel BuildRequires: libgegl-devel
BuildRequires: libglib-devel BuildRequires: libglib-devel
BuildRequires: libjson-c-devel BuildRequires: libjson-c-devel
BuildRequires: libjson-glib-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 ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -48,12 +40,9 @@ This package contains libraries and header files for developing applications tha
%prep %prep
%setup -q %setup -q
%patch0 -p2 ./autogen.sh
%patch1 -p1
%patch2 -p1
%build %build
./autogen.sh
%configure --enable-gegl %configure --enable-gegl
%make %make
@ -62,9 +51,6 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %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 %find_lang %{name} --all-name || touch %{name}.lang
%clean %clean
@ -75,22 +61,35 @@ ln -s libmypaint-gegl-%{majver}.pc %{buildroot}%{_libdir}/pkgconfig/libmypaint-g
%files -f %{name}.lang %files -f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libmypaint-*.so.* %{_libdir}/libmypaint-%{majver}.so.*
%{_libdir}/libmypaint-gegl.so.*
%{_libdir}/girepository-1.0/MyPaint-*.typelib %{_libdir}/girepository-1.0/MyPaint-*.typelib
%{_libdir}/girepository-1.0/MyPaintGegl-*.typelib %{_libdir}/girepository-1.0/MyPaintGegl-*.typelib
%doc COPYING %doc COPYING
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/libmypaint-*/mypaint-*.h %dir %{_includedir}/libmypaint
%{_libdir}/libmypaint-*.la %{_includedir}/libmypaint/*.h
%{_libdir}/libmypaint-*.so %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 %{_libdir}/pkgconfig/libmypaint*.pc
%{_datadir}/gir-1.0/MyPaint-*.gir %{_datadir}/gir-1.0/MyPaint-*.gir
%{_datadir}/gir-1.0/MyPaintGegl-*.gir %{_datadir}/gir-1.0/MyPaintGegl-*.gir
%doc README.md TODO %doc README.md TODO
%changelog %changelog
* Sat Mar 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-1mamba
- update to 1.5.1
* Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba * Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
- add unversioned symlinks for pkgconfig files - add unversioned symlinks for pkgconfig files