153 lines
4.9 KiB
RPMSpec
153 lines
4.9 KiB
RPMSpec
|
Name: bzflag
|
|||
|
Version: 2.4.4
|
|||
|
Release: 1mamba
|
|||
|
Summary: A multiplayer 3D tank battle game
|
|||
|
Group: Applications/Games
|
|||
|
Vendor: openmamba
|
|||
|
Distribution: openmamba
|
|||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|||
|
URL: http://www.bzflag.org/
|
|||
|
Source: https://download.bzflag.org/bzflag/source/%{version}/bzflag-%{version}.tar.bz2
|
|||
|
License: LGPL
|
|||
|
## AUTOBUILDREQ-BEGIN
|
|||
|
BuildRequires: glibc-devel
|
|||
|
BuildRequires: libaudio-devel
|
|||
|
BuildRequires: libcares-devel
|
|||
|
BuildRequires: libcurl-devel
|
|||
|
BuildRequires: libe2fs-devel
|
|||
|
BuildRequires: libgcc
|
|||
|
BuildRequires: libgcrypt-devel
|
|||
|
BuildRequires: libGL-devel
|
|||
|
BuildRequires: libGLU-devel
|
|||
|
BuildRequires: libgpg-error-devel
|
|||
|
BuildRequires: libICE-devel
|
|||
|
BuildRequires: libidn-devel
|
|||
|
BuildRequires: libkrb5-devel
|
|||
|
BuildRequires: libncurses-devel
|
|||
|
BuildRequires: libopenldap-devel
|
|||
|
BuildRequires: libopenssl-devel
|
|||
|
BuildRequires: libsasl-devel
|
|||
|
BuildRequires: libSDL-devel
|
|||
|
BuildRequires: libSM-devel
|
|||
|
BuildRequires: libssh2-devel
|
|||
|
BuildRequires: libstdc++6-devel
|
|||
|
BuildRequires: libX11-devel
|
|||
|
BuildRequires: libXau-devel
|
|||
|
BuildRequires: libxcb-devel
|
|||
|
BuildRequires: libXdmcp-devel
|
|||
|
BuildRequires: libXext-devel
|
|||
|
BuildRequires: libXi-devel
|
|||
|
BuildRequires: libXt-devel
|
|||
|
BuildRequires: libXxf86vm-devel
|
|||
|
BuildRequires: libz-devel
|
|||
|
## AUTOBUILDREQ-END
|
|||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|||
|
|
|||
|
%description
|
|||
|
BZFlag is a 3D multi-player tank battle game that allows users to play against each other in a networked environment. There are five teams: red, green, blue, purple and rogue (rogue tanks are black).
|
|||
|
Destroying a player on another team scores a win, while being destroyed or destroying a teammate scores a loss.
|
|||
|
Rogues have no teammates (not even other rogues), so they cannot shoot teammates and they do not have a team score.
|
|||
|
There are two main styles of play: capture-the-flag and free-for-all.
|
|||
|
|
|||
|
%prep
|
|||
|
%setup -q
|
|||
|
|
|||
|
%build
|
|||
|
%configure --libdir=%{_libdir}/bzflag
|
|||
|
%make
|
|||
|
|
|||
|
%install
|
|||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|||
|
%makeinstall
|
|||
|
|
|||
|
# install icons
|
|||
|
%{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
|
|||
|
install -m 644 package/rpm/bzflag-*.xpm %{buildroot}%{_datadir}/pixmaps
|
|||
|
|
|||
|
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
|||
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|||
|
[Desktop Entry]
|
|||
|
Encoding=UTF-8
|
|||
|
Comment=Drive around in your tank and shoot others
|
|||
|
Name=BZFlag
|
|||
|
Name[en]=BZFlag
|
|||
|
Name[hu]=3D-s hálózati többjátékos tankcsata játék
|
|||
|
GenericName=3D multi-player tank battle game
|
|||
|
GenericName[en]=3D networked multiplayer tank battle game
|
|||
|
GenericName[de]=3D Multi Player Panzerkriegsspiel
|
|||
|
GenericName[fr]=Un jeu de tank 3D avec option multijoueur
|
|||
|
GenericName[es]=Juego de guerra de tanques 3D multijugador en red
|
|||
|
GenericName[hu]=3D-s hálózati többjátékos tankcsata játék
|
|||
|
GenericName[cs]=3D sÃÅ¥ová tanková bitva pro vÃce hráÄů
|
|||
|
GenericName[tr]=3B Tank oyunu
|
|||
|
Exec=bzflag
|
|||
|
Icon=/usr/share/bzflag/bzflag-48x48.png
|
|||
|
Terminal=false
|
|||
|
Type=Application
|
|||
|
Categories=Qt;KDE;Application;Game;Arcade;
|
|||
|
EOF
|
|||
|
|
|||
|
%clean
|
|||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|||
|
|
|||
|
%files
|
|||
|
%defattr(-,root,root)
|
|||
|
%{_bindir}/bzadmin
|
|||
|
%{_bindir}/bzflag
|
|||
|
%{_bindir}/bzfs
|
|||
|
%dir %{_libdir}/bzflag
|
|||
|
%{_libdir}/bzflag/*.la
|
|||
|
%{_libdir}/bzflag/*.so
|
|||
|
%{_datadir}/pixmaps/*.xpm
|
|||
|
%{_datadir}/applications/%{name}.desktop
|
|||
|
%dir %{_datadir}/bzflag
|
|||
|
%{_datadir}/bzflag/*.png
|
|||
|
%{_datadir}/bzflag/*.wav
|
|||
|
%{_datadir}/bzflag/*.xpm
|
|||
|
%{_datadir}/bzflag/bzflag.desktop
|
|||
|
%dir %{_datadir}/bzflag/fonts
|
|||
|
%{_datadir}/bzflag/fonts/*.png
|
|||
|
%{_datadir}/bzflag/fonts/*.fmt
|
|||
|
%{_datadir}/bzflag/fonts/readme
|
|||
|
%{_datadir}/bzflag/fonts/DejaVu.License
|
|||
|
%dir %{_datadir}/bzflag/l10n
|
|||
|
#%{_datadir}/bzflag/l10n/ISO-639-2_values_8bits.txt
|
|||
|
%{_datadir}/bzflag/l10n/*.po
|
|||
|
%{_mandir}/man5/bzw.5.gz
|
|||
|
%{_mandir}/man6/bzadmin.6.gz
|
|||
|
%{_mandir}/man6/bzflag.6.gz
|
|||
|
#%{_mandir}/man6/bzfquery.6.gz
|
|||
|
%{_mandir}/man6/bzfs.6.gz
|
|||
|
%doc AUTHORS COPYING
|
|||
|
#%doc ChangeLog NEWS README
|
|||
|
#%doc BUGS README.Linux README.SDL README.UNIX TODO
|
|||
|
|
|||
|
%changelog
|
|||
|
* Sun Jun 12 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.4-1mamba
|
|||
|
- update to 2.4.4
|
|||
|
|
|||
|
* Fri Dec 21 2012 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|||
|
- automatic version update by autodist
|
|||
|
|
|||
|
* Fri Jul 29 2011 Automatic Build System <autodist@mambasoft.it> 2.4.0-1mamba
|
|||
|
- automatic update by autodist
|
|||
|
|
|||
|
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 2.0.16-1mamba
|
|||
|
- automatic update by autodist
|
|||
|
|
|||
|
* Sun Aug 22 2010 Automatic Build System <autodist@mambasoft.it> 2.0.14-2mamba
|
|||
|
- automatic rebuild by autodist
|
|||
|
|
|||
|
* Sun May 09 2010 Automatic Build System <autodist@mambasoft.it> 2.0.14-1mamba
|
|||
|
- automatic update by autodist
|
|||
|
|
|||
|
* Mon Jun 29 2009 Automatic Build System <autodist@mambasoft.it> 2.0.12-3mamba
|
|||
|
- automatic rebuild by autodist
|
|||
|
|
|||
|
* Sun May 17 2009 Automatic Build System <autodist@mambasoft.it> 2.0.12-2mamba
|
|||
|
- automatic rebuild by autodist
|
|||
|
|
|||
|
* Mon Jul 07 2008 gil <puntogil@libero.it> 2.0.12-1mamba
|
|||
|
- package created by autospec
|
|||
|
- added bzflag.desktop
|