bzflag/bzflag.spec

183 lines
6.0 KiB
RPMSpec
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Name: bzflag
Version: 2.4.24
Release: 1mamba
Summary: A multiplayer 3D tank battle game
Group: Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.bzflag.org/
Source: https://download.bzflag.org/bzflag/source/%{version}/bzflag-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libGLU-devel
BuildRequires: libSDL2-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXxf86vm-devel
BuildRequires: libbrotli-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libglvnd-devel
BuildRequires: libgsasl-devel
BuildRequires: libgss-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libkrb5-devel
BuildRequires: libncurses-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
BuildRequires: libopenldap-devel
BuildRequires: libopenssl-devel
BuildRequires: libpsl-devel
BuildRequires: librtmp-devel
BuildRequires: libsasl2-devel
BuildRequires: libssh2-devel
BuildRequires: libstdc++6-devel
BuildRequires: libunistring-devel
BuildRequires: libz-devel
BuildRequires: libzstd-devel
## AUTOBUILDREQ-END
%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 ­Å¥ová tanková bitva pro ­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
* Wed Mar 09 2022 Automatic Build System <autodist@mambasoft.it> 2.4.24-1mamba
- automatic version update by autodist
* Sun Feb 28 2021 Automatic Build System <autodist@mambasoft.it> 2.4.22-1mamba
- automatic version update by autodist
* Mon Jun 01 2020 Automatic Build System <autodist@mambasoft.it> 2.4.20-1mamba
- automatic version update by autodist
* Sat Oct 20 2018 Automatic Build System <autodist@mambasoft.it> 2.4.18-1mamba
- automatic version update by autodist
* Fri Oct 05 2018 Automatic Build System <autodist@mambasoft.it> 2.4.16-1mamba
- automatic version update by autodist
* Thu Jul 12 2018 Automatic Build System <autodist@mambasoft.it> 2.4.14-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 2.4.12-1mamba
- automatic version update by autodist
* Wed Mar 29 2017 Automatic Build System <autodist@mambasoft.it> 2.4.10-1mamba
- automatic version update by autodist
* Sat Oct 22 2016 Automatic Build System <autodist@mambasoft.it> 2.4.8-1mamba
- automatic version update by autodist
* Mon Sep 26 2016 Automatic Build System <autodist@mambasoft.it> 2.4.6-1mamba
- automatic version update by autodist
* 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