Summary: Dictionary database server
Summary(pl): Serwer bazy s³owników
Name: dictd
-Version: 1.5.5
-Release: 5
+Version: 1.7.1
+Release: 1
License: GPL
Group: Daemons
-Group(de): Server
-Group(pl): Serwery
Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
Source1: %{name}.init
Source2: %{name}.sysconfig
Prereq: /sbin/chkconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%description
+%description
Server for the Dictionary Server Protocol (DICT), a TCP transaction
based query/response protocol that allows a client to access
dictionary definitions from a set of natural language dictionary
Summary: DICT Protocol Client
Summary(pl): Klient protoko³u DICT
Group: Applications/Networking
-Group(de): Applikationen/Netzwerkwesen
-Group(pl): Aplikacje/Sieciowe
%description -n dict
Client for the Dictionary Server Protocol (DICT), a TCP transaction
Summary: Compress (or expand) files, allowing random access
Summary(pl): Kompresja (i dekompresja) plików pozwalaj±ca na swobodny dostêp
Group: Applications/Archiving
-Group(de): Applikationen/Archivierung
-Group(pl): Aplikacje/Archiwizacja
%description -n dictzip
dictzip compresses files using the gzip(1) algorithm (LZ77) in a
%build
aclocal
-autoconf
+%{__autoconf}
(cd libmaa; aclocal; autoconf)
CFLAGS="%{rpmcflags} -DUID_NOBODY=99 -DGID_NOBODY=99"
%configure
install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8
echo "server localhost" > dict.conf
-echo -e "access {\n\tallow localhost\n\tdeny *\n}\n" > %{name}-main.conf
+echo -e "access {\n\tallow localhost\n\tdeny *\n}\n" > %{name}-main.conf
install dict.conf $RPM_BUILD_ROOT%{_sysconfdir}
install dictd-main.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
else
echo "Run \"/etc/rc.d/init.d/%{name} start\" to start %{name} daemon."
fi
-
+
%preun
if [ "$1" = "0" ]; then
if [ -f /var/lock/subsys/%{name} ]; then