]>
Commit | Line | Data |
---|---|---|
3d59647f | 1 | Summary: Open Source graphics base set for OpenTTD |
2 | Summary(pl.UTF-8): Otwarty zestaw grafiki dla OpenTTD | |
5e017852 | 3 | Name: openttd-opengfx |
03e4dd32 | 4 | Version: 0.2.4 |
3d59647f | 5 | Release: 1 |
6 | License: GPL v2+ | |
7 | Group: Applications/Games | |
5e017852 | 8 | Source0: http://bundles.openttdcoop.org/opengfx/releases/opengfx-%{version}-source.tar.gz |
03e4dd32 | 9 | # Source0-md5: d9081b5077bb5501e5b8859395733b7b |
3d59647f | 10 | URL: http://wiki.openttd.org/Graphics_Replacement |
11 | BuildRequires: grfcodec >= r2245 | |
12 | BuildRequires: nforenum >= r2281 | |
3d59647f | 13 | BuildRequires: sed >= 4.0 |
14 | Requires: openttd-data | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | %description | |
19 | OpenGFX is an open source graphics base set for OpenTTD which can | |
20 | completely replace the TTD base set. The main goal of OpenGFX | |
21 | therefore is to provide a set of free base graphics which make it | |
22 | possible to play OpenTTD without requiring the (copyrighted) files | |
23 | from the TTD CD. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | OpenGFX to otwarty zestaw grafiki dla gry OpenTTD, który całkowicie | |
27 | zastępuje zestaw podstawowy TTD. Głównym celem OpenGFX jest | |
28 | dostarczenie darmowej grafiki, która umożliwii grę w OpenTTD bez | |
29 | konieczności posiadania oryginalnych plików z gry TTD, strzeżonych | |
30 | prawami autorskimi. | |
31 | ||
32 | %prep | |
5e017852 | 33 | %setup -q -n opengfx-%{version}-source |
3d59647f | 34 | %{__sed} -i 's,$(INSTALL_DIR),$(DESTDIR)$(INSTALL_DIR),' scripts/Makefile.bundles |
35 | ||
36 | %build | |
37 | %{__make} | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | ||
42 | %{__make} install \ | |
43 | INSTALL_DIR="%{_datadir}/openttd/data" \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc docs/{changelog.txt,readme.txt} | |
03e4dd32 | 52 | %{_datadir}/openttd/data/opengfx-%{version}.tar |