1 # $Id: dict-bouvier.spec,v 1.3 2002-10-24 13:19:49 qboosh Exp $
2 Summary: John Bouvier's Law Dictionary dated 1856 for the USA in the DICTD format
3 Summary(pl): S³ownik prawa USA Johna Bouviera z 1856 roku 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 szóste wydanie s³ownika prawa amerykañskiego z 1856 roku,
31 autorstwa Johna Bouviera. Jest wspania³ym ¼ród³em informacji o prawie
35 %setup -n dict-bouvier-6.revised.orig
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
48 # data \"$dictprefix.dict.dz\"
49 # index \"$dictprefix.index\"
50 #}" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}-$i.dictconf
51 # install %{dictname}_$i.* $RPM_BUILD_ROOT%{_datadir}/dictd/
55 rm -rf $RPM_BUILD_ROOT
58 if [ -f /var/lock/subsys/dictd ]; then
59 /etc/rc.d/init.d/dictd restart 1>&2
63 if [ -f /var/lock/subsys/dictd ]; then
64 /etc/rc.d/init.d/dictd restart 1>&2 || true
68 %defattr(644,root,root,755)
69 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/%{dictname}-%{dict6}.dictconf
70 %{_datadir}/dictd/%{dictname}_%{dict6}.*