Summary(pl): Ró¿ne s³owniki dla dictd
Name: dict-%{dictname}
Version: 1.5
-Release: 10
+Release: 12
License: GPL
Group: Applications/Dictionaries
Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
+# Source0-md5: 74a41d916b76323482b273f8b53c31bf
Source1: http://dsl.org/faq/fjd/journo-1.1.tar.gz
+# Source1-md5: e7ee9a7694e5640cca02da993839771a
Source2: http://wiretap.area.com/Gopher/Library/Classic/devils.txt
Source3: http://ptm.linux.pl/slownik
+Source4: http://www.prime-project.org/dict/dict-world02--2003-02-15.tar.gz
+# Source4-md5: 344bd453d17536e281f1874cfd318c7d
URL: http://www.dict.org/
BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: dictfmt
BuildRequires: dictzip
Requires: dictd
opisy s³ów - do u¿ywania z serwerem s³ownika dictd.
%package -n dict-easton
-Summary: easton dictionary for DICTD
-Summary(pl): S³ownik easton dla dictd
+Summary: Easton's dictionary for DICTD
+Summary(pl): S³ownik Eastona dla dictd
Group: Applications/Dictionaries
Requires: dictd
Requires: %{_sysconfdir}/dictd
z serwerem s³ownika dictd.
%package -n dict-elements
-Summary: elements dictionary for DICTD
-Summary(pl): S³ownik elements dla dictd
+Summary: Elements dictionary for DICTD
+Summary(pl): S³ownik pierwiastków dla dictd
Group: Applications/Dictionaries
Requires: dictd
Requires: %{_sysconfdir}/dictd
dictd.
%package -n dict-foldoc
-Summary: foldoc dictionary for DICTD
-Summary(pl): S³ownik foldoc dla dictd
+Summary: The Free On-line Dictionary of Computing for DICTD
+Summary(pl): Darmowy s³ownik z dziedziny obliczeñ dla dictd
Group: Applications/Dictionaries
Requires: dictd
Requires: %{_sysconfdir}/dictd
u¿ywania z serwerem s³ownika dictd.
%package -n dict-hitchcock
-Summary: hitchcock dictionary for DICTD
-Summary(pl): S³ownik hitchcock dla dictd
+Summary: Hitchcock's dictionary for DICTD
+Summary(pl): S³ownik Hitchcocka dla dictd
Group: Applications/Dictionaries
Requires: dictd
Requires: %{_sysconfdir}/dictd
Ten pakiet zawiera s³ownik Projektu T³umaczenia Manuali, do u¿ycia z
serwerem dictd.
-%package -n dict-world95
-Summary: world95 dictionary for DICTD
-Summary(pl): S³ownik world95 dla dictd
+%package -n dict-CIAworldbook
+Summary: CIAworldbook dictionary for DICTD
+Summary(pl): S³ownik CIAworldbook dla dictd
Group: Applications/Dictionaries
+URL: http://www.prime-project.org/dict/
Requires: dictd
Requires: %{_sysconfdir}/dictd
+Obsoletes: dict-world95
-%description -n dict-world95
-This package contains The 1995 CIA World Factbook for use by the
+%description -n dict-CIAworldbook
+This package contains The 2002 CIA World Factbook for use by the
dictionary server in the dictd package.
-%description -n dict-world95 -l pl
-Ten pakiet zawiera s³ownik The 1995 CIA World Factbook do u¿ywania z
+%description -n dict-CIAworldbook -l pl
+Ten pakiet zawiera s³ownik The 2002 CIA World Factbook do u¿ywania z
serwerem s³ownika dictd.
%prep
-%setup -q -a1
+%setup -q -a1 -a4
cp %{SOURCE2} ./
cp %{SOURCE3} ./
%build
%{__autoconf}
+cp -f %{_datadir}/automake/install-sh .
+cp -f %{_datadir}/automake/config.sub .
%configure
%{__make} db
-s "Projekt Tlumaczenia Manuali" ptm
dictzip ptm.dict
+cd world02-2003-02-15
+dictzip world02.dict
+cd ..
+
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd,%{_bindir}}
%{__make} install dictdir=$RPM_BUILD_ROOT%{_datadir}/dictd
install ptm.* journo.* devil.* $RPM_BUILD_ROOT%{_datadir}/dictd
+install world02-2003-02-15/world02.* $RPM_BUILD_ROOT%{_datadir}/dictd
# jargon has separate package
rm -f $RPM_BUILD_ROOT%{_datadir}/dictd/jargon.*
-for i in easton elements foldoc hitchcock world95 journo ptm devil; do
+for i in easton elements foldoc hitchcock world02 journo ptm devil; do
dictprefix=%{_datadir}/dictd/$i
echo "# Misc Dictionaries - $i
database $i {
/etc/rc.d/init.d/dictd restart 1>&2
fi
-%post -n dict-world95
+%post -n dict-CIAworldbook
if [ -f /var/lock/subsys/dictd ]; then
/etc/rc.d/init.d/dictd restart 1>&2
fi
-%postun -n dict-world95
+%postun -n dict-CIAworldbook
if [ -f /var/lock/subsys/dictd ]; then
/etc/rc.d/init.d/dictd restart 1>&2 || true
fi
%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/ptm.dictconf
%{_datadir}/dictd/ptm.*
-%files -n dict-world95
+%files -n dict-CIAworldbook
%defattr(644,root,root,755)
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/world95.dictconf
-%{_datadir}/dictd/world95.*
+%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/dictd/world02.dictconf
+%{_datadir}/dictd/world02.*