]> git.pld-linux.org Git - packages/LIB.git/blob - LIB.spec
- massive attack: adding Source-md5
[packages/LIB.git] / LIB.spec
1 Summary:        LIB - yet another (Polish) roguelike game
2 Summary(pl):    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://download.sourceforge.net/lib/%{name}.%{version}.tar.bz2
9 # Source0-md5:  c8e17aaf9c16ccc73f4336a0d170b3ba
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://LIB.sourceforge.net/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 LIB is yet another (Polish) roguelike game.
18
19 %description -l pl
20 LIB to jeszcze jeden polski rogalik.
21
22 %prep
23 %setup  -q -n %{name}
24 %patch0 -p0
25
26 %build
27 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
28 %{__aclocal}
29 %{__autoconf}
30 %{__automake}
31 %configure2_13
32 %{__make} 
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT{%{_prefix}/games,%{_libdir}/games/LIB,%{_datadir}/locale/en/LC_MESSAGES} 
37
38 %{__make} install DESTDIR=$RPM_BUILD_ROOT
39 install po/en.gmo $RPM_BUILD_ROOT%{_datadir}/locale/en/LC_MESSAGES
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS ChangeLog COPYING NEWS README TODO
47 %attr(755,root,root) %{_prefix}/games/LIB
48 %dir %{_libdir}/games/LIB
49 %{_libdir}/games/LIB/*
50 %{_datadir}/locale/en/LC_MESSAGES/*
This page took 0.052126 seconds and 3 git commands to generate.