]> git.pld-linux.org Git - packages/xbill.git/blob - xbill.spec
- moved xbill data to datadir (arch independent); release 20
[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:        20
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         CXX="%{__cxx}" \
46         CXXDEBUGFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates" \
47         XBILL_DIR=%{_datadir}/xbill/
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
52
53 %{__make} install install.man \
54         DESTDIR=$RPM_BUILD_ROOT \
55         XBILL_DIR=%{_datadir}/xbill/
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc README README.Ports ChangeLog
66 %attr(2755,root,games) %{_bindir}/xbill
67 %attr(775,root,games) %dir /var/games/xbill
68 %attr(664,root,games) %config(noreplace) %verify(not size mtime md5) /var/games/xbill/scores
69 %{_mandir}/man1/*
70 %{_datadir}/xbill
71 %{_desktopdir}/xbill.desktop
72 %{_pixmapsdir}/*
This page took 0.287488 seconds and 4 git commands to generate.