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