Hello community,
here is the log from the commit of package black-hole-solver for
openSUSE:Factory checked in at 2020-08-02 12:19:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/black-hole-solver (Old)
and /work/SRC/openSUSE:Factory/.black-hole-solver.new.3592 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "black-hole-solver"
Sun Aug 2 12:19:49 2020 rev:1 rq:823872 version:1.8.0
Changes:
--------
New Changes file:
--- /dev/null 2020-07-16 02:54:20.700682797 +0200
+++
/work/SRC/openSUSE:Factory/.black-hole-solver.new.3592/black-hole-solver.changes
2020-08-02 12:20:04.903343161 +0200
@@ -0,0 +1,4 @@
+-------------------------------------------------------------------
+Mon Jul 27 17:46:00 UTC 2020 - Fabian Vogt <[email protected]>
+
+- Initial commit
New:
----
black-hole-solver-1.8.0.tar.xz
black-hole-solver.changes
black-hole-solver.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ black-hole-solver.spec ++++++
#
# spec file for package black-hole-solver
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%global sover 1
# Missing perl(Env::Path), should also skip some tests like build-process
%global run_tests 0
Name: black-hole-solver
Version: 1.8.0
Release: 0
Summary: The Black Hole Solver Executable
License: MIT
Group: Amusements/Games
URL:
https://www.shlomifish.org/open-source/projects/black-hole-solitaire-solver/
Source:
https://fc-solve.shlomifish.org/downloads/fc-solve/black-hole-solver-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: cmake(Rinutils)
BuildRequires: gcc-c++
BuildRequires: perl(Path::Tiny)
BuildRequires: xxhash-devel
%if %{run_tests}
# For testing
BuildRequires: perl(Env::Path)
BuildRequires: perl(Getopt::Long)
BuildRequires: perl(Test::More)
%endif
%description
This is a solver, written in C, to solve the Solitaire variant called “Black
Hole” and the one called “All in a Row”. It provides a portable C library, and
a command line application that after being fed with a layout will emit the
cards to move.
%package -n libblack_hole_solver%{sover}
Summary: The Black Hole Solitaire Solver dynamic libraries
Group: System/Libraries
%description -n libblack_hole_solver%{sover}
Contains the Black Hole Solitaire library.
%package devel
Summary: Black Hole Solver development headers
Group: Development/Libraries/C and C++
Requires: libblack_hole_solver%{sover} = %{version}
%description devel
Files needed for building applications against Black Hole Solver.
%prep
%autosetup -p3
%build
%cmake -DFCS_AVOID_TCMALLOC=ON -DUSE_SYSTEM_XXHASH=ON -DBUILD_STATIC_LIBRARY=OFF
%cmake_build
%if %{run_tests}
%check
export FCS_TEST_BUILD=0
export FCS_TEST_WITHOUT_VALGRIND=1
%ctest
%endif
%install
%cmake_install
# Fix the .pc file manually for now
sed -i'' 's#/lib$#/%{_lib}#g' %{buildroot}/%{_libdir}/pkgconfig/*.pc
%post -p /sbin/ldconfig -n libblack_hole_solver1
%postun -p /sbin/ldconfig -n libblack_hole_solver1
%files -n libblack_hole_solver1
%{_libdir}/libblack_hole_solver.so.%{sover}
%{_libdir}/libblack_hole_solver.so.%{sover}.*
%files
%license COPYING
%doc README.md NEWS.asciidoc
%{_bindir}/black-hole-solve
%{_mandir}/*/*
%files devel
%{_libdir}/libblack_hole_solver.so
%{_includedir}/black-hole-solver/
%{_libdir}/pkgconfig/*.pc
%changelog