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