opensfx/opensfx.spec

49 lines
1.4 KiB
RPMSpec

Name: opensfx
Version: 1.0.3
Release: 1mamba
Summary: A set of base sound effects for OpenTTD
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://bundles.openttdcoop.org/opensfx/
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
## 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}"
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/*.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