]> git.pld-linux.org Git - packages/dict-misc.git/blobdiff - dict-misc.spec
- release 13 to rebuild with ac
[packages/dict-misc.git] / dict-misc.spec
index 37435e06696acedf26e1e722213b525f4ebf45f1..3700faeb495ec9401465ae8daff72c5f2adbc3a1 100644 (file)
@@ -3,15 +3,20 @@ Summary:      Miscellaneous dictionaries for DICTD
 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
@@ -43,8 +48,8 @@ S
 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
@@ -60,8 +65,8 @@ Ten pakiet zawiera s
 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
@@ -77,8 +82,8 @@ przygotowan
 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
@@ -92,8 +97,8 @@ Ten pakiet zawiera s
 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
@@ -138,28 +143,32 @@ Manuali for use by the dicitonary server in the dictd package.
 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
 
@@ -179,16 +188,21 @@ egrep -v "^#" slownik | tr -d \[\] | \
        -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 {
@@ -270,12 +284,12 @@ if [ -f /var/lock/subsys/dictd ]; then
        /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
@@ -315,7 +329,7 @@ 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.*
This page took 0.062332 seconds and 4 git commands to generate.