%global pkgname resynthesizer %global shortcommit 787ee5a %global gimpplugindir %(gimptool --gimpplugindir)/plug-ins %global gimpscriptdir %(gimptool --gimpdatadir)/scripts Summary: Gimp plug-in for texture synthesis Name: gimp-resynthesizer Version: 2.0 Release: 8.20160601git%{shortcommit}%{?dist} Group: Applications/Multimedia License: GPLv2+ Requires: gimp BuildRequires: gimp, gimp-devel BuildRequires: intltool BuildRequires: automake BuildRequires: libappstream-glib URL: https://github.com/bootchk/%{pkgname} # Source tarball generated as follows # git clone git@github.com:bootchk/resynthesizer.git # cd resynthesizer # git archive --format tar.xz --prefix resynthesizer_$(git rev-parse --short HEAD)/ \ # ... HEAD -o resynthesizer_$(git rev-parse --short HEAD).tar.xz Source: %{pkgname}_%{shortcommit}.tar.xz ## Patch: gimp-resynthesizer-makefile.patch %description Resynthesizer is a Gimp plug-in for texture synthesis. Given a sample of a texture, it can create more of that texture. This has uses including: - Creating more of a texture (including creation of tileable textures) - Removing objects from images (great for touching up photos) - Creating themed images (by transfering a texture from one image to another) %prep %setup -q -n resynthesizer_%{shortcommit} ./autogen.sh %build %configure make %{?_smp_mflags} V=1 %install %make_install mkdir %{buildroot}/%{_datadir}/appdata cp -v gimp-%{pkgname}.metainfo.xml %{buildroot}/%{_datadir}/appdata/ %check appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.metainfo.xml %find_lang %{pkgname} %files -f %{pkgname}.lang %license COPYING %doc README %{_datadir}/%{pkgname}/* %{_datadir}/appdata/*.metainfo.xml %{gimpplugindir}/plugin-heal* %{gimpplugindir}/plugin-map* %{gimpplugindir}/plugin-render* %{gimpplugindir}/plugin-resynth* %{gimpplugindir}/plugin-uncrop* %{gimpplugindir}/resynthesizer* %changelog * Wed Aug 02 2017 Fedora Release Engineering - 2.0-8.20160601git787ee5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0-7.20160601git787ee5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0-6.20160601git787ee5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jun 02 2016 Mukundan Ragavan - 2.0-5.20160601git%{shortcommit} - fix appdata filename everywhere * Thu Jun 02 2016 Mukundan Ragavan - 2.0-4.20160601git%{shortcommit} - Fix appdata filename * Wed Jun 01 2016 Mukundan Ragavan - 2.0-3.20160601git%{shortcommit} - Add appdata file * Tue May 24 2016 Mukundan Ragavan - 2.0-2.20160524git%{shortcommit} - Update the package using git snapshot * Thu May 19 2016 Mukundan Ragavan - 2.0-1 - Update to latest upstream version - change define flags to global - minor spec file cleanup * Wed Feb 03 2016 Fedora Release Engineering - 0.16-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 0.16-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.16-12 - Rebuilt for GCC 5 C++11 ABI change * Sat Aug 16 2014 Fedora Release Engineering - 0.16-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.16-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.16-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.16-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.16-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue Apr 03 2012 Nils Philippsen - 0.16-6 - rebuild against gimp 2.8.0 release candidate * Fri Jan 13 2012 Fedora Release Engineering - 0.16-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Fri Dec 16 2011 Nils Philippsen - 0.16-4 - rebuild for GIMP 2.7 * Tue Dec 06 2011 Adam Jackson - 0.16-3 - Rebuild for new libpng * Tue Feb 08 2011 Fedora Release Engineering - 0.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Sun Aug 02 2009 Ewan Mac Mahon - 0.16-1 - Bump to version 0.16 - Patch makefile to allow Fedora CFLAGS to override defaults. * Fri Jul 24 2009 Fedora Release Engineering - 0.15-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Feb 24 2009 Fedora Release Engineering - 0.15-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 18 2008 Fedora Release Engineering - 0.15-3 - Autorebuild for GCC 4.3 *Sun Aug 19 2007 Ewan Mac Mahon - 0.15-2 Fixed review problems: Spurious comment, License tag, variable style build root, ignoring opt flags. * Mon Jul 30 2007 Ewan Mac Mahon - 0.15-1 Initial Fedora package