update to 1.4.20210408 [release 1.4.20210408-1mamba;Thu Dec 23 2021]
This commit is contained in:
110
alephone.spec
Normal file
110
alephone.spec
Normal file
@@ -0,0 +1,110 @@
|
||||
%define pkgver %(echo %version | cut -d. -f3)
|
||||
Name: alephone
|
||||
Epoch: 1
|
||||
Version: 1.4.20210408
|
||||
Release: 1mamba
|
||||
Summary: 3D first-person shooter game
|
||||
Group: Applications/Games
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://alephone.lhowon.org/
|
||||
Source0: https://github.com/Aleph-One-Marathon/alephone/releases/download/release-%{pkgver}/AlephOne-%{pkgver}.tar.bz2
|
||||
Source1: alephone.png
|
||||
Patch: AlephOne-fix-build.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libGLU-devel
|
||||
BuildRequires: libSDL2-devel
|
||||
BuildRequires: libSDL2_ttf-devel
|
||||
BuildRequires: libalsa-devel
|
||||
BuildRequires: libavcodec-ffmpeg-devel
|
||||
BuildRequires: libavformat-ffmpeg-devel
|
||||
BuildRequires: libavutil-ffmpeg-devel
|
||||
BuildRequires: libboost-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglvnd-devel
|
||||
BuildRequires: libmad-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libsdl2_image-devel
|
||||
BuildRequires: libsdl2_net-devel
|
||||
BuildRequires: libsndfile-devel
|
||||
BuildRequires: libspeex-devel
|
||||
BuildRequires: libspeexdsp-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libswscale-ffmpeg-devel
|
||||
BuildRequires: libvorbis-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libzzip-devel
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: alephone-data
|
||||
Provides: AlephOne
|
||||
Obsoletes: AlephOne < 1:1.4
|
||||
|
||||
%description
|
||||
Aleph One is an Open Source 3D first-person shooter game, based on the game Marathon 2 by Bungie Software. It is set in a Sci-Fi universe dominated by deviant computer AIs and features a well thought-out plot.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n AlephOne-%{pkgver}
|
||||
#%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
|
||||
install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps/alephone.png
|
||||
|
||||
|
||||
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
||||
cat > %{buildroot}%{_datadir}/applications/alephone.desktop << EOF
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=AlephOne
|
||||
Comment=An open source version of Marathon Infinity
|
||||
Exec=/usr/bin/alephone -g -m
|
||||
Terminal=false
|
||||
Icon=/usr/share/pixmaps/alephone.png
|
||||
Type=Application
|
||||
Categories=Application;Game;
|
||||
EOF
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/alephone
|
||||
%{_datadir}/pixmaps/alephone.png
|
||||
%{_datadir}/applications/alephone.desktop
|
||||
%{_datadir}/mime/packages/alephone.xml
|
||||
%dir %{_datadir}/AlephOne
|
||||
%{_datadir}/AlephOne/*
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/application-x-alephone-*.png
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/text-x-alephone-mml.png
|
||||
%{_mandir}/man6/alephone.6*
|
||||
%doc AUTHORS COPYING
|
||||
|
||||
%changelog
|
||||
* Thu Dec 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.20210408-1mamba
|
||||
- update to 1.4.20210408
|
||||
|
||||
* Sat Apr 07 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20120128-1mamba
|
||||
- update to version 20120128
|
||||
|
||||
* Tue Nov 23 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20110731-1mamba
|
||||
- update to version of 31-07-2011
|
||||
|
||||
* Fri Aug 08 2008 gil <puntogil@libero.it> 20070401-1mamba
|
||||
- added file desktop
|
||||
- fixed buildrequires AlephOne-data
|
||||
Reference in New Issue
Block a user