diff --git a/README.md b/README.md index f3326e5..77079f6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # opensfx +OpenSFX is a set of base sounds effects for OpenTTD. + diff --git a/opensfx.spec b/opensfx.spec new file mode 100644 index 0000000..f839baa --- /dev/null +++ b/opensfx.spec @@ -0,0 +1,38 @@ +Name: opensfx +Version: 0.2.3 +Release: 1mamba +Summary: A set of base sound effects for OpenTTD +Group: Applications/Games +Vendor: openmamba +Distribution: openmamba +Packager: Ercole 'ercolinux' Carpanetto +URL: http://bundles.openttdcoop.org/opensfx/ +Source: http://bundles.openttdcoop.org/opensfx/releases/opensfx-%{version}.zip +License: GPL +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +OpenSFX is a set of base sounds effects for OpenTTD. + +%prep + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}%{_datadir}/games/openttd/data/ +cd %{buildroot}%{_datadir}/games/openttd/data/ +unzip %SOURCE0 + +%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 + +%changelog +* Mon Apr 23 2012 Ercole 'ercolinux' Carpanetto 0.2.3-1mamba +- package created by autospec