forked from pool/slade
de9773f5a1
OBS-URL: https://build.opensuse.org/request/show/411423 OBS-URL: https://build.opensuse.org/package/show/games:tools/slade?expand=0&rev=1
70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package slade
|
|
#
|
|
# 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: slade
|
|
Version: 3.1.0.5
|
|
Release: 0
|
|
Summary: An editor for DOOM maps and WAD/PK3 archives
|
|
License: GPL-2.0+
|
|
Group: Amusements/Games/3D/Shoot
|
|
Url: http://slade.mancubus.net/
|
|
|
|
Source: https://github.com/sirjuddington/SLADE/archive/%version.tar.gz
|
|
Patch1: basepk3.diff
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: cmake
|
|
BuildRequires: freeimage-devel
|
|
BuildRequires: ftgl-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: sfml2-devel
|
|
BuildRequires: wxWidgets-3_0-devel
|
|
BuildRequires: zip
|
|
BuildRequires: pkgconfig(fluidsynth)
|
|
BuildRequires: pkgconfig(gl)
|
|
BuildRequires: pkgconfig(glew)
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
%description
|
|
SLADE3 is a modern editor for Doom-engine based games and source
|
|
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
|
|
%setup -qn SLADE-%version
|
|
%patch -P 1 -p1
|
|
|
|
%build
|
|
%cmake
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
mkdir -p "%buildroot/%_bindir" "%buildroot/%_datadir/%name"
|
|
pushd build/
|
|
install -pm0755 slade "%buildroot/%_bindir/"
|
|
install -pm0644 slade.pk3 "%buildroot/%_datadir/%name/"
|
|
popd
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%_bindir/slade
|
|
%_datadir/%name/
|
|
%doc u*.txt gpl*txt
|
|
|
|
%changelog
|