Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
doomsday
doomsday.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File doomsday.spec of Package doomsday
# # spec file for package doomsday # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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: doomsday Version: 1.11.0 Release: 0 Summary: The Doomsday Engine: DOOM/Hertic/Hexen port with pretty graphics License: GPL-2.0+ and GPL-2.0 Group: Amusements/Games/3D/Shoot # md2tool is the one being GPL-2.0-only Url: http://dengine.net/ #DL-URL: http://downloads.sf.net/deng/doomsday-1.11.0.tar.gz Source: %name-%version.tar.xz Source2: %name-rpmlintrc Patch3: deng-va-list.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: Mesa-devel BuildRequires: SDL-devel BuildRequires: SDL_mixer-devel BuildRequires: gcc-c++ BuildRequires: libpng-devel BuildRequires: libqt4-devel >= 4.6 BuildRequires: ncurses-devel BuildRequires: xorg-x11-devel BuildRequires: xz BuildRequires: zlib-devel %if 0%{?suse_version} Recommends: timidity timidity-eawpats %endif Provides: jdoom = %version-%release Provides: jheretic = %version-%release Provides: jhexen = %version-%release Obsoletes: deng < %version-%release Provides: deng = %version-%release %description The Doomsday Engine is a source port with support for Doom, Heretic, and Hexen. It does not support BOOM extensions. %package launcher Summary: Graphical launcher for Doomsday Group: Amusements/Games/3D/Shoot Requires: %name = %version %if 0%{?fedora_version} BuildRequires: python Requires: wxPython %else %py_requires Requires: python-wxWidgets %endif %if 0%{?suse_version} >= 1130 || 0%{?fedora_version} BuildArch: noarch %endif %description launcher Snowberry is the official frontend of the Doomsday Engine. It is a portable graphical game launcher, with support for configuring the various types of games supported by Doomsday. It offers to save your settings for launching a particular game (e.g., Doom). %prep %if 0%{?__xz:1} %setup -q %else tar --use=xz -xf "%{S:0}"; %setup -DTq %endif %patch -P 3 -p1 %build pushd doomsday; find . -type f -name "*.h" -exec perl -i -pe 's{__DATE__}{""}gs' "{}" "+"; %if 0%{?fedora_version} alias qmake="qmake-qt4"; %endif qmake QMAKE_CFLAGS+="%optflags" QMAKE_CXXFLAGS+="%optflags" \ QMAKE_STRIP="true" DENG_LIB_DIR="%_libdir"; make %{?_smp_mflags}; popd; %install b="%buildroot"; pushd doomsday/; make install INSTALL_ROOT="$b"; mkdir -p "$b/%_libexecdir/%name"; mv "$b/%_bindir"/{md2tool,texc} "$b/%_libexecdir/%name/"; popd; mkdir -p "$b/%_sysconfdir/doomsday"; cat >"$b/%_sysconfdir/doomsday/paths" <<-EOF basedir: %_datadir/doomsday libdir: %_libdir/doomsday iwaddir: %_datadir/doom EOF %post echo "INFO: %name: The global IWAD directory is %_datadir/doom."; /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %dir %_sysconfdir/doomsday %config %_sysconfdir/doomsday/paths %_bindir/doomsday* %_libdir/libdeng*.so* %_libdir/%name/ %dir %_datadir/%name/ %_datadir/%name/data/ %_datadir/%name/icons/ %_datadir/%name/modules/ %_datadir/applications/*.desktop %_mandir/man6/doomsday.6* %_libexecdir/%name/ %files launcher %defattr(-,root,root) %_bindir/launch-doomsday %dir %_datadir/%name/ %_datadir/%name/snowberry %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