]> git.pld-linux.org Git - packages/dict-jargon.git/commitdiff
- upgraded to 4.3.3:
authorTomasz Pala <gotar@pld-linux.org>
Sat, 28 Dec 2002 12:01:16 +0000 (12:01 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
 - switched to original sources, don't rely on old dict resources
   wherever this is possible; this particular build is even easier
   from scratch than prepared package,
 - removed BR: autoconf,
 - added BR: dictfmt
- more unified with other dicts,
- cosmetics.

Changed files:
    dict-jargon.spec -> 1.15

dict-jargon.spec

index 46c27b2a3fbc926c0555f9dc9fc6d00f82198107..220dad2c22893a11673cde344ede2f0f18a43d6d 100644 (file)
@@ -2,38 +2,37 @@
 Summary:       The On-Line Hacker Jargon File dictionary for dictd
 Summary(pl):   S³ownik Hacker Jargon dla dictd
 Name:          dict-%{dictname}
 Summary:       The On-Line Hacker Jargon File dictionary for dictd
 Summary(pl):   S³ownik Hacker Jargon dla dictd
 Name:          dict-%{dictname}
-Version:       4.2.0
-Release:       3
+Version:       4.3.3
+Release:       1
 License:       GPL
 Group:         Applications/Dictionaries
 License:       GPL
 Group:         Applications/Dictionaries
-Source0:       ftp://ftp.dict.org/pub/dict/%{name}-%{version}.tar.gz
+Source0:       http://www.tuxedo.org/~esr/jargon/jarg433.gz
 URL:           http://www.dict.org/
 URL:           http://www.dict.org/
-BuildRequires: autoconf
+BuildRequires: dictfmt
 BuildRequires: dictzip
 Requires:      dictd
 Requires:      %{_sysconfdir}/dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 BuildRequires: dictzip
 Requires:      dictd
 Requires:      %{_sysconfdir}/dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package contains The On-Line Hacker Jargon File, version 4.2.0,
+This package contains The On-Line Hacker Jargon File, version %version,
 formatted for use by the dictionary server in the dictd package.
 
 %description -l pl
 Ten pakiet zawiera s³ownik The On-Line Hacker Jargon File w wersji
 formatted for use by the dictionary server in the dictd package.
 
 %description -l pl
 Ten pakiet zawiera s³ownik The On-Line Hacker Jargon File w wersji
-4.2.0, sformatowany do u¿ytku z serwerem s³ownika dictd.
+%version, sformatowany do u¿ytku z serwerem s³ownika dictd.
 
 %prep
 
 %prep
-%setup -q
+%setup -c -T
+%{__gzip} -dc %{SOURCE0} > jarg433
 
 %build
 
 %build
-%{__autoconf}
-%configure
-%{__make} db
+dictfmt -j -u http://www.jargon.org/ -s "Jargon File (4.3.3, 20 Sep 2002)" %{dictname} < jarg433
+dictzip %{dictname}.dict
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
-%{__make} install dictdir=$RPM_BUILD_ROOT%{_datadir}/dictd
+install -d $RPM_BUILD_ROOT{%{_datadir}/dictd,%{_sysconfdir}/dictd}
 
 dictprefix=%{_datadir}/dictd/%{dictname}
 echo "# The On-Line Hacker Jargon File dictionary
 
 dictprefix=%{_datadir}/dictd/%{dictname}
 echo "# The On-Line Hacker Jargon File dictionary
@@ -41,6 +40,7 @@ database %{dictname} {
        data  \"$dictprefix.dict.dz\"
        index \"$dictprefix.index\"
 }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}.dictconf
        data  \"$dictprefix.dict.dz\"
        index \"$dictprefix.index\"
 }" > $RPM_BUILD_ROOT%{_sysconfdir}/dictd/%{dictname}.dictconf
+mv %{dictname}.* $RPM_BUILD_ROOT%{_datadir}/dictd
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.05041 seconds and 4 git commands to generate.