Accepting request 827597 from home:dheidler
Clean spec OBS-URL: https://build.opensuse.org/request/show/827597 OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=2
This commit is contained in:
parent
8233e268be
commit
7021bf21dd
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package emptyepsilon
|
# spec file for package emptyepsilon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,23 +12,25 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: emptyepsilon
|
Name: emptyepsilon
|
||||||
Version: 2020.08.07
|
Version: 2020.08.07
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://daid.github.io/EmptyEpsilon/
|
|
||||||
Summary: Open source spaceship bridge simulator
|
Summary: Open source spaceship bridge simulator
|
||||||
License: GPL-2.0
|
License: GPL-2.0-only
|
||||||
Group: Games
|
Group: Amusements/Games/Other
|
||||||
|
URL: https://daid.github.io/EmptyEpsilon/
|
||||||
Source: EmptyEpsilon-%{version}.tar.gz
|
Source: EmptyEpsilon-%{version}.tar.gz
|
||||||
Source1: SeriousProton-%{version}.tar.gz
|
Source1: SeriousProton-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: cmake
|
||||||
BuildRequires: cmake gcc gcc-c++ xorg-x11 xorg-x11-devel
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: sfml2-devel
|
BuildRequires: sfml2-devel
|
||||||
BuildArch: x86_64
|
BuildRequires: xorg-x11
|
||||||
|
BuildRequires: xorg-x11-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
EmptyEpsilon places you in the roles of a spaceship's bridge officers, like those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, the best experience involves 6 players working together on each ship.
|
EmptyEpsilon places you in the roles of a spaceship's bridge officers, like those seen in Star Trek. While you can play EmptyEpsilon alone or with friends, the best experience involves 6 players working together on each ship.
|
||||||
@ -42,25 +44,24 @@ sed 's|new Engine();|chdir(RESOURCE_BASE_DIR); new Engine();|' -i EmptyEpsilon-E
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
cmake -DSERIOUS_PROTON_DIR="$RPM_SOURCE_DIR/SeriousProton-EE-%{version}" \
|
cmake -DSERIOUS_PROTON_DIR="$RPM_SOURCE_DIR/SeriousProton-EE-%{version}" \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
-DCPACK_PACKAGE_VERSION_MAJOR="$(echo %{version} | cut -d. -f1)" \
|
||||||
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
-DCPACK_PACKAGE_VERSION_MINOR="$(echo %{version} | cut -d. -f2)" \
|
||||||
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
|
-DCPACK_PACKAGE_VERSION_PATCH="$(echo %{version} | cut -d. -f3)" \
|
||||||
-DOpenGL_GL_PREFERENCE=GLVND \
|
-DOpenGL_GL_PREFERENCE=GLVND \
|
||||||
$RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}
|
$RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}
|
||||||
make -j 8
|
%make_build -j 8
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install
|
||||||
install -Dvm 644 $RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}/README.md -t "$RPM_BUILD_ROOT/usr/share/doc/emptyepsilon"
|
install -Dvm 644 $RPM_SOURCE_DIR/EmptyEpsilon-EE-%{version}/README.md -t "%{buildroot}%{_datadir}/doc/emptyepsilon"
|
||||||
mv -v "$RPM_BUILD_ROOT/usr/script_reference.html" "$RPM_BUILD_ROOT/usr/share/doc/emptyepsilon"
|
mv -v "%{buildroot}%{_prefix}/script_reference.html" "%{buildroot}%{_datadir}/doc/emptyepsilon"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
# You may have to add additional files here (documentation and binaries mostly)
|
# You may have to add additional files here (documentation and binaries mostly)
|
||||||
/usr/bin/EmptyEpsilon
|
%{_bindir}/EmptyEpsilon
|
||||||
/usr/share/doc/emptyepsilon/
|
%{_datadir}/doc/emptyepsilon/
|
||||||
/usr/share/emptyepsilon/
|
%{_datadir}/emptyepsilon/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user