]> git.pld-linux.org Git - packages/dict-bouvier.git/blob - dict-bouvier.spec
- cosmetics.
[packages/dict-bouvier.git] / dict-bouvier.spec
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
4 Name:           dict-bouvier
5 Version:        1
6 Release:        1
7 License:        GPL
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 
15 # from debian
16 URL:            http://www.constitution.org/bouv/bouvier.htm
17 BuildRequires:  dictfmt
18 BuildRequires:  dictzip
19 BuildRequires:  python
20 Requires:       dictd
21 Requires:       %{_sysconfdir}/dictd
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
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.
28
29 %description -l pl
30 Jest to s³ownik prawa amerykañskiego z 1856 roku, autorstwa John Bouvier.
31
32 %prep
33 %setup -n dict-bouvier-6.revised.orig
34 %patch0 -p1
35
36 %build
37
38 # ./conv.py ???
39 # ???
40
41 %install
42 rm -rf $RPM_BUILD_ROOT
43 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
44
45 #database $i {
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/
50 #done
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %post 
56 if [ -f /var/lock/subsys/dictd ]; then
57         /etc/rc.d/init.d/dictd restart 1>&2
58 fi
59
60 %postun
61 if [ -f /var/lock/subsys/dictd ]; then
62         /etc/rc.d/init.d/dictd restart 1>&2 || true
63 fi
64
65 %files
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}.*
This page took 0.036966 seconds and 4 git commands to generate.