Summary: Library for making brush strokes Name: libmypaint Version: 1.6.1 Release: 1%{?_dist_release} Vendor: Project Vine Distribution: Vine Linux # Compute some version related macros. # Ugly, need to get quoting percent signs straight. %global major %(ver=%{version}; echo ${ver%%%%.*}) %global minor %(ver=%{version}; ver=${ver#%major.}; echo ${ver%%%%.*}) %global micro %(ver=%{version}; ver=${ver#%major.%minor.}; echo ${ver%%%%.*}) License: ISC URL: https://github.com/mypaint/libmypaint Source0: https://github.com/mypaint/libmypaint/releases/download/v%{version}/libmypaint-%{version}.tar.xz BuildRequires: json-c-devel BuildRequires: glib2-devel BuildRequires: gobject-introspection-devel BuildRequires: babl-devel BuildRequires: gegl04-devel %description This is a self-contained library containing the MyPaint brush engine. %package devel Summary: Development files for libmypaint Requires: %{name} = %{version}-%{release} Requires: json-c-devel %description devel This package contains files needed for development with libmypaint. %prep %setup -q %build autoreconf %{configure} \ --disable-docs \ --enable-introspection=yes \ --enable-gegl %{__make} %{?_smp_mflags} %install %{make_install} find %{buildroot}%{_libdir} -name '*.la' -delete -print %find_lang %{name} %check #{__make} check %post -p %{_syssbindir}/ldconfig %postun -p %{_syssbindir}/ldconfig %files -f %{name}.lang %license COPYING %doc README.md %{_libdir}/*.so.* %dir %{_libdir}/girepository-1.0 %{_libdir}/girepository-1.0/MyPaint-%{major}.%{minor}.typelib %{_libdir}/girepository-1.0/MyPaintGegl-%{major}.%{minor}.typelib %files devel %{_libdir}/*.so %{_includedir}/%{name} %{_includedir}/%{name}-gegl %{_libdir}/pkgconfig/libmypaint.pc %{_libdir}/pkgconfig/libmypaint-gegl.pc %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/MyPaint-%{major}.%{minor}.gir %{_datadir}/gir-1.0/MyPaintGegl-%{major}.%{minor}.gir %changelog * Sat May 16 2020 Tomohiro "Tomo-p" KATO 1.6.1-1 - new upstream release. - built with json-c-0.14. * Tue Jan 01 2019 Tomohiro "Tomo-p" KATO 1.3.0-2 - rebuilt with json-c-0.13.1. * Tue Oct 02 2018 Toshiaki Ara 1.3.0-1 - initial build for Vine Linux * Fri Jul 13 2018 Fedora Release Engineering - 1.3.0-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 02 2018 Nils Philippsen - 1.3.0-8 - rebuild with gegl04 * Tue Mar 06 2018 Björn Esser - 1.3.0-7 - Rebuilt for libjson-c.so.4 (json-c v0.13.1) * Wed Feb 07 2018 Fedora Release Engineering - 1.3.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 13 2017 Björn Esser - 1.3.0-5 - Rebuilt for libjson-c.so.3 * Thu Aug 03 2017 Fedora Release Engineering - 1.3.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Jan 27 2017 Nils Philippsen - 1.3.0-1 - version 1.3.0 final - conflict with mypaint < 1.3.0 - mention pkgconfig, introspection files explicitly * Sun Jul 31 2016 Nils Philippsen - 1.3.0-0.2.beta.1 - fix locale names 'ar_AR' -> 'ar' - fix build dependencies - fix summary and description texts - use current build and install macros - remove all .la files beneath %%_libdir - ship development documentation * Sun Jul 31 2016 Nils Philippsen - 1.3.0-0.1.beta.1 - initial release of 1.3.0-beta.1