Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ayearout
lmtp2nntp
lmtp2nntp.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lmtp2nntp.spec of Package lmtp2nntp
## ## lmtp2nntp.spec -- OpenSUSE RPM Package Specification ## Name: lmtp2nntp Summary: Mail to News Gateway URL: http://www.ossp.org/pkg/tool/lmtp2nntp/ Vendor: Thomas Lotterer Group: Productivity/Networking/Email/Servers License: GPL Version: 1.4.1 Release: 1 Source0: %{name}-%{version}.tar.gz Source1: lmtp2nntp.rc Source2: lmtp2nntp.conf Source3: lmtp2nntp.logrotate Patch01: lmtp2nntp-gcc43.diff Prefix: %{_prefix} BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc Recommends: logrotate %description The OSSP lmtp2nntp program is an LMTP service for use in conjunction with an MTA (like Sendmail), providing a reliable real-time mail to news gateway. Input messages get their headers slightly reformatted to match Usenet news article format. The article is then posted or feeded into a remote NNTP service (like INN). Delivery must take place immediately or the transaction fails. OSSP lmtp2nntp relies on the queuing capabilities of the MTA in order to provide a fully reliable service. For this the program returns proper delivery status notification which indicates successful completed action, persistent transient failure or permanent failure. %prep %setup -q %patch01 -p0 %build export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" %configure make %install mkdir -p -m 755 \ $RPM_BUILD_ROOT%{_initrddir} \ $RPM_BUILD_ROOT/etc/logrotate.d \ $RPM_BUILD_ROOT%{_localstatedir}/run/%{name} \ $RPM_BUILD_ROOT%{_localstatedir}/log/%{name} make install DESTDIR=$RPM_BUILD_ROOT install -m 755 %{S:1} $RPM_BUILD_ROOT%{_initrddir}/%{name} install -m 644 %{S:2} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}.conf install -m 644 %{S:3} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/%{name} ln -sf ../../etc/init.d/%{name} ${RPM_BUILD_ROOT}%{_sbindir}/rc%{name} %clean rm -fr ${RPM_BUILD_ROOT} %files %defattr(-,root,root,-) %dir %{_localstatedir}/run/%{name} %dir %{_localstatedir}/log/%{name} %config(noreplace) %{_sysconfdir}/%{name}.conf %config(noreplace) %{_sysconfdir}/logrotate.d/%{name} %{_initrddir}/%{name} %{_sbindir}/rc%{name} %{_sbindir}/%{name} %{_mandir}/man8/* %doc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS %post %fillup_and_insserv %{name} %postun %restart_on_update %{name} %insserv_cleanup %preun %stop_on_removal %{name} %changelog * Fri Apr 30 2010 ayearout@royal.wednet.edu - Initial conversion from OpenPKG Spec file
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor