Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:susnux:branches:games
etlegacy
etlegacy.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File etlegacy.spec of Package etlegacy
# # spec file for package etlegacy # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # # Linking is broken with LTO at the moment #%%define _lto_cflags %%{nil} Name: etlegacy Version: 2.77.1 Release: 0 Summary: Wolfenstein: Enemy Territory 2.60b compatible client/server License: GPL-3.0-only Group: Amusements/Games/3D/Shoot URL: https://www.etlegacy.com Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: http://mirror.etlegacy.com/omnibot/omnibot-linux-latest.tar.gz Source2: https://mirror.etlegacy.com/geoip/GeoIP.dat.tar.gz Source3: https://mirror.etlegacy.com/wolfadmin/wolfadmin.tar.gz BuildRequires: cmake BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: libjpeg8-devel BuildRequires: pkgconfig BuildRequires: shared-mime-info BuildRequires: update-desktop-files BuildRequires: zip BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(libcurl) BuildRequires: pkgconfig(lua) >= 5.4 BuildRequires: pkgconfig(minizip) BuildRequires: pkgconfig(ogg) BuildRequires: pkgconfig(openal) BuildRequires: pkgconfig(sdl2) BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(vorbis) pkgconfig(openssl) BuildRequires: pkgconfig(x11) pkgconfig(libpng) Requires: enemy-territory-data = 2.60b Recommends: etlegacy-mod # Make it easier to find using the software.opensuse.org search: Provides: enemy-territory-legacy # You have to use the i586 package even on 64-bit system because of compatibility with W:ET 2.60b ExclusiveArch: i586 # TODO: cross compile %description ET: Legacy is based on the source code of the Wolfenstein: Enemy Territory which was released under the GPLv3 license. The main goal of this project is to fix bugs, remove old dependencies and make it playable on all major operating systems while still remaining compatible with the ET 2.60b version and as many of its mods as possible. This package contains only the engine including the dedicated server and not data files. %package mod Summary: Legacy Mod Group: Amusements/Games/3D/Shoot Requires: %{name} = %{version} %description mod ET: Legacy is based on the source code of the Wolfenstein: Enemy Territory which was released under the GPLv3 license. The main goal of this project is to fix bugs, remove old dependencies and make it playable on all major operating systems while still remaining compatible with the ET 2.60b version and as many of its mods as possible. This package contains only the fixed legacy compatible mod files without game assets. %prep %setup -q dos2unix COPYING.txt %build mkdir -p build/legacy cp %{SOURCE1} %{SOURCE2} %{SOURCE3} legacy pushd build/legacy tar -xzf omnibot-linux-latest.tar.gz tar -xzf GeoIP.dat.tar.gz tar -xzf wolfadmin.tar.gz tar -xf %{SOURCE1} tar -xf %{SOURCE2} tar -xf %{SOURCE3} popd #-DINSTALL_DEFAULT_BASEDIR=%{_prefix} \ %cmake -DBUNDLED_LIBS=0 \ -DFORCE_DEBUG=0 \ -DFEATURE_GETTEXT=1 \ -DFEATURE_OMNIBOT=1 \ -DFEATURE_IRC_CLIENT=0 \ -DFEATURE_AUTOUPDATE=0 \ -DFEATURE_RENDERER_GLES=0 \ -DFEATURE_WINDOWS_CONSOLE=0 \ -DINSTALL_DEFAULT_MODDIR="%{_libexecdir}/enemy-territory" #-DBUILD_SHARED_LIBS:BOOL=OFF %make_build %install %cmake_install %fdupes %{buildroot}/%{_libexecdir} %post %mime_database_post %postun %mime_database_postun %files %{_libexecdir}/enemy-territory/ %{_libexecdir}/enemy-territory/etmain %exclude %{_libexecdir}/enemy-territory/legacy %{_datadir}/icons/hicolor/scalable/apps/etl.svg %{_datadir}/applications/com.etlegacy.ETLegacy.desktop %{_datadir}/metainfo/com.etlegacy.ETLegacy.metainfo.xml %{_datadir}/mime/packages/etlegacy.xml %{_mandir}/*/* %files mod %{_libexecdir}/enemy-territory/legacy %exclude %{_libexecdir}/enemy-territory/legacy/omni-bot/omnibot_et.dll %exclude %{_libexecdir}/enemy-territory/legacy/omni-bot/omnibot_et.x86_64.so %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor