From a8c9924456e5335c964e4e55b2dde1963c88726f Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 17 Feb 2010 01:24:36 +0000 Subject: Added KDE3 version of Knights git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- knights.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 knights.spec (limited to 'knights.spec') diff --git a/knights.spec b/knights.spec new file mode 100644 index 0000000..a67ba4b --- /dev/null +++ b/knights.spec @@ -0,0 +1,95 @@ +# +# Knights Spec File +# +# Writen with Knights 0.4.9 +# +%define name knights +%define version 0.4.9 +%define release 1mdk + +Summary: A chess interface for the K Desktop Environment +Name: %{name} +Version: %{version} +Release: %{release} +Copyright: GPL +Group: Games/Boards +Source:%{name}-%{version}.tar.gz +URL: http://knights.sourceforge.net/ +Distribution: Mandrake Linux +Vendor: Mandrake +Packager: Troy Corbin Jr. +Requires: kde +BuildRoot: %{_tmppath}/%{name}-buildroot + +%description +A chess interface for the K Desktop Environment. Knights works with all +XBoard compatible chess engines, FICS, and .pgn files. + +%prep +rm -rf $RPM_BUILD_ROOT +%setup -a 0 + +%build +./configure i586-mandrake-linux \ + --prefix=/usr \ + --exec-prefix=/usr \ + --bindir=/usr/bin \ + --sbindir=/usr/sbin \ + --sysconfdir=/etc \ + --datadir=/usr/share \ + --includedir=/usr/include \ + --libdir=/usr/lib \ + --libexecdir=/usr/lib \ + --localstatedir=/var/lib \ + --sharedstatedir=/usr/com \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info +%make +%install +# The menu entry used by debian and mandrake +cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/knights +command="/usr/bin/knights" +icon="knights.pgn" +needs="kde" +section="Amusement/Boards" +title="Knights" +longtitle="A graphical chess interface for KDE" +EOF +%makeinstall + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,0755) +%doc README COPYING AUTHORS ChangeLog CreatingThemes TODO INSTALL +/usr/bin/knights +/usr/share/doc/HTML/en/knights/knights-01.png +/usr/share/doc/HTML/en/knights/knights-02.png +/usr/share/doc/HTML/en/knights/configure-02.png +/usr/share/doc/HTML/en/knights/configure-1.png +/usr/share/doc/HTML/en/knights/configure-3.png +/usr/share/doc/HTML/en/knights/index.docbook +/usr/share/apps/knights/splash.png +/usr/share/apps/knights/wizard.png +/usr/share/apps/knights/themes/KBDefault.tar.gz +/usr/share/apps/knights/themes/KCDefault.tar.gz +/usr/share/apps/knights/icon-display.png +/usr/share/apps/knights/icon-general.png +/usr/share/apps/knights/icon-console-bottom.png +/usr/share/apps/knights/icon-console-detach.png +/usr/share/apps/knights/icon-console-side.png +/usr/share/icons/locolor/16x16/apps/knights.png +/usr/share/icons/locolor/32x32/apps/knights.png +/usr/share/icons/hicolor/16x16/apps/knights.png +/usr/share/icons/hicolor/32x32/apps/knights.png +/usr/share/icons/hicolor/48x48/apps/knights.png +/usr/share/icons/hicolor/64x64/apps/knights.png +/usr/share/icons/locolor/16x16/mimetypes/pgn.png +/usr/share/icons/locolor/32x32/mimetypes/pgn.png +/usr/share/icons/hicolor/16x16/mimetypes/pgn.png +/usr/share/icons/hicolor/32x32/mimetypes/pgn.png +/usr/share/icons/hicolor/48x48/mimetypes/pgn.png +/usr/share/icons/hicolor/64x64/mimetypes/pgn.png +/usr/share/applnk/Amusement/Boards/knights.desktop + -- cgit v1.2.1