Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
tsc
tsc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File tsc.spec of Package tsc
# # spec file for package tsc # # Copyright (c) 2022 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/ # # tsc is already commonly used for the typescript compiler, so prevent a name conflict %define safename secretchronicles Name: tsc Version: 2.1.0 Release: 0 Summary: The Secret Chronicles of Dr. M. - a 2D platform game in classic style License: GPL-3.0-or-later Group: Amusements/Games/Action/Arcade URL: https://secretchronicles.org Source: https://ftp.secretchronicles.org/releases/TSC-%{version}.tar.gz # PATCH-FIX-OPENSUSE change-name.patch -- Prevent name conflict with typescript compiler Patch0: change-name.patch # PATCH-FEATURE-UPSTREAM 0001-Replace-tinyclipboard-with-SFML-closes-690.patch -- https://github.com/Secretchronicles/TSC/pull/695 Patch1: 0001-Replace-tinyclipboard-with-SFML-closes-690.patch # PATCH-FIX-UPSTREAM 0001-mruby-use-RANGE_-macros.patch -- https://github.com/Secretchronicles/TSC/pull/697 Patch2: 0001-mruby-use-RANGE_-macros.patch # PATCH-FIX-UPSTREAM a05d7fd.patch -- Fix missing include for std::sort Patch3: https://github.com/Secretchronicles/TSC/commit/a05d7fd.patch # PATCH-FIX-UPSTREAM add-missing-fstream-header.patch -- https://github.com/Secretchronicles/TSC/pull/702 Patch4: add-missing-fstream-header.patch BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: hicolor-icon-theme BuildRequires: libboost_atomic-devel BuildRequires: libboost_chrono-devel BuildRequires: libboost_filesystem-devel BuildRequires: libboost_thread-devel BuildRequires: mruby-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(CEGUI-0-OPENGL) # glu is an internal dependency of glew (glew pulled in by CEGUI) but not tracked on Leap BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(libpcre) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libxml++-3.0) BuildRequires: pkgconfig(sfml-all) Requires: %{name}-data >= %{version} %description The Secret Chronicles of Dr. M. (TSC) is a 2D sidescrolling platform game, with a rich set of graphics, music, and an advanced level editor that allows creating custom levels. The level editor allows for in-game scripting. %package data Summary: Games data for The Secret Chronicles Group: Amusements/Games/Action/Arcade BuildArch: noarch %description data This package contains data files for The Secret Chronicles of Dr. M., a 2D sidescrolling platform game. %package doc Summary: Scripting documentation for The Secret Chronicles Group: Amusements/Games/Action/Arcade BuildArch: noarch %description doc This package contains the scripting documentation for The Secret Chronicles of Dr. M., a 2D sidescrolling platform game. %prep %autosetup -p1 -n TSC-%{version} # from Patch1 rm -rf tinyclipboard %build # RPATH is required for CEGUI modules %cmake \ -DCMAKE_SKIP_RPATH=OFF \ -DUSE_LIBXMLPP3=ON \ -DUSE_SYSTEM_MRUBY=ON \ -DENABLE_NLS=ON \ -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON \ -DCMAKE_INSTALL_DOCDIR=%{_docdir} \ -DCMAKE_INSTALL_DATADIR=%{_datadir}/%{safename} \ -DBINARY_NAME=%{safename} \ ../tsc %cmake_build %install %cmake_install %fdupes %{buildroot}%{_datadir} %files %license COPYING %doc README.md %{_bindir}/%{safename} %{_datadir}/icons/hicolor/*/apps/org.secretchronicles.TSC.png %{_datadir}/applications/org.secretchronicles.TSC.desktop %{_datadir}/metainfo/org.secretchronicles.TSC.metainfo.xml %{_mandir}/man6/%{safename}.6%{?ext_man} %files data %{_datadir}/%{safename}/ %files doc %doc %{_docdir}/%{safename} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor