openttd-openmsx/openttd-openmsx.spec

45 lines
1.3 KiB
RPMSpec
Raw Normal View History

### AUTOUPDATE-OFF: 1
Name: openttd-openmsx
Version: 0.3.1
Release: 2mamba
Summary: A set of base musics for OpenTTD
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://bundles.openttdcoop.org/openmsx/
Source: http://bundles.openttdcoop.org/openmsx/releases/%{version}/openmsx-%{version}.zip
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
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/openmsx-%{version}/*.mid
%{_datadir}/games/openttd/data/openmsx-%{version}/*.obm
%{_datadir}/games/openttd/data/openmsx-%{version}/*.txt
%changelog
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-2mamba
- renamed to openttd-openmsx to avoid conflicting with openmsx emulator
* Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.3.1-1mamba
- package created by autospec