X-Git-Url: http://git.pld-linux.org/?p=packages%2Fdict-web1913.git;a=blobdiff_plain;f=dict-web1913.spec;fp=dict-web1913.spec;h=7f4e8e8ae3b0eb4b14994325e9c35bdba2d2bc1a;hp=7aa89149eaa0f584c507e31981493a0723b2f163;hb=e5140002fc6fd1d59a9a97083c8be7acc9280ed8;hpb=a0aa4e073233343819954d4cc3033a3bd2578e4e diff --git a/dict-web1913.spec b/dict-web1913.spec index 7aa8914..7f4e8e8 100644 --- a/dict-web1913.spec +++ b/dict-web1913.spec @@ -1,11 +1,11 @@ %define dictname web1913 %define dictversion 0.46-a -Summary: Webster's Revised Unabridged Dictionary -Summary(pl): S³ownik Webster's Revised Unabridged Dictionary +Summary: Webster's Revised Unabridged Dictionary for dictd +Summary(pl): S³ownik Webster's Revised Unabridged Dictionary dla dictd Name: dict-%{dictname} Version: 1.4 -Release: 4 -License: Free to use, but see http://www.cogsci.princeton.edu/~wn/ +Release: 5 +License: Free for personal or research use, distributable Group: Applications/Dictionaries Source0: ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz Source1: ftp://ftp.dict.org/pub/dict/%{dictname}-%{dictversion}.tar.gz @@ -47,8 +47,7 @@ tar xfz %{SOURCE1} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_datadir}/dictd,%{_sysconfdir}/dictd} -#make install dictdir="$RPM_BUILD_ROOT%{_datadir}/dictd/" -install %{dictname}.{dict.dz,index} $RPM_BUILD_ROOT%{_datadir}/dictd +#make install dictdir="$RPM_BUILD_ROOT%{_datadir}/dictd" dictprefix=%{_datadir}/dictd/%{dictname} echo "# Webster's Revised Unabridged Dictionary @@ -56,6 +55,7 @@ database %{dictname} { data \"$dictprefix.dict.dz\" index \"$dictprefix.index\" }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}.dictconf +mv %{dictname}.{dict.dz,index} $RPM_BUILD_ROOT%{_datadir}/dictd %clean rm -rf $RPM_BUILD_ROOT