]>
Commit | Line | Data |
---|---|---|
368c1617 | 1 | Summary: Stop Bill from loading his OS into all the computers |
314ecf62 | 2 | Summary(pl.UTF-8): Powstrzymaj Billa przed instalowaniem jego systemu na wszystkich komputerach |
f5aa9312 JR |
3 | Name: xbill |
4 | Version: 2.0 | |
b94a1225 | 5 | Release: 21 |
d8062014 | 6 | License: MIT |
8e3a7f29 | 7 | Group: X11/Applications/Games |
368c1617 | 8 | Source0: ftp://ftp.x.org/contrib/games/%{name}-%{version}.tgz |
0c5ce7bc | 9 | # Source0-md5: 132e4b340618924b6a41ec5ec106ca32 |
d8062014 | 10 | Source1: %{name}.desktop |
11 | Source2: %{name}.png | |
8e3a7f29 JB |
12 | Patch0: %{name}-c++.patch |
13 | Patch1: %{name}-imake.patch | |
932dc9cd | 14 | Patch2: %{name}-FHS.patch |
8e3a7f29 | 15 | BuildRequires: libstdc++-devel |
b94a1225 JB |
16 | BuildRequires: xorg-cf-files |
17 | BuildRequires: xorg-lib-libXaw-devel | |
18 | BuildRequires: xorg-lib-libXpm-devel | |
19 | BuildRequires: xorg-util-imake | |
d8062014 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
89813590 JR |
21 | |
22 | %description | |
368c1617 | 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. | |
89813590 | 27 | |
fd76a1ba JR |
28 | %description -l pl.UTF-8 |
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 | |
932dc9cd JB |
33 | popularny w Red Hacie. |
34 | ||
89813590 JR |
35 | %prep |
36 | %setup -q | |
8e3a7f29 JB |
37 | %patch0 -p1 |
38 | %patch1 -p1 | |
932dc9cd | 39 | %patch2 -p1 |
89813590 JR |
40 | |
41 | %build | |
42 | xmkmf | |
8e3a7f29 | 43 | %{__make} \ |
2dd73144 JB |
44 | CXX="%{__cxx}" \ |
45 | CXXDEBUGFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions -fno-implicit-templates" \ | |
46 | XBILL_DIR=%{_datadir}/xbill/ | |
89813590 JR |
47 | |
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
34d41de0 | 50 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
89813590 | 51 | |
2dd73144 JB |
52 | %{__make} install install.man \ |
53 | DESTDIR=$RPM_BUILD_ROOT \ | |
b94a1225 JB |
54 | BINDIR=%{_bindir} \ |
55 | MANPATH=%{_mandir} \ | |
2dd73144 | 56 | XBILL_DIR=%{_datadir}/xbill/ |
89813590 | 57 | |
34d41de0 | 58 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
d8062014 | 59 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} |
60 | ||
89813590 JR |
61 | %clean |
62 | rm -rf $RPM_BUILD_ROOT | |
63 | ||
64 | %files | |
f5aa9312 | 65 | %defattr(644,root,root,755) |
6830438d | 66 | %doc README README.Ports ChangeLog |
4ffee726 | 67 | %attr(2755,root,games) %{_bindir}/xbill |
d9cd1ba6 | 68 | %attr(775,root,games) %dir /var/games/xbill |
f5f869f9 | 69 | %attr(664,root,games) %config(noreplace) %verify(not md5 mtime size) /var/games/xbill/scores |
b94a1225 | 70 | %{_mandir}/man1/xbill.1* |
2dd73144 | 71 | %{_datadir}/xbill |
34d41de0 | 72 | %{_desktopdir}/xbill.desktop |
d8062014 | 73 | %{_pixmapsdir}/* |