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