2024-01-06 05:07:49 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-06 05:07:49 +01:00
|
|
|
Name: libmypaint
|
2024-01-06 05:07:50 +01:00
|
|
|
Version: 1.6.1
|
2024-01-06 05:07:49 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 05:07:49 +01:00
|
|
|
Summary: MyPaint brush engine library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
|
|
URL: http://mypaint.org/
|
2024-01-06 05:07:50 +01:00
|
|
|
Source: https://github.com/mypaint/libmypaint.git/v%{version}/libmypaint-%{version}.tar.bz2
|
2024-01-06 05:07:49 +01:00
|
|
|
Patch0: libmypaint-1.3.0-versioning.patch
|
|
|
|
Patch1: libmypaint-1.3.0-libgegl-0.4.8.patch
|
2024-01-06 05:07:49 +01:00
|
|
|
Patch2: libmypaint-1.3.0-libgegl-0.4.14.patch
|
2024-01-06 05:07:49 +01:00
|
|
|
License: ISC License
|
2024-01-06 05:07:49 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 05:07:49 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 05:07:49 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 05:07:49 +01:00
|
|
|
BuildRequires: libbabl-devel
|
|
|
|
BuildRequires: libgegl-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjson-c-devel
|
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-06 05:07:49 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is the brush library used by MyPaint. A number of other painting programs use it too.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:07:49 +01:00
|
|
|
Requires: pkg-config
|
2024-01-06 05:07:49 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 05:07:49 +01:00
|
|
|
./autogen.sh
|
2024-01-06 05:07:49 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 05:07:49 +01:00
|
|
|
%configure --enable-gegl
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
%find_lang %{name} --all-name || touch %{name}.lang
|
2024-01-06 05:07:49 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:07:50 +01:00
|
|
|
%{_libdir}/libmypaint.so.*
|
2024-01-06 05:07:49 +01:00
|
|
|
%{_libdir}/libmypaint-gegl.so.*
|
2024-01-06 05:07:49 +01:00
|
|
|
%{_libdir}/girepository-1.0/MyPaint-*.typelib
|
|
|
|
%{_libdir}/girepository-1.0/MyPaintGegl-*.typelib
|
2024-01-06 05:07:49 +01:00
|
|
|
%doc COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 05:07:49 +01:00
|
|
|
%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
|
2024-01-06 05:07:49 +01:00
|
|
|
%{_libdir}/pkgconfig/libmypaint*.pc
|
2024-01-06 05:07:49 +01:00
|
|
|
%{_datadir}/gir-1.0/MyPaint-*.gir
|
|
|
|
%{_datadir}/gir-1.0/MyPaintGegl-*.gir
|
2024-01-06 05:07:49 +01:00
|
|
|
%doc README.md TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:07:50 +01:00
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- update to 1.6.1
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
* Sat Mar 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.1-1mamba
|
|
|
|
- update to 1.5.1
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
* Sun Mar 24 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-3mamba
|
|
|
|
- add unversioned symlinks for pkgconfig files
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
* Tue Oct 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.0-2mamba
|
|
|
|
- rebuilt with --enable-gegl, added patches from arch
|
|
|
|
|
2024-01-06 05:07:49 +01:00
|
|
|
* Sat Apr 15 2017 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 1.3.0-1mamba
|
|
|
|
- package created using the webbuild interface
|