diff options
author | havner | 2003-11-18 18:10:01 (GMT) |
---|---|---|
committer | cvs2git | 2012-06-24 12:13:13 (GMT) |
commit | 46bbf7b56789da2bc83a133a7dd2900034f9daaa (patch) | |
tree | 80cb106aa34ec6fd09243e6ba8024aafc39629af | |
parent | dc89e2eef42589b4f9bb6b0909f6e0bf726c6ab4 (diff) | |
download | chessprn-46bbf7b56789da2bc83a133a7dd2900034f9daaa.zip chessprn-46bbf7b56789da2bc83a133a7dd2900034f9daaa.tar.gz |
- [mass commit] almost raw, only adapterized, not tested yet
Changed files:
chessprn.spec -> 1.1
-rw-r--r-- | chessprn.spec | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/chessprn.spec b/chessprn.spec new file mode 100644 index 0000000..1dfef58 --- /dev/null +++ b/chessprn.spec @@ -0,0 +1,54 @@ +Summary: Utility to print chess games in various formats. +Name: chessprn +Version: 1.0.1 +Release: 1 +License: GPL +Group: Applications/Games +Source0: ftp://chess.onenet.net/pub/chess/Unix/%{name}.tar.gz +Source2: Cheq.ps +Source3: ftp://www.freechess.org/pub/chess/Unix/ChessFont.sh.gz +Patch0: %{name}.diff +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Utility to print chess games in various formats. + +%prep +%setup -q -n chessprn +%patch -p1 +zcat ${RPM_SOURCE_DIR}/ChessFont.sh.gz | unshar +mv Font ChessFont.ps +mv README README.ChessFont + +%build +%{__make} + +%post +texhash + +%postun +texhash + +%clean +rm -rf $RPM_BUILD_ROOT + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT/{%{_bindir},%{_prefix}/lib/games/chessprn/tex} +install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/chessprn +%{__make} LIBDIR=$RPM_BUILD_ROOT%{_prefix}/lib/games/chessprn \ + BINDIR=$RPM_BUILD_ROOT%{_bindir} install +cp ${RPM_SOURCE_DIR}/Cheq.ps $RPM_BUILD_ROOT%{_prefix}/lib/games/chessprn +cp ChessFont.ps $RPM_BUILD_ROOT%{_prefix}/lib/games/chessprn/ChessFont.ps +cp -a $RPM_BUILD_ROOT%{_prefix}/lib/games/chessprn/tex/* \ + $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/chessprn + +%files +%defattr(644,root,root,755) +%doc notation.doc +%doc symboles.txt +%doc readme +%doc README.ChessFont Demo Table +/usr/bin/chessprn +/usr/lib/games/chessprn +/usr/share/texmf/tex/latex/chessprn |