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