]>
Commit | Line | Data |
---|---|---|
f1e65cb3 | 1 | Summary: LIB - yet another (Polish) roguelike game |
599a0e32 | 2 | Summary(pl.UTF-8): LIB - jeszcze jeden polski rogalik |
845457f3 | 3 | Name: LIB |
9e5a3e03 | 4 | Version: 0.1.67 |
5 | Release: 1 | |
845457f3 | 6 | Group: Applications/Games |
7 | License: GPL | |
5b367523 | 8 | Source0: http://dl.sourceforge.net/lib/%{name}.%{version}.tar.bz2 |
e6d72f21 | 9 | # Source0-md5: c8e17aaf9c16ccc73f4336a0d170b3ba |
9e5a3e03 | 10 | Patch0: %{name}-DESTDIR.patch |
f8bfddd0 | 11 | Patch1: %{name}-configure.patch |
a1873f2a | 12 | URL: http://lib.sourceforge.net/ |
f1e65cb3 JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
ef22c101 | 15 | BuildRequires: gettext-devel |
845457f3 | 16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
f1e65cb3 | 19 | LIB is yet another (Polish) roguelike game. |
845457f3 | 20 | |
599a0e32 | 21 | %description -l pl.UTF-8 |
572f627a | 22 | LIB to jeszcze jeden polski rogalik. |
845457f3 | 23 | |
24 | %prep | |
9e5a3e03 | 25 | %setup -q -n %{name} |
26 | %patch0 -p0 | |
f8bfddd0 | 27 | %patch1 -p1 |
845457f3 | 28 | |
29 | %build | |
f8bfddd0 | 30 | %{__gettextize} |
f1e65cb3 | 31 | %{__aclocal} |
3d765f3e | 32 | %{__autoconf} |
33 | %{__automake} | |
f8bfddd0 MP |
34 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
35 | %configure \ | |
36 | --disable-nls | |
37 | ||
2afb0394 | 38 | %{__make} |
845457f3 | 39 | |
40 | %install | |
41 | rm -rf $RPM_BUILD_ROOT | |
2afb0394 | 42 | install -d $RPM_BUILD_ROOT{%{_prefix}/games,%{_libdir}/games/LIB,%{_datadir}/locale/en/LC_MESSAGES} |
845457f3 | 43 | |
ef22c101 JB |
44 | %{__make} install \ |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
f1e65cb3 | 47 | install po/en.gmo $RPM_BUILD_ROOT%{_datadir}/locale/en/LC_MESSAGES |
845457f3 | 48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
a1873f2a | 54 | %doc AUTHORS ChangeLog NEWS README TODO |
5b367523 | 55 | %lang(pl) %doc COPYING |
845457f3 | 56 | %attr(755,root,root) %{_prefix}/games/LIB |
57 | %dir %{_libdir}/games/LIB | |
58 | %{_libdir}/games/LIB/* | |
ef22c101 | 59 | # ??? |
bcf3f2c2 | 60 | %{_datadir}/locale/en/LC_MESSAGES/* |