forked from pool/surgescript
Compare commits
14 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| ab0b13db6f | |||
| 2653ffa7cd | |||
| 39a1f6d9c4 | |||
| f93a52bf0e | |||
| 65060a13f1 | |||
| 4088c25f34 | |||
| 89320428df | |||
| 26213de576 | |||
| b9e7c623a1 | |||
| 304bb9ee7c | |||
| 5be1a83c07 | |||
| 8618483c28 | |||
| 0562806e24 | |||
| dd22819518 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dbde4b57d9179c117890daea62ce487b5e32245c6fac0657d204c37842378a1b
|
||||
size 483695
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 22 01:46:37 UTC 2025 - Shawn Dunn <sfalken@opensuse.org>
|
||||
|
||||
- Add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to fix FTBFS with cmake4
|
||||
- Add %check section
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 31 19:35:47 UTC 2024 - Carsten Ziepke <kieltux@gmail.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package surgescript
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2020 Artur Iwicki <fedora@svgames.pl>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -25,7 +25,7 @@ Summary: A scripting language for games
|
||||
License: Apache-2.0
|
||||
URL: https://opensurge2d.org
|
||||
Source0: https://github.com/alemart/surgescript/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake >= 3.5
|
||||
BuildRequires: pkgconfig
|
||||
%if 0%{?sle_version} >= 150500 && 0%{?sle_version} < 160000 && 0%{?is_opensuse}
|
||||
BuildRequires: gcc12
|
||||
@@ -84,12 +84,16 @@ export CXX="g++-12"
|
||||
%cmake \
|
||||
-DWANT_SHARED=YES \
|
||||
-DWANT_STATIC=NO \
|
||||
-DWANT_EXECUTABLE=YES
|
||||
-DWANT_EXECUTABLE=YES \
|
||||
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%post -n lib%{name}%{_sover} -p /sbin/ldconfig
|
||||
%postun -n lib%{name}%{_sover} -p /sbin/ldconfig
|
||||
|
||||
|
||||
Reference in New Issue
Block a user