]> git.pld-linux.org Git - packages/Sjeng-Free.git/commitdiff
- initial release, based on MDK spec, patches from MDK
authorPaweł Gołaszewski <blues@pld-linux.org>
Sun, 18 Nov 2007 13:18:31 +0000 (13:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Sjeng-Free-README -> 1.1
    Sjeng-Free.6 -> 1.1
    Sjeng-Free.spec -> 1.1

Sjeng-Free-README [new file with mode: 0644]
Sjeng-Free.6 [new file with mode: 0644]
Sjeng-Free.spec [new file with mode: 0644]

diff --git a/Sjeng-Free-README b/Sjeng-Free-README
new file mode 100644 (file)
index 0000000..a74a923
--- /dev/null
@@ -0,0 +1,17 @@
+README for the Debian package of sjeng
+--------------------------------------
+
+File locations have been changed to adhere to the usual
+conventions. The default sjeng.rc is installed in /etc/sjeng.rc, the
+opening books are in /usr/share/games/sjeng. When sjeng is started for
+the first time, a subdirectory .sjeng is created in the user's home
+directory if it is not already present. If this directory contains a
+readable file named sjeng.rc, it will be used instead of the system
+default. Furthermore, learning files will be placed in .sjeng.
+
+This version of sjeng does not read or write any files (book,
+learning) in the current working directory, as opposed to the upstream
+version. (Except for the case, where your working directory is
+~/.sjeng or /usr/share/games/sjeng, of course...)
+
+Lukas Geyer <lukas@debian.org>
diff --git a/Sjeng-Free.6 b/Sjeng-Free.6
new file mode 100644 (file)
index 0000000..02060fa
--- /dev/null
@@ -0,0 +1,28 @@
+.\"                                      Hey, EMACS: -*- nroff -*-
+.TH SJENG 6 "May 28, 2002"
+.SH NAME
+sjeng \- Chess program which supports several variants
+.SH SYNOPSIS
+.B sjeng
+.SH DESCRIPTION
+Documentation for sjeng is available in /usr/share/doc/sjeng*/README.
+It is strongly recommended that you use sjeng in combination with some
+interface like xboard or eboard. Please read the documentation of
+xboard and eboard to find out how to use other chess engines.
+.PP
+There are no command line options for sjeng, but sjeng uses a
+configuration file, by default /etc/sjeng.rc. If present, the file
+~/.sjeng/sjeng.rc in the user's home directory will be read instead of
+the system default. A well-documented example configuration can be
+found in /usr/share/doc/sjeng*/examples/.
+.PP
+This manual page was written for the Debian distribution because the
+original program does not have a manual page, and was also adopted by
+Mandriva package.
+.SH AUTHOR
+Sjeng was written by Gian-Carlo Pascutto <gcp@sjeng.org>, based on
+work done by Adrien Regimbald <adrien@gpu.srv.ualberta.ca>.
+.PP
+This manual page was written by Lukas Geyer
+<lukas@debian.org>, for the Debian GNU/Linux system (but may
+be used by others).
diff --git a/Sjeng-Free.spec b/Sjeng-Free.spec
new file mode 100644 (file)
index 0000000..fd2badf
--- /dev/null
@@ -0,0 +1,63 @@
+Summary:       Chess program that plays many variants
+Name:          Sjeng-Free
+Version:       11.2
+Release:       1
+License:       GPL v2
+Group:         Applications/Games/Boards
+Source0:       http://www.sjeng.org/ftp/%{name}-%{version}.tar.gz
+# Source0-md5: 6561e740b7af703c16701304697d2870
+Source1:       %{name}.6
+Source2:       %{name}-README
+Patch0:                %{name}-cleanup.patch.bz2
+Patch1:                %{name}-FHS.patch.bz2
+URL:           http://sjeng.org/
+BuildRequires: automake
+BuildRequires: gdbm-devel
+Provides:      chess_backend
+Buildroot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Sjeng is a chess program that plays normal chess and many variants
+like crazyhouse, bughouse, suicide (aka giveaway or anti-chess) and
+losers. It can also play variants which have the same rules as normal
+chess, but a different starting position. It uses the XBoard/WinBoard
+interface by Tim Mann, so it can be used with xboard or eboard. It is
+also capable of playing on internet chess servers.
+
+%prep
+%setup -q
+%patch0 -p1 -b .cleanup
+%patch1 -p1 -b .fhs
+cp %{SOURCE2} README.debian
+
+# (Abel) supress annoying rpmlint warning message
+%{__perl} -pi -e 's/\r//g' [[:upper:]][[:upper:]]* ChangeLog
+
+%build
+autoreconf --force --install
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d ${RPM_BUILD_ROOT}{%{_datadir}/sjeng,%{_sysconfdir},%{_mandir}/man6}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install sjeng.rc ${RPM_BUILD_ROOT}%{_sysconfdir}
+install books/*.opn ${RPM_BUILD_ROOT}%{_datadir}/sjeng
+install %{SOURCE1} ${RPM_BUILD_ROOT}%{_mandir}/man6/sjeng.6
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS BUGS ChangeLog NEWS README* THANKS tests/*.epd
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/sjeng.rc
+%{_bindir}/*
+%dir %{_datadir}/sjeng
+%{_datadir}/sjeng/*.opn
+%{_mandir}/man6/*.6*
This page took 0.057963 seconds and 4 git commands to generate.