]> git.pld-linux.org Git - packages/dict-bouvier.git/blob - dict-bouvier.spec
- longer pl description, release 2
[packages/dict-bouvier.git] / dict-bouvier.spec
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
4 Name:           dict-bouvier
5 Version:        1
6 Release:        2
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 szóste wydanie s³ownika prawa amerykañskiego z 1856 roku,
31 autorstwa Johna Bouviera. Jest wspania³ym ¼ród³em informacji o prawie
32 z tamtych czasów.
33
34 %prep
35 %setup -n dict-bouvier-6.revised.orig
36 %patch0 -p1
37
38 %build
39
40 # ./conv.py ???
41 # ???
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
46
47 #database $i {
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/
52 #done
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %post 
58 if [ -f /var/lock/subsys/dictd ]; then
59         /etc/rc.d/init.d/dictd restart 1>&2
60 fi
61
62 %postun
63 if [ -f /var/lock/subsys/dictd ]; then
64         /etc/rc.d/init.d/dictd restart 1>&2 || true
65 fi
66
67 %files
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}.*
This page took 0.859641 seconds and 4 git commands to generate.