47 lines
1.5 KiB
RPMSpec
47 lines
1.5 KiB
RPMSpec
%define types 'animals clothes food hobbies household medical military naturalforces plants people seasonal space town sports symbols'
|
|
%define dirver %(echo %version | tr . -)
|
|
Name: tuxpaint-stamps
|
|
Version: 2018.09.01
|
|
Release: 1mamba
|
|
Summary: Some extra stamps for the tuxpaint program
|
|
Group: Graphical Desktop/Applications/Educational
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
|
|
URL: http://www.tuxpaint.org
|
|
Source: https://sourceforge.net/projects/tuxpaint/files/tuxpaint-stamps/%{dirver}/tuxpaint-stamps-%{version}.tar.gz/download
|
|
#Source: http://downloads.sourceforge.net/project/tuxpaint/tuxpaint-stamps/%{version}/tuxpaint-stamps-%{version}.tar.gz
|
|
License: GPL
|
|
Requires: tuxpaint
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
Extra stamps for tuxpaint program
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
for a in $(echo %types); do
|
|
echo $a
|
|
install -d %{buildroot}%{_datadir}/tuxpaint/stamps/$a
|
|
cp -R stamps/$a %{buildroot}%{_datadir}/tuxpaint/stamps/$a
|
|
done
|
|
./fix-permissions.sh %{buildroot}%{_datadir}/tuxpaint/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_datadir}/tuxpaint/stamps/*
|
|
|
|
%changelog
|
|
* Mon Feb 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2018.09.01-1mamba
|
|
- update to 2018.09.01
|
|
|
|
* Fri Jun 17 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2009.06.28-1mamba
|
|
- package created by autospec
|