knights/knights.spec

115 lines
3.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: knights
Version: 19.08.1
Release: 1mamba
Summary: A KDE chess frontend to server chess engines including GNUChess
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kde-apps.org/content/show.php/Knights?content=122046
Source: https://download.kde.org/stable/applications/%{version}/src/knights-%{version}.tar.xz
#Source: http://dl.dropbox.com/u/2888238/Knights/knights-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkpackage-devel
BuildRequires: libkplotting-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkwallet-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libplasma-framework-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: gnuchess >= 5.07
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
Knights aims to be the ultimate chess resource on your computer. Written for the K Desktop Environment, it's designed to be both friendly to new chess players and functional for Grand Masters. Here's a quick list of Knights' key features:
* Play against yourself, against computer opponents, or against others over the Internet
* Customize your board and pieces with over 30 different themes, or make your own!
* Audio cues help alert you to important events
* Novice players can preview potential moves
* Save your unfinished matches and play them again later
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/knights.knsrc
%{_bindir}/knights
%{_datadir}/applications/org.kde.knights.desktop
%{_datadir}/config.kcfg/knights.kcfg
%{_datadir}/dbus-1/interfaces/org.kde.Knights.xml
%dir %{_datadir}/knights
%dir %{_datadir}/knights/sounds
%{_datadir}/knights/sounds/*
%dir %{_datadir}/knights/themes
%{_datadir}/knights/themes/*
%{_datadir}/kxmlgui5/knights/knightsui.rc
%{_datadir}/metainfo/org.kde.knights.appdata.xml
%{_datadir}/qlogging-categories5/knights.categories
%{_datadir}/icons/hicolor/*/apps/knights.png
%doc LICENSE
%changelog
* Tue Sep 10 2019 Automatic Build System <autodist@mambasoft.it> 19.08.1-1mamba
- automatic version update by autodist
* Tue Sep 03 2019 Automatic Build System <autodist@mambasoft.it> 19.08.0-1mamba
- automatic version update by autodist
* Sun Aug 04 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 19.04.3-1mamba
- update to 19.04.3
* Wed Aug 22 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.0-1mamba
- update to 2.5.0
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.1-1mamba
- update to 2.1.1
* Thu Nov 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.4-4mamba
- rebuilt without arts
* Thu May 21 2009 Automatic Build System <autodist@mambasoft.it> 0.6.4-3mamba
- fixed group and rebuilt
* Sun Jun 01 2008 gil <puntogil@libero.it> 0.6.4-2mamba
- add new buildrequires
* Fri Mar 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.4-1qilnx
- update to version 0.6.4 by autospec
* Thu Nov 25 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6-1qilnx
- package created by autospec