]> git.pld-linux.org Git - packages/dict-wn.git/commitdiff
- forced my version of 1.7a:
authorTomasz Pala <gotar@pld-linux.org>
Sat, 28 Dec 2002 11:46:09 +0000 (11:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
 - more unified with other dicts,
 - removed BR: autoconf, dictzip,
 - standard %buildsubdir,
 - other cosmetics.

Changed files:
    dict-wn.spec -> 1.15

dict-wn.spec

index a6feba86d7f09e94e453a7ef4ab5c2c937c87dc5..60ab4663229c6b22e89970a7587835afbd90e209 100644 (file)
@@ -1,5 +1,5 @@
 %define                dictname wn
-Summary:       WordNet lexical reference system formatted as dictionary for dictd
+Summary:       WordNet lexical reference system for dictd
 Summary(pl):   System referencji s³ownikowych WordNet dla dictd
 Name:          dict-%{dictname}
 Version:       1.7a
@@ -8,34 +8,32 @@ License:      Free to use, but see http://www.cogsci.princeton.edu/~wn/
 Group:         Applications/Dictionaries
 Source0:       ftp://ftp.dict.org/pub/dict/pre/%{name}_%{version}.tar.gz
 URL:           http://www.dict.org/
-BuildRequires: autoconf
-BuildRequires: dictzip
 Requires:      dictd
 Requires:      %{_sysconfdir}/dictd
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package contains WordNet (r) %{version} Lexical Database formatted for
+This package contains WordNet (r) %version Lexical Database formatted for
 use by the dictionary server in the dictd package.
 
 %description -l pl
-Ten pakiet zawiera leksykaln± bazê danych WordNet w wersji %{version} 
-sformatowan± do u¿ywania z serwerem s³ownika dictd.
+Ten pakiet zawiera leksykaln± bazê danych WordNet (r) %version sformatowan±
+do u¿ywania z serwerem s³ownika dictd.
 
 %prep
-%setup -q -c 0 -n wordnet
+%setup -c -q
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_datadir}/dictd/,%{_sysconfdir}/dictd}
-install wn* $RPM_BUILD_ROOT%{_datadir}/dictd/
+install -d $RPM_BUILD_ROOT{%{_datadir}/dictd,%{_sysconfdir}/dictd}
 
-dictprefix=%{_datadir}/dictd/wn
-echo "# WordNet %{version} Lexical Database dictionary
+dictprefix=%{_datadir}/dictd/%{dictname}
+echo "# WordNet %version Lexical Database dictionary
 database %{dictname} {
        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
This page took 0.089691 seconds and 4 git commands to generate.