update to 0.4.2 [release 0.4.2-1mamba;Sun Oct 31 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 08:17:33 +01:00
parent 6006025d41
commit 3b04bb5af6

View File

@ -1,42 +1,46 @@
### AUTOUPDATE-OFF: 1
Name: openttd-openmsx
Version: 0.3.1
Release: 2mamba
Version: 0.4.2
Release: 1mamba
Summary: A set of base musics for OpenTTD
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://bundles.openttdcoop.org/openmsx/
Source: http://bundles.openttdcoop.org/openmsx/releases/%{version}/openmsx-%{version}.zip
Source: https://cdn.openttd.org/openmsx-releases/%{version}/openmsx-%{version}-all.zip
License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
OpenSFX is a set of base sounds effects for OpenTTD.
%prep
%setup -c
tar xf openmsx-%{version}.tar
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_datadir}/games/openttd/data/
cd %{buildroot}%{_datadir}/games/openttd/data/
unzip %SOURCE0
cd openmsx-%{version}
cp *.mid openmsx.* %{buildroot}%{_datadir}/games/openttd/data/
%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
%{_datadir}/games/openttd/data/*.mid
%{_datadir}/games/openttd/data/*.obm
%doc openmsx-%{version}/license.txt
%changelog
* Sun Oct 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
- update to 0.4.2
* Wed Feb 20 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.1-2mamba
- renamed to openttd-openmsx to avoid conflicting with openmsx emulator