Пакет dict-web1913: Specfile

%define wrongversion 1.4+0.47pd

Name: dict-web1913
Version: 1.4_0.47pd
Release: alt2.1
Epoch: 1

Summary: Webster dictionary in dict format
License: GPL, Public Domain
Group: Text tools

Source: %name-%wrongversion.tar.bz2
Source1: webster-sedscript
Source2: debian-copyright
Patch: debian-webster.patch.bz2

BuildArchitectures: noarch
# Automatically added by buildreq on Sun Oct 19 2003
BuildRequires: dict-tools flex libltdl texlive-collection-basic texlive-collection-basic texlive-collection-latexrecommended transfig
BuildRequires: dict-tools
PreReq: dictd

Summary(ru_RU.KOI8-R): \xf3\xcc\xcf\xd7\xc1\xd2\xd8 \xf7\xc5\xc2\xd3\xd4\xc5\xd2\xc1 \xd7 \xc6\xcf\xd2\xcd\xc1\xd4\xc5 dict

%description
This is the most full english dictionary by Webster published in 1913.
It is free because all copyrights ended due to the time. But it is still
very helpful in work.

%description -l ru_RU.KOI8-R
\xfc\xd4\xcf \xce\xc1\xc9\xc2\xcf\xcc\xc5\xc5 \xd0\xcf\xcc\xce\xd9\xca \xc1\xce\xc7\xcc\xc9\xca\xd3\xcb\xc9\xca \xd3\xcc\xcf\xd7\xc1\xd2\xd8, \xd3\xcf\xda\xc4\xc1\xce\xce\xd9\xca \xf7\xc5\xc2\xd3\xd4\xc5\xd2\xcf\xcd \xc9 \xcf\xd0\xd5\xc2\xcc\xc9\xcb\xcf\xd7\xc1\xce\xce\xd9\xca
\xd7 1913 \xc7\xcf\xc4\xd5. \xef\xce \xd3\xd4\xc1\xcc \xd3\xd7\xcf\xc2\xcf\xc4\xce\xd9\xcd \xc9\xda-\xda\xc1 \xd4\xcf\xc7\xcf, \xde\xd4\xcf \xd0\xd2\xcf\xdb\xcc\xcf \xcd\xce\xcf\xc7\xcf \xd7\xd2\xc5\xcd\xc5\xce\xc9
\xd3 \xc5\xc7\xcf \xcf\xd0\xd5\xc2\xcc\xc9\xcb\xcf\xd7\xc1\xce\xc9\xd1. \xef\xc4\xce\xc1\xcb\xcf \xcf\xce \xc4\xcf \xd3\xc9\xc8 \xd0\xcf\xd2 \xd3\xcf\xc8\xd2\xc1\xce\xd1\xc5\xd4 \xd3\xd7\xcf\xc0 \xc1\xcb\xd4\xd5\xc1\xcc\xd8\xce\xcf\xd3\xd4\xd8
\xc9 \xd0\xcf\xcd\xcf\xc7\xc1\xc5\xd4 \xd7 \xd2\xc1\xc2\xcf\xd4\xc5.

%prep
%setup -q -n %name-%wrongversion
%patch0 -p1
cp %SOURCE1 ./sedfile

%build
sed -i "s|__FUNCTION__|__FILE__|g" libmaa/*.c
%configure
export LANG=C
#NO SMP
%make
%make db

%install
mkdir rpmdoc
cp -a ChangeLog README rpmdoc
cp -a %SOURCE2 rpmdoc/LICENSE
mkdir -p %buildroot%_datadir/dictd
export LANG=C
%make dictdir=%buildroot%_datadir/dictd install


%files
%_datadir/dictd/*
%doc rpmdoc/*

%changelog
* Sat Mar 03 2018 Igor Vlasenko <viy@altlinux.ru> 1:1.4_0.47pd-alt2.1
- NMU: rebuild with texlive instead of tetex

* Wed Feb 04 2015 Igor Vlasenko <viy@altlinux.ru> 1:1.4_0.47pd-alt2
- removed post/un in favor of filetrigger

* Wed Feb 20 2008 Michael Shigorin <mike@altlinux.org> 1:1.4_0.47pd-alt1
- alt1
- spec macro abuse cleanup

* Tue May 24 2005 Michael Shigorin <mike@altlinux.ru> 1.4_0.47pd-ipl6.1
- fixed build; thanks to Vitaly Lipatov (lav@) for the workaround

* Sun Oct 19 2003 Michael Shigorin <mike@altlinux.ru> 1.4_0.47pd-ipl6
- updated buildrequires
- rebuild (Alexey asked to temporarily take care of the package)

* Wed Jan 29 2003 Alexey Dyachenko <alexd@altlinux.ru> 1.4_0.47pd-ipl5
- fixed bug #0001708: service dictd condreload would be more appropriate
	than condrestart

* Tue Oct 15 2002 Alexey Dyachenko <alexd@altlinux.ru> 1.4_0.47pd-ipl4
- fixed bug #0001350:  missing PreReq: dictd
- spec cleanup

* Wed Apr 17 2002 Stanislav Ievlev <inger@altlinux.ru> 1.4_0.47pd-ipl3
- removed illegal symbol from version

* Wed Feb 21 2001 Peter 'Nidd' Novodvorsky <petya@logic.ru> ipl2
- Added /usr/sbin/ before dictdconfig in case use hasn't /usr/sbin in
$path.

* Mon Feb  5 2001 Peter 'Nidd' Novodvorsky ipl1
- initial release