42 lines
1.3 KiB
RPMSpec
42 lines
1.3 KiB
RPMSpec
|
%define types 'animals clothes food hobbies household medical military naturalforces plants people seasonal space town sports symbols'
|
||
|
Name: tuxpaint-stamps
|
||
|
Version: 2009.06.28
|
||
|
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: http://garr.dl.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
|
||
|
* Fri Jun 17 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2009.06.28-1mamba
|
||
|
- package created by autospec
|