]>
Commit | Line | Data |
---|---|---|
845457f3 | 1 | Summary: LIB |
572f627a | 2 | Summary(pl): LIB |
845457f3 | 3 | Name: LIB |
4 | Version: 0.1.62 | |
5 | Release: 1 | |
6 | Group: Applications/Games | |
7 | License: GPL | |
8 | Source0: http://download.sourceforge.net/lib/%{name}.%{version}.tar.bz2 | |
9 | URL: http://LIB.sourceforge.net/ | |
10 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
11 | ||
12 | %description | |
13 | LIB is yet another (polish) roguelike game. | |
14 | ||
15 | %description -l pl | |
572f627a | 16 | LIB to jeszcze jeden polski rogalik. |
845457f3 | 17 | |
18 | %prep | |
572f627a | 19 | %setup -q -n %{version} |
845457f3 | 20 | |
21 | %build | |
715f1d65 | 22 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
1eb3c7f7 | 23 | %configure2_13 |
845457f3 | 24 | %{__make} |
25 | ||
26 | %install | |
27 | rm -rf $RPM_BUILD_ROOT | |
28 | install -d $RPM_BUILD_ROOT/{%{_prefix}/games,%{_libdir}/games/LIB,%{_datadir}/locale/en/LC_MESSAGES} | |
29 | ||
30 | %{__make} install DESTDIR=$RPM_BUILD_ROOT | |
31 | gzip -9nf AUTHORS ChangeLog COPYING NEWS README TODO | |
32 | ||
33 | %clean | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | ||
36 | %files | |
37 | %defattr(644,root,root,755) | |
38 | %attr(755,root,root) %{_prefix}/games/LIB | |
39 | %dir %{_libdir}/games/LIB | |
40 | %{_libdir}/games/LIB/* | |
41 | %lang(en) %{_datadir}/locale/en/LC_MESSAGES/* | |
42 | %doc *.gz |