Group :: Jogos/Arcade
RPM: xbill
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Summary: Stop Bill from loading his OS into all the computers
Summary(ru_RU.KOI8-R): ðÏÍÅÛÁÊÔÅ âÉÌÌÕ ÐÏÓÔÁ×ÉÔØ Ó×ÏÀ ïó ÎÁ ×ÓÅ ËÏÍÐØÀÔÅÒÙ
Name: xbill
Version: 2.1
Release: alt5
Packager: Grigory Batalov <bga at altlinux.ru>
License: GPL
Group: Games/Arcade
Source: ftp://ftp.xbill.org/pub/xbill/%name-%version.tar.gz
Url: http://www.xbill.org/
Patch: xbill-fix-build-with-gtk.patch
BuildRequires: flex gcc-c++ imake libXt-devel gtk+-devel
%description
The xbill game tests your reflexes as you seek out and destroy all
forms of Bill, establish a new operating system throughout the
universe, and boldly go where no geek has gone before. Xbill has
become an increasingly attractive option as the Linux Age progresses,
and it is very popular at Red Hat.
%description -l ru_RU.KOI8-R
éÇÒÁ xBill ÒÁÚ×É×ÁÅÔ ÒÅÆÌÅËÓÙ. îÁÊÄÉÔÅ É ÕÎÉÞÔÏÖØÔÅ ×ÓÅÈ ÍÁÌÅÎØËÉÈ
ÞÅÌÏ×ÅÞËÏ×, ÐÙÔÁÀÝÉÈÓÑ ÚÁÒÁÚÉÔØ ×ÁÛÉ ËÏÍÐØÀÔÅÒÙ ×ÉÒÕÓÏÍ Windows [TM].
%prep
%setup -q
%patch -p2
%build
%configure --bindir=%_bindir --localstatedir=%_localstatedir/games --disable-motif --enable-gtk
%make_build
%install
%makeinstall_std
# Menu entry
mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=xBill
Comment=%{summary}
Icon=%{name}
#Exec=%_gamesbindir/%name
Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%files
%attr(0755,root,games) %_x11bindir/xbill
%dir %_localstatedir/games/%name
%attr(664,root,games) %_localstatedir/games/%name/scores
%config(noreplace) %_localstatedir/games/%name/scores
%_datadir/%name
%_desktopdir/%{name}.desktop
%_man6dir/%name.*
%changelog
…
Todas as alterações você pod ver aqui
Summary(ru_RU.KOI8-R): ðÏÍÅÛÁÊÔÅ âÉÌÌÕ ÐÏÓÔÁ×ÉÔØ Ó×ÏÀ ïó ÎÁ ×ÓÅ ËÏÍÐØÀÔÅÒÙ
Name: xbill
Version: 2.1
Release: alt5
Packager: Grigory Batalov <bga at altlinux.ru>
License: GPL
Group: Games/Arcade
Source: ftp://ftp.xbill.org/pub/xbill/%name-%version.tar.gz
Url: http://www.xbill.org/
Patch: xbill-fix-build-with-gtk.patch
BuildRequires: flex gcc-c++ imake libXt-devel gtk+-devel
%description
The xbill game tests your reflexes as you seek out and destroy all
forms of Bill, establish a new operating system throughout the
universe, and boldly go where no geek has gone before. Xbill has
become an increasingly attractive option as the Linux Age progresses,
and it is very popular at Red Hat.
%description -l ru_RU.KOI8-R
éÇÒÁ xBill ÒÁÚ×É×ÁÅÔ ÒÅÆÌÅËÓÙ. îÁÊÄÉÔÅ É ÕÎÉÞÔÏÖØÔÅ ×ÓÅÈ ÍÁÌÅÎØËÉÈ
ÞÅÌÏ×ÅÞËÏ×, ÐÙÔÁÀÝÉÈÓÑ ÚÁÒÁÚÉÔØ ×ÁÛÉ ËÏÍÐØÀÔÅÒÙ ×ÉÒÕÓÏÍ Windows [TM].
%prep
%setup -q
%patch -p2
%build
%configure --bindir=%_bindir --localstatedir=%_localstatedir/games --disable-motif --enable-gtk
%make_build
%install
%makeinstall_std
# Menu entry
mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%{name}.desktop <<EOF
[Desktop Entry]
Version=1.0
Type=Application
Name=xBill
Comment=%{summary}
Icon=%{name}
#Exec=%_gamesbindir/%name
Exec=%name
Terminal=false
Categories=Game;ArcadeGame;
EOF
%files
%attr(0755,root,games) %_x11bindir/xbill
%dir %_localstatedir/games/%name
%attr(664,root,games) %_localstatedir/games/%name/scores
%config(noreplace) %_localstatedir/games/%name/scores
%_datadir/%name
%_desktopdir/%{name}.desktop
%_man6dir/%name.*
%changelog
…
Todas as alterações você pod ver aqui