Mageia Bugzilla – Attachment 10465 Details for
Bug 23362
[Update Request] alienarena 7.71.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec
alienarena.spec (text/plain), 2.97 KB, created by
Kristoffer Grundström
on 2018-11-10 10:32:34 CET
(
hide
)
Description:
Proposal spec
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2018-11-10 10:32:34 CET
Size:
2.97 KB
patch
obsolete
>Name: alienarena >Summary: Multiplayer retro sci-fi deathmatch game >Version: 7.71.1 >Release: %mkrel 1 >License: GPLv2+ >Group: Games/Shooter >Source0: %{name}-%{version}.tar.gz >Source1: %{name}.desktop >Source2: GPL.acebot.txt >URL: http://red.planetarena.org/ >BuildRequires: pkgconfig(xext) >BuildRequires: pkgconfig(xxf86vm) >BuildRequires: pkgconfig(libjpeg) >BuildRequires: GL-devel >BuildRequires: pkgconfig(glu) >BuildRequires: pkgconfig(libcurl) >BuildRequires: pkgconfig(libpng) >BuildRequires: pkgconfig(vorbis) >BuildRequires: pkgconfig(openal) >BuildRequires: pkgconfig(ode) >BuildRequires: pkgconfig(libode) >BuildRequires: freetype2-devel >BuildRequires: desktop-file-utils >Requires: %{name}-data = 1:%{version} >Requires: desktop-file-utils >= 0.9, glxinfo >Requires: openal >Requires: opengl-games-utils > >%description >Alien Arena Reloaded is an online deathmatch game with over 30 levels, seven modes >of play, loads of mutators, built-in bots, multiple player characters and weapons >(with alt-fire modes). > >%package server >Group: Games/Shooter >Summary: Dedicated server for alienarena, the FPS game >Requires: %{name}-data = 1:%{version} > >%description server >Alien Arena Reloaded is an online deathmatch game with over 30 levels, seven modes >of play, loads of mutators, built-in bots, multiple player characters and weapons >(with alt-fire modes). > >This is the dedicated server. > >%package data >Group: Games/Shooter >Summary: Data files for Alien Arena 2011 >Epoch: 1 >BuildArch: noarch > >%description data >This is the game data (audio, maps, etc) for Alien Arena > >%prep >%autosetup -p1 > ># We don't want the bundled ode code. >rm -rf source/unix/ode > ># Copy license clarification for acebot >cp -p %{SOURCE2} . > ># clean up end-line encoding >[[ -e docs/README.txt ]] && %{__sed} -i 's/\r//' docs/README.txt > ># So, AlienArena now "uses" openal by dlopening the library, which is hardcoded to ># "libopenal.so". That file only lives in openal-devel, so we need to adjust the hardcoding. >LIBOPENAL=`ls %{_libdir}/libopenal.so.? | cut -d "/" -f 4` >sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\"|g" source/unix/qal_unix.c > >%build >autoreconf -fi >export PTHREAD_LIBS="-lpthread" >export PTHREAD_CFLAGS="-pthread" >%configure2_5x --with-system-libode >%make_build > >%install >%makeinstall_std > >%{__mkdir_p} %{buildroot}%{_datadir}/applications >desktop-file-install --vendor "" \ > --dir %{buildroot}%{_datadir}/applications \ > %{SOURCE1} > >mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ >mv %{buildroot}%{_datadir}/icons/%{name}.png \ > %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png > ># Fedora's little opengl checker >ln -s opengl-game-wrapper.sh %{buildroot}/%{_bindir}/%{name}-wrapper >ln -s %{name}-ded %{buildroot}/%{_bindir}/%{name}-server > >%files >%doc GPL.acebot.txt README docs/README.txt docs/license.txt >%{_bindir}/%{name} >%{_bindir}/%{name}-wrapper >%{_datadir}/applications/%{name}.desktop >%{_datadir}/icons/hicolor/32x32/apps/%{name}.png > >%files server >%{_bindir}/%{name}-ded >%{_bindir}/%{name}-server > >%files data >%{_datadir}/%{name}
Name: alienarena Summary: Multiplayer retro sci-fi deathmatch game Version: 7.71.1 Release: %mkrel 1 License: GPLv2+ Group: Games/Shooter Source0: %{name}-%{version}.tar.gz Source1: %{name}.desktop Source2: GPL.acebot.txt URL: http://red.planetarena.org/ BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(xxf86vm) BuildRequires: pkgconfig(libjpeg) BuildRequires: GL-devel BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(vorbis) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(ode) BuildRequires: pkgconfig(libode) BuildRequires: freetype2-devel BuildRequires: desktop-file-utils Requires: %{name}-data = 1:%{version} Requires: desktop-file-utils >= 0.9, glxinfo Requires: openal Requires: opengl-games-utils %description Alien Arena Reloaded is an online deathmatch game with over 30 levels, seven modes of play, loads of mutators, built-in bots, multiple player characters and weapons (with alt-fire modes). %package server Group: Games/Shooter Summary: Dedicated server for alienarena, the FPS game Requires: %{name}-data = 1:%{version} %description server Alien Arena Reloaded is an online deathmatch game with over 30 levels, seven modes of play, loads of mutators, built-in bots, multiple player characters and weapons (with alt-fire modes). This is the dedicated server. %package data Group: Games/Shooter Summary: Data files for Alien Arena 2011 Epoch: 1 BuildArch: noarch %description data This is the game data (audio, maps, etc) for Alien Arena %prep %autosetup -p1 # We don't want the bundled ode code. rm -rf source/unix/ode # Copy license clarification for acebot cp -p %{SOURCE2} . # clean up end-line encoding [[ -e docs/README.txt ]] && %{__sed} -i 's/\r//' docs/README.txt # So, AlienArena now "uses" openal by dlopening the library, which is hardcoded to # "libopenal.so". That file only lives in openal-devel, so we need to adjust the hardcoding. LIBOPENAL=`ls %{_libdir}/libopenal.so.? | cut -d "/" -f 4` sed -i "s|\"libopenal.so\"|\"$LIBOPENAL\"|g" source/unix/qal_unix.c %build autoreconf -fi export PTHREAD_LIBS="-lpthread" export PTHREAD_CFLAGS="-pthread" %configure2_5x --with-system-libode %make_build %install %makeinstall_std %{__mkdir_p} %{buildroot}%{_datadir}/applications desktop-file-install --vendor "" \ --dir %{buildroot}%{_datadir}/applications \ %{SOURCE1} mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/ mv %{buildroot}%{_datadir}/icons/%{name}.png \ %{buildroot}/%{_datadir}/icons/hicolor/32x32/apps/%{name}.png # Fedora's little opengl checker ln -s opengl-game-wrapper.sh %{buildroot}/%{_bindir}/%{name}-wrapper ln -s %{name}-ded %{buildroot}/%{_bindir}/%{name}-server %files %doc GPL.acebot.txt README docs/README.txt docs/license.txt %{_bindir}/%{name} %{_bindir}/%{name}-wrapper %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/32x32/apps/%{name}.png %files server %{_bindir}/%{name}-ded %{_bindir}/%{name}-server %files data %{_datadir}/%{name}
View Attachment As Raw
Actions:
View
Attachments on
bug 23362
:
10299
|
10392
| 10465 |
10466