]> git.pld-linux.org Git - packages/openttd-opensfx.git/blob - openttd-opensfx.spec
57a2f1ae3cfa09b9ef572e14264814a03bb4f08f
[packages/openttd-opensfx.git] / openttd-opensfx.spec
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
3 Name:           openttd-opensfx
4 Version:        1.0.2
5 Release:        1
6 License:        GPL v2+
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
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
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
20 the TTD CD.
21
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.
26
27 %prep
28 %setup -q -n opensfx-%{version}-source
29 %{__sed} -i 's,$(INSTALL_DIR),$(DESTDIR)$(INSTALL_DIR),' scripts/Makefile.bundles
30
31 %build
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         INSTALL_DIR="$RPM_BUILD_ROOT%{_datadir}/openttd/baseset" \
39         DESTDIR=$RPM_BUILD_ROOT
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc docs/{changelog.txt,readme.txt}
47 %{_datadir}/openttd/baseset/opensfx-%{version}.tar
This page took 0.053848 seconds and 2 git commands to generate.