2024-06-27 09:20:12 +02:00
|
|
|
%define pkgver %(echo %version | cut -d. -f4)
|
2024-01-05 20:19:42 +01:00
|
|
|
Name: alephone
|
|
|
|
Epoch: 1
|
2024-06-27 09:20:12 +02:00
|
|
|
Version: 1.8.1.20240513
|
2024-01-05 20:19:42 +01:00
|
|
|
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
|
2024-06-27 09:20:12 +02:00
|
|
|
Patch0: alephone-1.8.1.20240513-miniupnpc-2.2.8.patch
|
2024-01-05 20:19:42 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libSDL2-devel
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libavcodec-devel
|
|
|
|
BuildRequires: libavformat-devel
|
|
|
|
BuildRequires: libavutil-devel
|
2024-01-05 20:19:42 +01:00
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libgcc
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libglu-devel
|
2024-01-05 20:19:42 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-05 20:19:43 +01:00
|
|
|
BuildRequires: libminiupnpc-devel
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libopenal-devel
|
2024-01-05 20:19:42 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libsdl2_image-devel
|
|
|
|
BuildRequires: libsdl2_net-devel
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libsdl2_ttf-devel
|
2024-01-05 20:19:42 +01:00
|
|
|
BuildRequires: libsndfile-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libswresample-devel
|
|
|
|
BuildRequires: libswscale-devel
|
2024-01-05 20:19:42 +01:00
|
|
|
BuildRequires: libz-devel
|
|
|
|
BuildRequires: libzzip-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-06-27 09:20:12 +02:00
|
|
|
BuildRequires: libminiupnpc-devel >= 0:2.2.8-1mamba
|
2024-01-05 20:19:42 +01:00
|
|
|
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}
|
2024-06-27 09:20:12 +02:00
|
|
|
%patch 0 -p1
|
2024-01-05 20:19:42 +01:00
|
|
|
|
|
|
|
%build
|
2024-06-27 09:20:12 +02:00
|
|
|
export PKG_CONFIG_PATH="%{_libdir}/ffmpeg4/pkgconfig"
|
|
|
|
|
2024-01-05 20:19:42 +01:00
|
|
|
%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
|
2024-06-27 09:20:12 +02:00
|
|
|
* Wed Jun 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.1.20240513-1mamba
|
|
|
|
- update to 1.8.1.20240513
|
|
|
|
|
2024-01-05 20:19:43 +01:00
|
|
|
* Sun Jan 23 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.20220115-1mamba
|
|
|
|
- update to 1.5.20220115
|
|
|
|
|
2024-01-05 20:19:42 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 20:19:43 +01:00
|
|
|
* Wed Nov 23 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20110731-1mamba
|
2024-01-05 20:19:42 +01:00
|
|
|
- update to version of 31-07-2011
|
|
|
|
|
|
|
|
* Fri Aug 08 2008 gil <puntogil@libero.it> 20070401-1mamba
|
|
|
|
- added file desktop
|
|
|
|
- fixed buildrequires AlephOne-data
|