update to 1.0.3 [release 1.0.3-1mamba;Thu Aug 31 2023]

This commit is contained in:
Silvan Calarco 2024-01-06 08:15:41 +01:00
parent da739d2c13
commit c071666558

View File

@ -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 <ercole69@gmail.com>
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 1.0.3-1mamba
- update to 1.0.3
* Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.3-1mamba
- package created by autospec