]> git.pld-linux.org Git - packages/dict-bouvier.git/commitdiff
-taken from debian
authorhunter <hunter@pld-linux.org>
Thu, 10 Oct 2002 05:36:14 +0000 (05:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dict-bouvier.spec -> 1.1

dict-bouvier.spec [new file with mode: 0644]

diff --git a/dict-bouvier.spec b/dict-bouvier.spec
new file mode 100644 (file)
index 0000000..023c0bc
--- /dev/null
@@ -0,0 +1,68 @@
+#  $Id: dict-bouvier.spec,v 1.1 2002-10-10 05:36:14 hunter Exp $
+Summary:       John Bouvier's Law Dictionary dated 1856 for the USA in the DICTD format.
+Summary(pl):   S³ownik prawa USA z 1856 w formacie DICTD.
+Name:          dict-bouvier
+Version:       1
+Release:       1
+License:       GPL
+# it was downloaded from http://www.constitution.org/bouv/bouvier.htm
+# Upstream Author(s): John Bouvier, 1856.
+# Copyright claims to this work have expired; it is now public domain.
+# so it's compatible w/ Gnu GPL ???
+Group:         Applications/Dictionaries
+Source0:       dict-bouvier_6.tar.gz
+Patch0:                dict-bouvier_6.revised-1.diff 
+# from debian
+URL:           http://www.constitution.org/bouv/bouvier.htm
+BuildRequires: dictfmt
+BuildRequires: dictzip
+BuildRequires: python
+Requires:      dictd
+Requires:      %{_sysconfdir}/dictd
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the 1856 Revised Sixth Ediition of John Bouvier's law dictionary,
+formatted for use with the dictd server.  It is an excellent, if dated,
+way to look up information about legal words and principles.
+
+%description -l pl
+Jest to s³ownik prawa amerykañskiego z 1856 roku, autorstwa John Bouvier.
+
+%prep
+%setup -n dict-bouvier-6.revised.orig
+%patch0 -p1
+
+%build
+
+# ./conv.py ???
+# ???
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
+
+#database $i {
+#      data  \"$dictprefix.dict.dz\"
+#      index \"$dictprefix.index\"
+#}" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}-$i.dictconf
+#      install %{dictname}_$i.* $RPM_BUILD_ROOT%{_datadir}/dictd/
+#done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post 
+if [ -f /var/lock/subsys/dictd ]; then
+       /etc/rc.d/init.d/dictd restart 1>&2
+fi
+
+%postun
+if [ -f /var/lock/subsys/dictd ]; then
+       /etc/rc.d/init.d/dictd restart 1>&2 || true
+fi
+
+%files
+%defattr(644,root,root,755)
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/%{dictname}-%{dict6}.dictconf
+%{_datadir}/dictd/%{dictname}_%{dict6}.*
This page took 0.080589 seconds and 4 git commands to generate.