3622064
%global commit 9a348747642534bf40d63008ccd712b7bc35c636
Luya Tshimbalanga 2413361
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Luya Tshimbalanga 2413361
5f0f0d9
Name:		gimp-elsamuko
3622064
Version:	29
48d7f81
Release:	4%{?dist}
5f0f0d9
Summary:	Script collection for the GIMP
5f0f0d9
License:	GPLv3+
3622064
URL:		https://github.com/elsamuko/%{name}
3622064
Source0:	https://github.com/elsamuko/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz#/%{name}-%{shortcommit}.tar.gz
5f0f0d9
Requires:	gimp
5f0f0d9
BuildArch:	noarch
5ea9d1c
5ea9d1c
%description
5ea9d1c
Collection of scripts for the GIMP with various effects as; technicolor, 
5ea9d1c
round corners, Obama 'Hope', vintage look, sharpening, etc.
5ea9d1c
5ea9d1c
%prep
3622064
%autosetup -n %{name}-%{commit}
5ea9d1c
5ea9d1c
%build
5ea9d1c
## Nothing to build.
5ea9d1c
5ea9d1c
%install
3622064
install -d %{buildroot}%{_datadir}/gimp/2.10/scripts/
3622064
install -m 0644 -p scripts/*.scm -t %{buildroot}%{_datadir}/gimp/2.10/scripts/
4250dbb
%if 0%{?fedora} >= 21  
5f0f0d9
# Add AppStream metadata
9c14e8f
install -Dm 0644 -p %{name}.metainfo.xml \
3622064
	%{buildroot}%{_metainfodir}/%{name}.metainfo.xml
4250dbb
%endif
5ea9d1c
5ea9d1c
%files
5ea9d1c
## Remember to add COPYING to docs, when it gets included upstream.
Luya Tshimbalanga 2413361
%doc README.md LICENSE
3622064
%{_datadir}/gimp/2.10/scripts/*.scm
4250dbb
%if 0%{?fedora} >= 21  
5f0f0d9
#AppStream metadata
3622064
%{_metainfodir}/%{name}.metainfo.xml
4250dbb
%endif
5ea9d1c
5ea9d1c
%changelog
48d7f81
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 29-4
48d7f81
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
48d7f81
51528d0
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 29-3
51528d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
51528d0
857b983
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 29-2
857b983
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
857b983
3622064
* Thu Feb 14 2019 Luya Tshimbalanga <luy@fedoraproject.org> - 29-1
3622064
- Upstream snapshot
3622064
- Modernize spec 
3622064
- Set new upstream url
3622064
daad354
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 26-7
daad354
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
daad354
8f19722
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 26-6
8f19722
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8f19722
5b5e4f9
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 26-5
5b5e4f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
5b5e4f9
8dedd1a
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-4
8dedd1a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8dedd1a
8827aec
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 26-3
8827aec
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
8827aec
b1595d2
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 26-2
b1595d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b1595d2
9c14e8f
* Fri Jan 15 2016 Luya Tshimbalanga <luya@fedoraproject.org> - 26-1
9c14e8f
- Upstream update fixing metainfo.xml
9c14e8f
d56ecd6
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24-7
d56ecd6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d56ecd6
4250dbb
* Mon Feb 02 2015 Luya Tshimbalanga <luy@fedoraproject.org> - 24-6
4250dbb
- Lastest upstream update include metainfo.xml
4250dbb
- Dropped downstream metainfo.xml
4250dbb
- Made spec universal
Luya Tshimbalanga 2413361
5f0f0d9
* Sun Feb 01 2015 Luya Tshimbalanga <luy@fedoraproject.org> - 24-4
5f0f0d9
- Add metainfo files for software center
5f0f0d9
c254287
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24-3
c254287
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c254287
5ea9d1c
* Fri Jan 03 2014 Palle Ravn <ravnzon@gmail.com> - 24-2
5ea9d1c
- Minor corrections
5ea9d1c
5ea9d1c
* Thu Dec 19 2013 Palle Ravn <ravnzon@gmail.com> - 24-1
5ea9d1c
- Initial package