1 # $Id: dict-bouvier.spec,v 1.2 2002-10-10 07:11:04 kloczek Exp $
2 Summary: John Bouvier's Law Dictionary dated 1856 for the USA in the DICTD format
3 Summary(pl): S³ownik prawa USA z 1856 w formacie DICTD
8 # it was downloaded from http://www.constitution.org/bouv/bouvier.htm
9 # Upstream Author(s): John Bouvier, 1856.
10 # Copyright claims to this work have expired; it is now public domain.
11 # so it's compatible w/ Gnu GPL ???
12 Group: Applications/Dictionaries
13 Source0: dict-bouvier_6.tar.gz
14 Patch0: dict-bouvier_6.revised-1.diff
16 URL: http://www.constitution.org/bouv/bouvier.htm
17 BuildRequires: dictfmt
18 BuildRequires: dictzip
21 Requires: %{_sysconfdir}/dictd
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This is the 1856 Revised Sixth Ediition of John Bouvier's law dictionary,
26 formatted for use with the dictd server. It is an excellent, if dated,
27 way to look up information about legal words and principles.
30 Jest to s³ownik prawa amerykañskiego z 1856 roku, autorstwa John Bouvier.
33 %setup -n dict-bouvier-6.revised.orig
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
46 # data \"$dictprefix.dict.dz\"
47 # index \"$dictprefix.index\"
48 #}" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}-$i.dictconf
49 # install %{dictname}_$i.* $RPM_BUILD_ROOT%{_datadir}/dictd/
53 rm -rf $RPM_BUILD_ROOT
56 if [ -f /var/lock/subsys/dictd ]; then
57 /etc/rc.d/init.d/dictd restart 1>&2
61 if [ -f /var/lock/subsys/dictd ]; then
62 /etc/rc.d/init.d/dictd restart 1>&2 || true
66 %defattr(644,root,root,755)
67 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/%{dictname}-%{dict6}.dictconf
68 %{_datadir}/dictd/%{dictname}_%{dict6}.*