From 95a6d7814a3af0ca37618f96655f651f3b2fad4b Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Sat, 6 Jan 2024 05:07:49 +0100 Subject: [PATCH] package created using the webbuild interface [release 1.3.0-1mamba;Sat Apr 15 2017] --- README.md | 3 ++ libmypaint.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 libmypaint.spec diff --git a/README.md b/README.md index 17a5a62..fb3faf0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libmypaint +This is the brush library used by MyPaint. A number of other painting programs use it too. + + diff --git a/libmypaint.spec b/libmypaint.spec new file mode 100644 index 0000000..7c1d7f9 --- /dev/null +++ b/libmypaint.spec @@ -0,0 +1,74 @@ +Name: libmypaint +Version: 1.3.0 +Release: 1mamba +Summary: MyPaint brush engine library +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://mypaint.org/ +Source: https://github.com/mypaint/libmypaint/archive/v%{version}.zip +License: ISC +## AUTOBUILDREQ-BEGIN +## note: run 'autospec -u -a6 libmypaint' to get the list of build requirements. +## 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} +## note: you can add this requirement if .pc files are provided by this package +#Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +./autogen.sh +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || touch %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{name}.lang +%defattr(-,root,root) +%{_libdir}/libmypaint-1.3.so.0 +%{_libdir}/libmypaint-1.3.so.0.0.0 +%{_libdir}/girepository-1.0/MyPaint-1.3.typelib +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/libmypaint/mypaint-*.h +%{_libdir}/libmypaint.la +%{_libdir}/libmypaint.so +%{_libdir}/pkgconfig/libmypaint.pc +%{_datadir}/gir-1.0/MyPaint-1.3.gir +%doc README.md TODO + + + +%changelog +* Sat Apr 15 2017 Ercole 'ercolinux' Carpanetto 1.3.0-1mamba +- package created using the webbuild interface