]> git.pld-linux.org Git - packages/dict-bouvier.git/blame - dict-bouvier.spec
- rel 4 (use %service)
[packages/dict-bouvier.git] / dict-bouvier.spec
CommitLineData
985ca0c9 1Summary: John Bouvier's Law Dictionary dated 1856 for the USA in the DICTD format
1250d372 2Summary(pl.UTF-8): Słownik prawa USA Johna Bouviera z 1856 roku w formacie DICTD
1ccfdf7a 3Name: dict-bouvier
816ed1e9 4Version: 6
99fecded 5Release: 4
1ccfdf7a 6License: GPL
7# it was downloaded from http://www.constitution.org/bouv/bouvier.htm
8# Upstream Author(s): John Bouvier, 1856.
9# Copyright claims to this work have expired; it is now public domain.
10# so it's compatible w/ Gnu GPL ???
11Group: Applications/Dictionaries
816ed1e9 12Source0: %{name}_%{version}.tar.gz
142b9ee0 13# Source0-md5: 1c03c5338e6fb5223b0ce341d0ca38ac
816ed1e9 14Patch0: %{name}_%{version}.revised-1.diff
1ccfdf7a 15# from debian
16URL: http://www.constitution.org/bouv/bouvier.htm
1ccfdf7a 17BuildRequires: dictzip
18BuildRequires: python
228868fe 19BuildRequires: python-dictlib
99fecded 20BuildRequires: rpmbuild(macros) >= 1.268
1ccfdf7a 21Requires: %{_sysconfdir}/dictd
ace4f33c 22Requires: dictd
1ccfdf7a 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
ace4f33c
ER
26This is the 1856 Revised Sixth Edition of John Bouvier's law
27dictionary, formatted for use with the dictd server. It is an
28excellent, if dated, way to look up information about legal words and
29principles.
1ccfdf7a 30
76dc1836
JR
31%description -l pl.UTF-8
32Jest to szóste wydanie słownika prawa amerykańskiego z 1856 roku,
33autorstwa Johna Bouviera. Jest wspaniałym źródłem informacji o prawie
34z tamtych czasów.
1ccfdf7a 35
36%prep
228868fe 37%setup -n %{name}-%{version}.revised.orig -q
1ccfdf7a 38%patch0 -p1
39
40%build
228868fe 41python conv.py *.txt
1ccfdf7a 42
43%install
44rm -rf $RPM_BUILD_ROOT
45install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
46
1ccfdf7a 47%clean
48rm -rf $RPM_BUILD_ROOT
49
2f8cfc0c 50%post
99fecded 51%service -q dictd restart
1ccfdf7a 52
53%postun
99fecded
ER
54if [ "$1" = 0 ]; then
55 %service -q dictd restart
1ccfdf7a 56fi
57
58%files
59%defattr(644,root,root,755)
ace4f33c 60%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/dictd/bouvier*
228868fe 61%{_datadir}/dictd/bouvier*
This page took 0.075565 seconds and 4 git commands to generate.