From c07166655821e28adceaf6ad186bfa32635cbdb8 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:15:41 +0100 Subject: [PATCH] update to 1.0.3 [release 1.0.3-1mamba;Thu Aug 31 2023] --- opensfx.spec | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/opensfx.spec b/opensfx.spec index f839baa..99cbd12 100644 --- a/opensfx.spec +++ b/opensfx.spec @@ -1,38 +1,48 @@ Name: opensfx -Version: 0.2.3 +Version: 1.0.3 Release: 1mamba Summary: A set of base sound effects for OpenTTD Group: Applications/Games Vendor: openmamba Distribution: openmamba -Packager: Ercole 'ercolinux' Carpanetto +Packager: Silvan Calarco URL: http://bundles.openttdcoop.org/opensfx/ -Source: http://bundles.openttdcoop.org/opensfx/releases/opensfx-%{version}.zip +Source: https://cdn.openttd.org/opensfx-releases/%{version}/opensfx-%{version}-all.zip +#Source: https://github.com/OpenTTD/OpenSFX.git/%{version}/OpenSFX-%{version}.tar.bz2 +#Source: http://bundles.openttdcoop.org/opensfx/releases/opensfx-%{version}.zip License: GPL -BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END %description OpenSFX is a set of base sounds effects for OpenTTD. %prep +%setup -q -c +tar -xf opensfx-%{version}.tar %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -install -d %{buildroot}%{_datadir}/games/openttd/data/ -cd %{buildroot}%{_datadir}/games/openttd/data/ -unzip %SOURCE0 + +cd opensfx-%{version} +install -d -m0755 %{buildroot}%{_datadir}/games/openttd/data + +cp opensfx.* %{buildroot}%{_datadir}/games/openttd/data/ %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 +%{_datadir}/games/openttd/data/*.obs +%{_datadir}/games/openttd/data/*.cat +%doc opensfx-%{version}/license.txt %changelog +* Thu Aug 31 2023 Silvan Calarco 1.0.3-1mamba +- update to 1.0.3 + * Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto 0.2.3-1mamba - package created by autospec