opensfx/opensfx.spec

39 lines
1.1 KiB
RPMSpec
Raw Normal View History

Name: opensfx
Version: 0.2.3
Release: 1mamba
Summary: A set of base sound effects for OpenTTD
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://bundles.openttdcoop.org/opensfx/
Source: http://bundles.openttdcoop.org/opensfx/releases/opensfx-%{version}.zip
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OpenSFX is a set of base sounds effects for OpenTTD.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_datadir}/games/openttd/data/
cd %{buildroot}%{_datadir}/games/openttd/data/
unzip %SOURCE0
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_datadir}/games/openttd/data/opensfx-%{version}/*.obs
%{_datadir}/games/openttd/data/opensfx-%{version}/*.cat
%{_datadir}/games/openttd/data/opensfx-%{version}/*.txt
%changelog
* Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.3-1mamba
- package created by autospec