Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:GameOver
cutechess
cutechess.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cutechess.spec of Package cutechess
# # spec file for package cutechess # # Copyright (c) 2023 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/ # Name: cutechess Version: 1.3.1 Release: 0 Summary: For playing chess License: GPL-3.0-or-later AND MIT Group: Amusements/Games/Board/Chess URL: https://github.com/cutechess/cutechess Source: %{name}-%{version}.tar.gz BuildRequires: cmake >= 3.16.0 #uildRequires: cmake(Qt5LinguistTools) BuildRequires: gcc-c++ BuildRequires: hicolor-icon-theme BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) >= 5.15 BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) Recommends: sloppy022 Suggests: stockfish %description Cute Chess is a graphical user interface, command-line interface and a library for playing chess. Cute Chess is written in C++ using the Qt framework. %package doc Summary: Documentation for %{name} Group: Documentation/Other BuildRequires: doxygen BuildRequires: fdupes Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Doxygen generated documentations for %{name}. %prep %autosetup %build pushd ./docs/api/ doxygen -g api.doxygen doxygen api.doxygen popd %define __builder ninja %cmake %ninja_build %install %ninja_install -C build rm -rf %{buildroot}%{_datadir}/icons/application for i in 16 24 32 64 128 256 512 ; do install -Dm 0644 projects/gui/res/icons/%{name}_$i\x$i.png %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{name}.png done install -Dm 0644 projects/gui/res/icons/%{name}_32x32.xpm %{buildroot}%{_datadir}/pixmaps/%{name}.xpm install -dm 0755 %{buildroot}%{_docdir}/%{name}-%{version}-doxygen/ cp -a docs/api/html %{buildroot}%{_docdir}/%{name}-%{version}-doxygen/ %fdupes -s %{buildroot}%{_docdir}/%{name}-%{version}-doxygen/ %check %ctest %files %doc AUTHORS CHANGELOG.md README.md TODO %{_bindir}/%{name}* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.xpm %{_mandir}/man?/%{name}-*.?%{?ext_man} %license COPYING %files doc %{_docdir}/%{name}-%{version}-doxygen/ %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