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