|
@@ -31,17 +31,17 @@ Distribution: OpenPKG Community
|
|
|
Class: EVAL
|
|
Class: EVAL
|
|
|
Group: Searching
|
|
Group: Searching
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 1.27
|
|
|
|
|
-Release: 20080101
|
|
|
|
|
|
|
+Version: 1.31
|
|
|
|
|
+Release: 20080408
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
-Source0: http://www.daemon.de/files/mirror/ftp.daemon.de/scip/Scripts/leo-%{version}.tar.gz
|
|
|
|
|
|
|
+Source0: http://www.daemon.de/files/mirror/ftp.daemon.de/scip/PerlModules/WWW-Dict-Leo-Org-%{version}.tar.gz
|
|
|
Patch0: leo.patch
|
|
Patch0: leo.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, perl
|
|
|
|
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg
|
|
|
PreReq: OpenPKG, openpkg >= 20040130, perl, perl-db
|
|
PreReq: OpenPKG, openpkg >= 20040130, perl, perl-db
|
|
|
AutoReq: no
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
AutoReqProv: no
|
|
@@ -54,18 +54,21 @@ AutoReqProv: no
|
|
|
prog leo = {
|
|
prog leo = {
|
|
|
version = %{version}
|
|
version = %{version}
|
|
|
url = http://www.daemon.de/ScriptsLeo
|
|
url = http://www.daemon.de/ScriptsLeo
|
|
|
- regex = leo-(__VER__)\.tar\.gz
|
|
|
|
|
|
|
+ regex = WWW-Dict-Leo-Org-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
- %setup -q
|
|
|
|
|
|
|
+ %setup -q -n WWW-Dict-Leo-Org-%{version}
|
|
|
%patch -p0
|
|
%patch -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
- %{l_prefix}/bin/pod2man leo.pod >leo.1
|
|
|
|
|
|
|
+ %{l_prefix}/bin/pod2man leo >leo.1
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg prepare
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
%{l_shtool} mkdir -f -p -m 755 \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1
|
|
$RPM_BUILD_ROOT%{l_prefix}/man/man1
|
|
@@ -74,7 +77,8 @@ AutoReqProv: no
|
|
|
leo $RPM_BUILD_ROOT%{l_prefix}/bin/
|
|
leo $RPM_BUILD_ROOT%{l_prefix}/bin/
|
|
|
%{l_shtool} install -c -m 644 \
|
|
%{l_shtool} install -c -m 644 \
|
|
|
leo.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
|
|
leo.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
|
|
|
- %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
|
+ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
|
|
|
|
|
+ %{l_files_std} `cat perl-openpkg-files`
|
|
|
|
|
|
|
|
%files -f files
|
|
%files -f files
|
|
|
|
|
|