From 3b04bb5af6468d15f3d844a71db5ee25075d3dc1 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:17:33 +0100 Subject: [PATCH] update to 0.4.2 [release 0.4.2-1mamba;Sun Oct 31 2021] --- openttd-openmsx.spec | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/openttd-openmsx.spec b/openttd-openmsx.spec index 8e13e97..4621832 100644 --- a/openttd-openmsx.spec +++ b/openttd-openmsx.spec @@ -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 +Packager: Silvan Calarco 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 0.4.2-1mamba +- update to 0.4.2 + * Wed Feb 20 2013 Silvan Calarco 0.3.1-2mamba - renamed to openttd-openmsx to avoid conflicting with openmsx emulator