]>
Commit | Line | Data |
---|---|---|
cc1c1bf4 | 1 | Summary: Lincity - a Next Generation city/country simulation |
979239af | 2 | Summary(pl.UTF-8): Lincity - symulator miasta/kraju Następnej Generacji |
62d43ef8 | 3 | Name: lincity-ng |
14ce46d2 | 4 | Version: 2.0 |
5 | Release: 1 | |
f650e838 | 6 | License: GPL v2+ |
62d43ef8 | 7 | Group: Applications/Games |
14ce46d2 | 8 | Source0: http://download.berlios.de/lincity-ng/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 1bd0f58e0f2b131d70044f4230600ed1 | |
8e30744f | 10 | Patch0: %{name}-desktop.patch |
c2759a91 | 11 | URL: http://lincity-ng.berlios.de/wiki/index.php/Main_Page |
14ce46d2 | 12 | BuildRequires: OpenGL-GLU-devel |
426548a1 | 13 | BuildRequires: OpenGL-devel |
cc1c1bf4 | 14 | BuildRequires: SDL-devel >= 1.2.5 |
63b557e5 | 15 | BuildRequires: SDL_gfx-devel >= 2.0.13 |
1475b89b JB |
16 | BuildRequires: SDL_image-devel >= 1.2.3 |
17 | BuildRequires: SDL_mixer-devel >= 1.2.4 | |
63b557e5 | 18 | BuildRequires: SDL_ttf-devel >= 2.0.8 |
62d43ef8 RK |
19 | BuildRequires: gettext-devel |
20 | BuildRequires: jam >= 2.5 | |
426548a1 | 21 | BuildRequires: libstdc++-devel |
62d43ef8 | 22 | BuildRequires: libtool |
cc1c1bf4 | 23 | BuildRequires: libxml2-devel >= 2.6.11 |
da766ebb MB |
24 | BuildRequires: physfs-devel >= 1.0.0 |
25 | BuildRequires: pkgconfig | |
63b557e5 | 26 | BuildRequires: sed >= 4.0 |
cc1c1bf4 | 27 | BuildRequires: zlib-devel >= 1.0 |
da766ebb MB |
28 | # needs jam from jam.spec |
29 | BuildConflicts: boost-jam | |
94e8861c | 30 | Requires: SDL >= 1.2.5 |
63b557e5 | 31 | Requires: SDL_gfx >= 2.0.13 |
94e8861c | 32 | Requires: SDL_image >= 1.2.3 |
1475b89b | 33 | Requires: SDL_mixer >= 1.2.4 |
63b557e5 | 34 | Requires: SDL_ttf >= 2.0.8 |
62d43ef8 RK |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
2b926ac3 | 37 | %define filterout -DNDEBUG |
38 | ||
62d43ef8 | 39 | %description |
94e8861c RK |
40 | You are required to build and maintain a city. You must feed, house, |
41 | provide jobs and goods for your residents. You can build a sustainable | |
42 | economy with the help of renewable energy and recycling, or you can go | |
43 | for broke and build rockets to escape from a pollution ridden and | |
44 | resource starved planet, it's up to you. Due to the finite resources | |
45 | available in any one place, this is not a game that you can leave for | |
46 | long periods of time. | |
62d43ef8 | 47 | |
ed188b74 | 48 | %description -l pl.UTF-8 |
14ce46d2 | 49 | Trzeba wybudować miasto i nim zarządzać. Trzeba karmić |
50 | mieszkańców, zapewnić im mieszkanie, pracę i inne dobra. Można | |
51 | stworzyć solidną gospodarkę korzystając z odnawialnych źródeł | |
52 | energii i przetwórstwa odpadów. Można też wielkim wysiłkiem | |
53 | zbudować rakiety, aby uciec z zanieczyszczonej, pozbawionej zasobów | |
54 | planety. Całe życie miasta znajduje się w rękach gracza. | |
62d43ef8 RK |
55 | |
56 | %prep | |
c2759a91 | 57 | %setup -q |
f650e838 | 58 | %patch0 -p1 |
63b557e5 | 59 | %{__sed} 's/ -O3 -g / /' -i Jamrules |
62d43ef8 RK |
60 | |
61 | %build | |
62 | %configure | |
14ce46d2 | 63 | jam |
62d43ef8 RK |
64 | |
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
14ce46d2 | 68 | jam -s DESTDIR=$RPM_BUILD_ROOT install |
62d43ef8 RK |
69 | |
70 | %clean | |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
14ce46d2 | 75 | %doc COPYING-* CREDITS README TODO RELNOTES |
62d43ef8 RK |
76 | %attr(755,root,root) %{_bindir}/* |
77 | %dir %{_datadir}/%{name} | |
62d43ef8 RK |
78 | %{_datadir}/%{name}/*.pal |
79 | %{_datadir}/%{name}/*.xml | |
cc1c1bf4 JB |
80 | %{_datadir}/%{name}/fonts |
81 | %{_datadir}/%{name}/images | |
82 | %{_datadir}/%{name}/gui | |
83 | %{_datadir}/%{name}/sounds | |
84 | %{_datadir}/%{name}/music | |
85 | %{_datadir}/%{name}/opening | |
1475b89b | 86 | %dir %{_datadir}/%{name}/help |
14ce46d2 | 87 | %lang(cs) %{_datadir}/%{name}/help/ca |
88 | %lang(ca) %{_datadir}/%{name}/help/cs | |
1475b89b JB |
89 | %lang(de) %{_datadir}/%{name}/help/de |
90 | %lang(en) %{_datadir}/%{name}/help/en | |
83f5a0c3 JK |
91 | %lang(es) %{_datadir}/%{name}/help/es |
92 | %lang(fr) %{_datadir}/%{name}/help/fr | |
14ce46d2 | 93 | %lang(gl) %{_datadir}/%{name}/help/gl |
1475b89b | 94 | %lang(nl) %{_datadir}/%{name}/help/nl |
5dc4c78d | 95 | %lang(pt_BR) %{_datadir}/%{name}/help/pt_BR |
96 | %lang(ru) %{_datadir}/%{name}/help/ru | |
83f5a0c3 | 97 | %lang(sv) %{_datadir}/%{name}/help/sv |
14ce46d2 | 98 | %lang(tr) %{_datadir}/%{name}/help/tr |
b8d2a4d5 JB |
99 | %dir %{_datadir}/%{name}/locale |
100 | %dir %{_datadir}/%{name}/locale/gui | |
83f5a0c3 JK |
101 | %lang(ca) %{_datadir}/%{name}/locale/ca.po |
102 | %lang(ca) %{_datadir}/%{name}/locale/gui/ca.po | |
2b926ac3 | 103 | %lang(cs) %{_datadir}/%{name}/locale/cs.po |
104 | %lang(cs) %{_datadir}/%{name}/locale/gui/cs.po | |
14ce46d2 | 105 | %lang(da) %{_datadir}/%{name}/locale/da.po |
83f5a0c3 JK |
106 | %lang(de) %{_datadir}/%{name}/locale/de.po |
107 | %lang(de) %{_datadir}/%{name}/locale/gui/de.po | |
108 | %lang(es) %{_datadir}/%{name}/locale/es.po | |
109 | %lang(es) %{_datadir}/%{name}/locale/gui/es.po | |
110 | %lang(fr) %{_datadir}/%{name}/locale/fr.po | |
111 | %lang(fr) %{_datadir}/%{name}/locale/gui/fr.po | |
14ce46d2 | 112 | %lang(gl) %{_datadir}/%{name}/locale/gl.po |
113 | %lang(gl) %{_datadir}/%{name}/locale/gui/gl.po | |
114 | %lang(ja) %{_datadir}/%{name}/locale/ja.po | |
115 | %lang(ja) %{_datadir}/%{name}/locale/gui/ja.po | |
83f5a0c3 JK |
116 | %lang(nl) %{_datadir}/%{name}/locale/nl.po |
117 | %lang(nl) %{_datadir}/%{name}/locale/gui/nl.po | |
2b926ac3 | 118 | %lang(pl) %{_datadir}/%{name}/locale/pl.po |
119 | %lang(pl) %{_datadir}/%{name}/locale/gui/pl.po | |
5dc4c78d | 120 | %lang(pt_BR) %{_datadir}/%{name}/locale/pt_BR.po |
121 | %lang(pt_BR) %{_datadir}/%{name}/locale/gui/pt_BR.po | |
122 | %lang(ru) %{_datadir}/%{name}/locale/ru.po | |
123 | %lang(ru) %{_datadir}/%{name}/locale/gui/ru.po | |
83f5a0c3 JK |
124 | %lang(sv) %{_datadir}/%{name}/locale/sv.po |
125 | %lang(sv) %{_datadir}/%{name}/locale/gui/sv.po | |
14ce46d2 | 126 | %lang(tr) %{_datadir}/%{name}/locale/tr.po |
127 | %lang(tr) %{_datadir}/%{name}/locale/gui/tr.po | |
62d43ef8 RK |
128 | %{_desktopdir}/*.desktop |
129 | %{_pixmapsdir}/* |