1 Summary: Free replacement of the base sounds for OpenTTD
2 Summary(pl.UTF-8): Darmowy zastępnik podstawowych dźwięków dla OpenTTD
7 Group: Applications/Games
8 Source0: https://cdn.openttd.org/opensfx-releases/%{version}/opensfx-%{version}-source.tar.xz
9 # Source0-md5: 6705891e44157e95ca8f56b4a6fd57d0
10 URL: http://wiki.openttd.org/OpenSFX
11 BuildRequires: catcodec
12 BuildRequires: sed >= 4.0
13 Requires: openttd-data
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 OpenSFX is a free replacement of the base sounds for OpenTTD, so that
19 OpenTTD can be played without requiring the (copyrighted) files from
22 %description -l pl.UTF-8
23 OpenSFX to darmowy zastępnik podstawowych dźwięków dla OpenTTD, który
24 umożliwa granie w OpenTTD bez potrzeby wgrywania oryginalnych plików z
25 TTD, chronionych prawami autorskimi.
28 %setup -q -n opensfx-%{version}-source
29 %{__sed} -i 's,$(INSTALL_DIR),$(DESTDIR)$(INSTALL_DIR),' scripts/Makefile.bundles
35 rm -rf $RPM_BUILD_ROOT
38 INSTALL_DIR="$RPM_BUILD_ROOT%{_datadir}/openttd/baseset" \
39 DESTDIR=$RPM_BUILD_ROOT
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc docs/{changelog.txt,readme.txt}
47 %{_datadir}/openttd/baseset/opensfx-%{version}.tar