|
@@ -24,18 +24,19 @@
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: lmtp2nntp
|
|
Name: lmtp2nntp
|
|
|
-Summary: mail to news gateway
|
|
|
|
|
|
|
+Summary: Mail to News Gateway
|
|
|
URL: http://www.ossp.org/pkg/lmtp2nntp/
|
|
URL: http://www.ossp.org/pkg/lmtp2nntp/
|
|
|
Vendor: Thomas Lotterer
|
|
Vendor: Thomas Lotterer
|
|
|
Packager: The OpenPKG Project
|
|
Packager: The OpenPKG Project
|
|
|
Distribution: OpenPKG [EXP]
|
|
Distribution: OpenPKG [EXP]
|
|
|
Group: Mail
|
|
Group: Mail
|
|
|
License: GPL
|
|
License: GPL
|
|
|
-Version: 1.0.0
|
|
|
|
|
|
|
+Version: 1.1b1
|
|
|
Release: 2
|
|
Release: 2
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lmtp2nntp/lmtp2nntp-%{version}.tar.gz
|
|
Source0: ftp://ftp.ossp.org/pkg/lmtp2nntp/lmtp2nntp-%{version}.tar.gz
|
|
|
|
|
+Source1: rc.lmtp2nntp
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -69,7 +70,15 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
%install
|
|
%install
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
+ %{l_shtool} mkdir -f -p -m 755 \
|
|
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d \
|
|
|
|
|
+ $RPM_BUILD_ROOT%{l_prefix}/var/lmtp2nntp
|
|
|
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
|
|
%{l_make} %{l_mflags} install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
+ %{l_shtool} install -c -m 755 \
|
|
|
|
|
+ -e 's;@l_prefix@;%{l_prefix};g' \
|
|
|
|
|
+ -e 's;@l_fsusr@;%{l_fsusr};g' \
|
|
|
|
|
+ -e 's;@l_fsgrp@;%{l_fsgrp};g' \
|
|
|
|
|
+ %{SOURCE rc.lmtp2nntp} $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d/
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std}
|
|
|
|
|
|
|
|
%files -f files
|
|
%files -f files
|