Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke
rtwc-sp
rtcw-sp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rtcw-sp.spec of Package rtwc-sp
# # spec file for package rtcw-sp # # Copyright (c) 2016, Martin Hauke <mardnh@gmx.de> # # 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 http://bugs.opensuse.org/ # Name: rtcw-sp Version: 0.0.0.git1482933676.879cb56 Release: 0 Summary: Return to Castle Wolfenstein Single Player License: GPL-3.0 Group: Amusements/Games/3D/Shoot URL: https://github.com/hexameron/RTCW-SP-linux Source: %{name}-%{version}.tar.xz # Logo from: https://lelekhd.deviantart.com/art/Return-To-Castle-Wolfenstein-Logo-390992819 Source1: rtcw-logo.png BuildRequires: gcc-c++ BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(sdl2) %description Return to Castle Wolfenstein - Long awaited sequel to Wolfenstein 3D. %prep %setup -q %build export CFLAGS="%{optflags}" cd src/unix ./cons -- sdl2 %install rtcwdir="%{buildroot}%{_prefix}/lib/rtcw-sp" install -dm 755 %{buildroot}%{_bindir} install -Dpm 755 src/unix/sdl2-*-Linux/out/wolfsp.exe $rtcwdir/wolfsp install -Dpm 644 src/unix/sdl2-*-Linux/out/main/cgame-rtcw.so $rtcwdir/main/cgame-rtcw.so install -Dpm 644 src/unix/sdl2-*-Linux/out/main/qagame-rtcw.so $rtcwdir/main/qagame-rtcw.so install -Dpm 644 src/unix/sdl2-*-Linux/out/main/ui-rtcw.so $rtcwdir/main/ui-rtcw.so echo -e "#!/bin/sh\nexec %{_prefix}/lib/rtcw-sp/wolfsp \+set fs_cdpath %{_datadir}/games/rtcw-sp/ +set fs_basepath %{_prefix}/lib/rtcw-sp/ \"\$@\"" > %{buildroot}%{_bindir}/wolfsp chmod 755 %{buildroot}%{_bindir}/wolfsp install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/rtcw-sp.png %suse_update_desktop_file -i rtcw-sp %post %desktop_database_post %postun %desktop_database_postun %files %doc COPYING.txt README.txt %{_bindir}/wolfsp %dir %{_libexecdir}/rtcw-sp %dir %{_libexecdir}/rtcw-sp/main %{_libexecdir}/rtcw-sp/wolfsp %{_libexecdir}/rtcw-sp/main/cgame-rtcw.so %{_libexecdir}/rtcw-sp/main/qagame-rtcw.so %{_libexecdir}/rtcw-sp/main/ui-rtcw.so %{_datadir}/pixmaps/rtcw-sp.png %{_datadir}/applications/rtcw-sp.desktop %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