|
|
7c58f5b |
%undefine __cmake_in_source_build
|
|
|
7c58f5b |
|
|
|
6e82bc8 |
%global commit0 1c68b1e2b13bc113cbf41f142f2105f446a3cdce
|
|
|
6e82bc8 |
%global cdate0 20180601
|
|
|
a0c2a96 |
|
|
|
a0c2a96 |
%global engine dreamer
|
|
|
a336c12 |
|
|
|
a336c12 |
Name: dreamchess
|
|
|
6e82bc8 |
Version: 0.3.0
|
|
|
6aa6497 |
Release: 0.11.%{cdate0}git%{?dist}
|
|
|
a336c12 |
Summary: Portable chess game
|
|
|
6e82bc8 |
# GPLv2+ generally for most of sources
|
|
|
6e82bc8 |
# but BSD for dreamchess/src/include/gamegui/queue.h
|
|
|
a336c12 |
License: GPLv3+ and BSD
|
|
|
a336c12 |
URL: http://www.%{name}.org/
|
|
|
6e82bc8 |
Source0: https://github.com/%{name}/%{name}/archive/%{commit0}.tar.gz#/%{name}-%{commit0}.tar.gz
|
|
|
6e82bc8 |
|
|
|
6e82bc8 |
BuildRequires: gcc-c++
|
|
|
6e82bc8 |
BuildRequires: cmake
|
|
|
6e82bc8 |
BuildRequires: bison flex
|
|
|
a336c12 |
|
|
|
6e82bc8 |
BuildRequires: SDL2-devel
|
|
|
6e82bc8 |
BuildRequires: SDL2_image-devel
|
|
|
6e82bc8 |
BuildRequires: SDL2_mixer-devel
|
|
|
6e82bc8 |
BuildRequires: pugixml-devel
|
|
|
6e82bc8 |
BuildRequires: glew-devel
|
|
|
6e82bc8 |
BuildRequires: help2man
|
|
|
6e82bc8 |
BuildRequires: desktop-file-utils
|
|
|
a336c12 |
|
|
|
e6decd0 |
# icons get installed into hicolor folders
|
|
|
e6decd0 |
Requires: hicolor-icon-theme
|
|
|
e6decd0 |
|
|
|
a336c12 |
Requires: chessprogram
|
|
|
a0c2a96 |
|
|
|
6e82bc8 |
%if 0%{?fedora}
|
|
|
a0c2a96 |
Suggests: %{name}-engine
|
|
|
9a65408 |
Suggests: gnuchess
|
|
|
9a65408 |
%endif
|
|
|
a336c12 |
|
|
|
a336c12 |
Requires: %{name}-data = %{version}-%{release}
|
|
|
a336c12 |
|
|
|
a336c12 |
%description
|
|
|
a336c12 |
DreamChess is an open source chess game.
|
|
|
a336c12 |
|
|
|
a336c12 |
Features:
|
|
|
a336c12 |
- 3D OpenGL graphics
|
|
|
a336c12 |
- various chess board sets: from classic wooden to flat figurines
|
|
|
a336c12 |
- music, sound effects
|
|
|
a336c12 |
- on-screen move lists using SAN notation
|
|
|
a336c12 |
- undo functionality
|
|
|
a336c12 |
- save-games in PGN format
|
|
|
a336c12 |
|
|
|
a336c12 |
A moderately strong chess engine as a sub-package: Dreamer.
|
|
|
a336c12 |
|
|
|
a336c12 |
|
|
|
a336c12 |
%package engine
|
|
|
a336c12 |
Summary: A moderately strong chess engine for the game DreamChess
|
|
|
a336c12 |
License: GPLv3+
|
|
|
a336c12 |
Provides: chessprogram
|
|
|
a336c12 |
|
|
|
6e82bc8 |
%if 0%{?fedora}
|
|
|
6e82bc8 |
Supplements: %{name}
|
|
|
a0c2a96 |
%endif
|
|
|
a0c2a96 |
|
|
|
a336c12 |
%description engine
|
|
|
a336c12 |
Should this chess engine be too weak for you, then you can use any other
|
|
|
a336c12 |
XBoard-compatible chess engine, including the popular Crafty and GNU Chess.
|
|
|
a336c12 |
|
|
|
a336c12 |
|
|
|
a336c12 |
%package data
|
|
|
a336c12 |
Summary: Data files for the game DreamChess
|
|
|
a336c12 |
BuildArch: noarch
|
|
|
a336c12 |
Requires: %{name} = %{version}-%{release}
|
|
|
a336c12 |
|
|
|
a336c12 |
%description data
|
|
|
a336c12 |
Data files for the game DreamChess:
|
|
|
a336c12 |
Boards, Pieces, Sounds, Styles, Themes.
|
|
|
a336c12 |
|
|
|
a336c12 |
|
|
|
a336c12 |
%prep
|
|
|
6e82bc8 |
%autosetup -n %{name}-%{commit0}
|
|
|
a336c12 |
|
|
|
a336c12 |
%build
|
|
|
7c58f5b |
%cmake \
|
|
|
6e82bc8 |
-DCMAKE_INSTALL_DOCDIR=%{_docdir}/%{name}
|
|
|
7c58f5b |
%cmake_build
|
|
|
0e2128f |
# generate manpage
|
|
|
7c58f5b |
help2man -o %{name}.1 --no-discard-stderr \
|
|
|
6e82bc8 |
--version-string='%{version}' -v'%{release}' \
|
|
|
5970667 |
%{_vpath_builddir}/%{name}/src/%{name}
|
|
|
a336c12 |
|
|
|
a336c12 |
%install
|
|
|
7c58f5b |
%cmake_install
|
|
|
6e82bc8 |
install -D -t %{buildroot}%{_mandir}/man1 %{name}.1
|
|
|
e6decd0 |
|
|
|
e6decd0 |
|
|
|
e6decd0 |
%check
|
|
|
e6decd0 |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
a336c12 |
|
|
|
a336c12 |
|
|
|
a336c12 |
%files
|
|
|
6e82bc8 |
%license LICENSE.txt
|
|
|
6e82bc8 |
%doc README.md NEWS.md AUTHORS.txt LICENSE.txt
|
|
|
a336c12 |
%{_bindir}/%{name}
|
|
|
e6decd0 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
a336c12 |
%{_datadir}/applications/%{name}.desktop
|
|
|
6e82bc8 |
%{_mandir}/man*/%{name}.*
|
|
|
a336c12 |
|
|
|
a336c12 |
%files engine
|
|
|
6e82bc8 |
%license LICENSE.txt
|
|
|
6e82bc8 |
%doc AUTHORS.txt
|
|
|
a336c12 |
%{_bindir}/%{engine}
|
|
|
6e82bc8 |
%{_mandir}/man*/%{engine}.*
|
|
|
a336c12 |
|
|
|
a336c12 |
%files data
|
|
|
6e82bc8 |
%license LICENSE.txt
|
|
|
52bddf3 |
%{_datadir}/%{name}/
|
|
|
a336c12 |
|
|
|
a336c12 |
|
|
|
a336c12 |
%changelog
|
|
|
6aa6497 |
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.11.20180601git
|
|
|
6aa6497 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
6aa6497 |
|
|
|
85f7874 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.10.20180601git
|
|
|
85f7874 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
85f7874 |
|
|
|
ac80ec4 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.9.20180601git
|
|
|
ac80ec4 |
- Second attempt - Rebuilt for
|
|
|
ac80ec4 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
ac80ec4 |
|
|
|
2d67703 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.8.20180601git
|
|
|
2d67703 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2d67703 |
|
|
|
f9a2ee3 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.7.20180601git
|
|
|
f9a2ee3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
f9a2ee3 |
|
|
|
267e657 |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.6.20180601git
|
|
|
267e657 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
267e657 |
|
|
|
25cfac2 |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-0.5.20180601git
|
|
|
25cfac2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
25cfac2 |
|
|
|
36dff19 |
* Thu Aug 23 2018 Nicolas Chauvet <kwizart@gmail.com> - 0.3.0-0.4.20180601git
|
|
|
36dff19 |
- Rebuilt for glew 2.1.0
|
|
|
36dff19 |
|
|
|
953fa58 |
* Tue Jul 31 2018 Florian Weimer <fweimer@redhat.com> - 0.3.0-0.3.20180601git
|
|
|
953fa58 |
- Rebuild with fixed binutils
|
|
|
953fa58 |
|
|
|
52bddf3 |
* Sun Jul 29 2018 Raphael Groner <projects.rg@smart.ms> - 0.3.0-0.2.20180601git
|
|
|
52bddf3 |
- drop accidently duplicated files
|
|
|
52bddf3 |
|
|
|
6e82bc8 |
* Sat Jul 28 2018 Raphael Groner <projects.rg@smart.ms> - 0.3.0-0.1.20180601git
|
|
|
6e82bc8 |
- new version, use latest snapshot
|
|
|
6e82bc8 |
- switch to cmake
|
|
|
6e82bc8 |
- add new build dependencies, e.g. SDL2
|
|
|
6e82bc8 |
- cleanup generally
|
|
|
6e82bc8 |
|
|
|
a451dea |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-20.RC2
|
|
|
a451dea |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
a451dea |
|
|
|
5b90df7 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-19.RC2
|
|
|
5b90df7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
5b90df7 |
|
|
|
0286cad |
* Thu Jan 11 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-18.RC2
|
|
|
0286cad |
- Remove obsolete scriptlets
|
|
|
0286cad |
|
|
|
b0c755c |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-17.RC2
|
|
|
b0c755c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
b0c755c |
|
|
|
c8515ab |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-16.RC2
|
|
|
c8515ab |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
c8515ab |
|
|
|
7af5af9 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-15.RC2
|
|
|
7af5af9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7af5af9 |
|
|
Orion Poplawski |
5693fc3 |
* Tue Jan 10 2017 Orion Poplawski <orion@cora.nwra.com> - 0.2.1-14.RC2
|
|
Orion Poplawski |
5693fc3 |
- Rebuild for glew 2.0.0
|
|
Orion Poplawski |
5693fc3 |
|
|
|
6458a35 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-13.RC2
|
|
|
6458a35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
6458a35 |
|
|
|
9b3044d |
* Thu Jan 14 2016 Adam Jackson <ajax@redhat.com> - 0.2.1-12.RC2
|
|
|
9b3044d |
- Rebuild for glew 1.13
|
|
|
9b3044d |
|
|
|
e155d71 |
* Mon Aug 31 2015 Raphael Groner <projects.rg@smart.ms> - 0.2.1-11.RC2
|
|
|
e155d71 |
- upstream moved to GitHub
|
|
|
e155d71 |
|
|
|
57d9749 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-10.RC2
|
|
|
57d9749 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
57d9749 |
|
|
Raphael Groner |
472871e |
* Wed Jan 28 2015 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-9.RC2
|
|
Raphael Groner |
472871e |
- introduce license macro
|
|
Raphael Groner |
472871e |
|
|
|
0e2128f |
* Sat Jan 03 2015 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-8.RC2
|
|
|
0e2128f |
- add manpage
|
|
|
0e2128f |
|
|
|
53f8b20 |
* Sat Dec 27 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-7.RC2
|
|
|
53f8b20 |
- add glew as dependency
|
|
|
53f8b20 |
- add icon cache scriptlets
|
|
|
53f8b20 |
|
|
|
34249fa |
* Tue Dec 23 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-6.RC2
|
|
|
34249fa |
- v0.2.1 RC2
|
|
|
e6decd0 |
- use proper download url
|
|
|
e6decd0 |
- honor icons & desktop file from make install
|
|
|
34249fa |
|
|
|
a0c2a96 |
* Tue Oct 07 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-5.1.RC1
|
|
|
a0c2a96 |
- temporarily, disable weak dependencies due to unclear policy
|
|
|
a0c2a96 |
|
|
|
9a65408 |
* Mon Sep 29 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-5.RC1
|
|
|
9a65408 |
- use desktop file from source tarball
|
|
|
9a65408 |
- enable Suggests (rpm 4.12)
|
|
|
9a65408 |
|
|
|
a336c12 |
* Sun Sep 14 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-4.RC1
|
|
|
a336c12 |
- fix folder owner
|
|
|
a336c12 |
|
|
|
a336c12 |
* Sun Sep 14 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-3.RC1
|
|
|
a336c12 |
- fix Requires with right version
|
|
|
a336c12 |
- rename dreamer sub-package to just engine
|
|
|
a336c12 |
- licence of engine sub-package
|
|
|
a336c12 |
- spelling for rpmlint
|
|
|
a336c12 |
|
|
|
a336c12 |
* Sat Sep 13 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-2.RC1
|
|
|
a336c12 |
- dreamer engine provides chessprogram as a sub-package
|
|
|
a336c12 |
- description mentions features
|
|
|
a336c12 |
- manpages should not be in doc
|
|
|
a336c12 |
- general cleanup for review
|
|
|
a336c12 |
- proper licences
|
|
|
a336c12 |
- tag for pre-release
|
|
|
a336c12 |
|
|
|
a336c12 |
* Wed Sep 10 2014 Raphael Groner <projects.rg [AT] smart.ms> - 0.2.1-1
|
|
|
a336c12 |
- initial
|