Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
yadex
yadex.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File yadex.spec of Package yadex
# # spec file for package yadex # # Copyright (c) 2016 SUSE LINUX 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: yadex Version: 1.7.0 Release: 0 Summary: Doom level editor License: GPL-2.0+ Group: Productivity/Graphics/Other Url: http://www.teaser.fr/~amajorel/yadex Source0: http://www.teaser.fr/~amajorel/yadex/yadex-1.7.0.tar.gz Source1: yadex.desktop Source2: yadex.png # PATCH-FEATURE-UPSTREAM http://glbsp.sourceforge.net/yadex/Yadex_170_ALL.diff Patch0: http://glbsp.sourceforge.net/yadex/Yadex_170_ALL.diff # PATCH-FEATURE-UPSTREAM -- http://glbsp.sourceforge.net/yadex/Yadex_170_Hexen.diff reditied to be able to patch Patch1: Yadex_170_Hexen.diff # PATCH-FIX-UPSTREAM yadex-1.7.0-64bit.patch Patch2: yadex-1.7.0-64bit.patch # PATCH-FIX-UPSTREAM yadex-1.7.0-destdir.patch Patch3: yadex-1.7.0-destdir.patch # PATCH-FIX-UPSTREAM yadex-1.7.0-datadir.patch Patch4: yadex-1.7.0-datadir.patch # PATCH-FIX-UPSTREAM yadex-1.7.0-gcc41.patch Patch5: yadex-1.7.0-gcc41.patch Patch6: reproducible.patch BuildRequires: gawk BuildRequires: gcc-c++ BuildRequires: update-desktop-files BuildRequires: xorg-x11-devel # Yadex needs an iwad to run. freedoom provides a free iwad that we can use. Recommends: freedoom BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} < 1140 && 0%{?sles_version} > 10 BuildRequires: licenses Requires: licenses %endif %description Yadex is a Doom level (wad) editor for Unix systems running X, including Linux. It supports Doom alpha, Doom beta, Doom, Ultimate Doom, Final Doom, Doom II, Heretic and also, in a more or less limited way, Hexen and Strife. Yadex is descended from DEU 5.21. Therefore, as you might expect, it's a rather low-level editor that requires you to take care of a lot of detail but on the flip side allows you to control very precisely what you are doing. In addition, it has many advanced functions that DEU didn't have, to make certain tedious tasks easy. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 touch -d 2005-01-10 docsrc/preview.html # undo mtime update from Yadex_170_ALL.diff to not embed the build date as SELF_DATE (boo#1047218) %build # Don't use %%configure because this is not an autotools-generated # configure script and will choke on some of the default configure switches. ./configure --prefix=%{_prefix} make CFLAGS="%{optflags}" CXXFLAGS="%{optflags} -std=c++98" %{?_smp_mflags} %install %if 0%{?suse_version} > 1020 for FILE in COPYING COPYING.LIB ; do MD5SUM=$(md5sum $FILE | sed 's/ .*//') if test -f %{_datadir}/doc/licenses/md5/$MD5SUM ; then ln -sf %{_datadir}/doc/licenses/md5/$MD5SUM $FILE fi done %endif make %{?_smp_mflags} DESTDIR=%{buildroot} install # Remove the duplicate man pages rm -f %{buildroot}%{_mandir}/man6/%{name}* iconv --from=ISO-8859-1 --to=UTF-8 docsrc/%{name}.6 > docsrc/%{name}.6.new install -p -m644 docsrc/%{name}.6.new %{buildroot}/%{_mandir}/man6/ # .desktop file integration %suse_update_desktop_file -i %{name} Development GUIDesigner %files %defattr(-,root,root,-) %doc COPYING COPYING.LIB doc/*.html docsrc/*.png %{_bindir}/%{name} %{_bindir}/%{name}-%{version} %{_datadir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/pixmaps/yadex.png %{_mandir}/man6/* %dir %{_sysconfdir}/%{name} %dir %{_sysconfdir}/%{name}/%{version} %config(noreplace) %{_sysconfdir}/%{name}/%{version}/%{name}.cfg %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