]> git.pld-linux.org Git - packages/xbill.git/blob - xbill.spec
1efabd53446d04075afc1a06d8f0c9e107367fee
[packages/xbill.git] / xbill.spec
1 Summary:        Stop Bill from loading his OS into all the computers
2 Summary(pl):    Powstrzymaj Billa przed instalowaniem jego systemu na wszystkich komputerach
3 Name:           xbill
4 Version:        2.0
5 Release:        17
6 License:        MIT
7 Group:          X11/Applications/Games
8 Source0:        ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz
9 Source1:        %{name}.desktop
10 Source2:        %{name}.png
11 Patch0:         %{name}-c++.patch
12 Patch1:         %{name}-imake.patch
13 Patch2:         %{name}-FHS.patch
14 Icon:           xbill.xpm
15 BuildRequires:  XFree86-devel
16 BuildRequires:  libstdc++-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20 %define         _mandir         %{_prefix}/man
21
22 %description
23 The xbill game tests your reflexes as you seek out and destroy all
24 forms of Bill, establish new operating systems and boldly go where no
25 geek has gone before. Xbill has become an increasingly attractive
26 option as the Linux Age progresses, and it is very popular at Red Hat.
27
28 %description -l pl
29 Gra xbill sprawdza refleks przy wy³apywaniu i niszczeniu wszelkich
30 form Billa, instalowaniu nowych systemów operacyjnych oraz docieraniu
31 tam, gdzie nikt wcze¶niej nie dotar³. Xbill stawa³ siê ci±gle coraz
32 bardziej przyci±gaj±cy w miarê postêpu Ery Linuksa, jest tak¿e bardzo
33 popularny w Red Hacie.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 xmkmf
43 %{__make} \
44         CXXDEBUGFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games,%{_pixmapsdir}}
49
50 %{__make} DESTDIR=$RPM_BUILD_ROOT install install.man
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games
53 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
54
55 gzip -9nf README README.Ports ChangeLog
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc *.gz
63 %attr(2755,root,games) %{_bindir}/xbill
64 %attr(775,root,games) %dir /var/games/xbill
65 %attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/xbill/scores
66 %{_mandir}/man1/*
67 %{_libdir}/xbill
68 %{_applnkdir}/Games/xbill.desktop
69 %{_pixmapsdir}/*
This page took 0.050839 seconds and 3 git commands to generate.