knights/knights.spec

85 lines
2.7 KiB
RPMSpec

Name: knights
Version: 2.5.0
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: http://dl.dropbox.com/u/2888238/Knights/knights-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gnuchess
BuildRequires: kdelibs-devel
BuildRequires: libgcc
BuildRequires: libkdegames-devel
BuildRequires: libqt4-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_kde4 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall -C build
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
%files -f %{name}.lang
%defattr(-,root,root)
%{_kde4_bindir}/knights
%{_kde4_xdgappsdir}/knights.desktop
%{_kde4_datadir}/knights/knightsui.rc
%{_kde4_datadir}/knights/themes
%{_kde4_kcfgdir}/knights.kcfg
%{_kde4_configdir}/knights.knsrc
%{_kde4_icondir}/hicolor/*/apps/knights.png
%{_datadir}/dbus-1/interfaces/org.kde.Knights.xml
%dir %{_kde4_htmldir}/*/knights
%{_kde4_htmldir}/*/knights/*
%doc README README.themes
%changelog
* 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