2016-07-17 11:51:12 +02:00
|
|
|
#
|
|
|
|
# spec file for package slade
|
|
|
|
#
|
2024-11-27 14:49:02 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-07-17 11:51:12 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2020-04-18 20:36:37 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-07-17 11:51:12 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: slade
|
2024-11-27 14:49:02 +01:00
|
|
|
Version: 3.2.6
|
2016-07-17 11:51:12 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: An editor for DOOM maps and WAD/PK3 archives
|
2018-04-19 09:14:00 +02:00
|
|
|
License: GPL-2.0-or-later
|
2016-07-17 11:51:12 +02:00
|
|
|
Group: Amusements/Games/3D/Shoot
|
2020-04-18 20:36:37 +02:00
|
|
|
URL: https://github.com/sirjuddington/SLADE
|
2024-11-27 17:39:40 +01:00
|
|
|
Source: https://github.com/sirjuddington/SLADE/archive/refs/tags/%version.tar.gz
|
2016-12-28 20:58:31 +01:00
|
|
|
Patch1: basepk3.diff
|
2020-04-18 20:36:37 +02:00
|
|
|
Patch2: wx.diff
|
2020-06-22 22:16:48 +02:00
|
|
|
Patch3: clzma.diff
|
2020-07-02 18:31:32 +02:00
|
|
|
Patch4: 0001-build-allow-deactivating-the-crash-handler-at-build-.patch
|
2024-11-27 17:39:40 +01:00
|
|
|
Patch10: disable_sse.patch
|
2016-12-28 20:58:31 +01:00
|
|
|
BuildRequires: ImageMagick
|
2020-04-18 20:36:37 +02:00
|
|
|
BuildRequires: cmake >= 3.1
|
2016-07-17 11:51:12 +02:00
|
|
|
BuildRequires: freeimage-devel
|
2024-11-27 14:49:02 +01:00
|
|
|
BuildRequires: gcc-c++ >= 8
|
2020-10-11 11:19:07 +02:00
|
|
|
BuildRequires: pkg-config
|
2020-05-26 11:40:07 +02:00
|
|
|
BuildRequires: strip-nondeterminism
|
2016-12-19 22:41:58 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2024-11-27 14:49:02 +01:00
|
|
|
BuildRequires: wxWidgets-devel
|
2018-06-12 14:50:02 +02:00
|
|
|
BuildRequires: zip
|
2020-06-22 22:16:48 +02:00
|
|
|
BuildRequires: pkgconfig(clzma)
|
2016-07-17 11:51:12 +02:00
|
|
|
BuildRequires: pkgconfig(fluidsynth)
|
2017-02-10 02:56:43 +01:00
|
|
|
BuildRequires: pkgconfig(ftgl)
|
2016-07-17 11:51:12 +02:00
|
|
|
BuildRequires: pkgconfig(gl)
|
|
|
|
BuildRequires: pkgconfig(glew)
|
2016-12-19 22:41:58 +01:00
|
|
|
BuildRequires: pkgconfig(libcurl)
|
2024-11-27 14:49:02 +01:00
|
|
|
BuildRequires: pkgconfig(libmpg123)
|
2017-02-10 02:56:43 +01:00
|
|
|
BuildRequires: pkgconfig(sfml-all)
|
2016-07-17 11:51:12 +02:00
|
|
|
BuildRequires: pkgconfig(x11)
|
2020-06-23 00:05:07 +02:00
|
|
|
Provides: bundled(dumb) = 0.9.3
|
2016-07-17 11:51:12 +02:00
|
|
|
|
|
|
|
%description
|
2020-06-22 22:16:48 +02:00
|
|
|
SLADE is an editor for Doom-engine based games and source
|
2016-07-17 11:51:12 +02:00
|
|
|
ports. It has the ability to view, modify, and write many different
|
|
|
|
game-specific formats, and even convert between some of them, or
|
|
|
|
from/to other generic formats such as PNG.
|
|
|
|
|
|
|
|
%prep
|
2024-11-27 17:39:40 +01:00
|
|
|
%autosetup -p1 -n SLADE-%version
|
2016-07-17 11:51:12 +02:00
|
|
|
|
|
|
|
%build
|
2020-04-18 20:36:37 +02:00
|
|
|
%define _lto_cflags %nil
|
2020-07-02 18:31:32 +02:00
|
|
|
%cmake -DNO_WEBVIEW=ON -DWX_GTK3=OFF -DNO_CRASHHANDLER=ON \
|
2020-06-22 22:16:48 +02:00
|
|
|
-DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
|
2020-10-11 11:19:07 +02:00
|
|
|
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING="%optflags" \
|
|
|
|
-DNO_LUA:BOOL=TRUE
|
|
|
|
%cmake_build
|
2016-07-17 11:51:12 +02:00
|
|
|
|
|
|
|
%install
|
2017-05-08 09:54:42 +02:00
|
|
|
strip-nondeterminism build/slade.pk3
|
2021-04-29 13:59:55 +02:00
|
|
|
%cmake_install
|
2016-12-19 22:41:58 +01:00
|
|
|
|
2016-07-17 11:51:12 +02:00
|
|
|
%files
|
2024-11-27 14:49:02 +01:00
|
|
|
%license LICENSE
|
2020-04-18 20:36:37 +02:00
|
|
|
%doc README.md
|
2016-12-28 20:58:31 +01:00
|
|
|
%_bindir/slade
|
|
|
|
%_datadir/slade3/
|
2024-11-27 14:49:02 +01:00
|
|
|
%_datadir/icons/hicolor/scalable/apps/net.mancubus.SLADE.svg
|
2021-04-29 13:59:55 +02:00
|
|
|
%_datadir/applications/net.mancubus.SLADE.desktop
|
|
|
|
%_datadir/metainfo/net.mancubus.SLADE.metainfo.xml
|
2016-07-17 11:51:12 +02:00
|
|
|
|
|
|
|
%changelog
|