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 Name: opensfx
Version: 0.2.3 Version: 1.0.3
Release: 1mamba Release: 1mamba
Summary: A set of base sound effects for OpenTTD Summary: A set of base sound effects 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/opensfx/ 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 License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%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 -q -c
tar -xf opensfx-%{version}.tar
%build %build
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_datadir}/games/openttd/data/
cd %{buildroot}%{_datadir}/games/openttd/data/ cd opensfx-%{version}
unzip %SOURCE0 install -d -m0755 %{buildroot}%{_datadir}/games/openttd/data
cp opensfx.* %{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/opensfx-%{version}/*.obs %{_datadir}/games/openttd/data/*.obs
%{_datadir}/games/openttd/data/opensfx-%{version}/*.cat %{_datadir}/games/openttd/data/*.cat
%{_datadir}/games/openttd/data/opensfx-%{version}/*.txt %doc opensfx-%{version}/license.txt
%changelog %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 * Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 0.2.3-1mamba
- package created by autospec - package created by autospec