summaryrefslogtreecommitdiffstats
path: root/knights.spec
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
commita8c9924456e5335c964e4e55b2dde1963c88726f (patch)
treef5bf107ba079ae460536da778ce2da5e6c68aa69 /knights.spec
downloadknights-a8c9924456e5335c964e4e55b2dde1963c88726f.tar.gz
knights-a8c9924456e5335c964e4e55b2dde1963c88726f.zip
Added KDE3 version of Knights
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights.spec')
-rw-r--r--knights.spec95
1 files changed, 95 insertions, 0 deletions
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. <tcorbin@users.sourceforge.net>
+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
+