Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
leafnode
leafnode.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File leafnode.spec of Package leafnode
# # spec file for package leafnode # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: leafnode BuildRequires: pcre-devel Provides: nntp_daemon Conflicts: inn cnews Version: 1.11.8 Release: 0 PreReq: /bin/mkdir /bin/cat Summary: A Leaf Site NNTP Server License: LGPL-2.1+ and SUSE-Public-Domain and MIT Group: Productivity/Networking/News/Servers Url: http://sourceforge.net/projects/leafnode/ Source0: http://switch.dl.sourceforge.net/sourceforge/leafnode/leafnode-%{version}.tar.bz2 Source1: README.SuSE Source2: leafnode.cron.daily Source3: filters Source4: leafnode.xinetd Source5: leafnode-fetch.cron Patch0: leafnode-1.11.6-spooldir-permissions.diff Patch1: leafnode-1.11.8-gethostbyname-2-getaddrinfo.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: cron %description Leafnode is a small NNTP server for leaf sites without permanent connections to the Internet. It supports a subset of NNTP and is able to automatically fetch the newsgroups the user reads regularly from the ISP's news server. Authors: -------- Matthias Andree <matthias.andree@gmx.de> (maintainer since 1.9.19) Arnt Gulbrandsen <agulbra@troll.no> Cornelius Krasel <krasel@wpxx02.toxi.uni-wuerzburg.de> Kent Robotti <robotti@erols.com> Markus Enzenberger <enz@cip.physik.uni-muenchen.de> Randolf Skerka <rskerka@metronet.de> Alexander Reinwarth <a.reinwarth@gmx.de> Alexander Stielau <aleks@zedat.fu-berlin.de> Ralf Wildenhues <ralf.wildenhues@gmx.de> %prep %setup -q -n %{name}-%{version} %patch0 %patch1 %build CFLAGS="-Wall $RPM_OPT_FLAGS" %configure --with-ipv6 \ --sysconfdir=%{_sysconfdir}/%{name} \ --with-spooldir=/var/spool/news %__make %check %__make check %install make DESTDIR=$RPM_BUILD_ROOT install mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily $RPM_BUILD_ROOT/%{_sysconfdir}/xinetd.d install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/%{_sysconfdir}/cron.daily/%{name} install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/%{_sysconfdir}/xinetd.d/%{name} cp $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/config.example $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/config install -m 644 %{SOURCE1} . install -m 640 %{SOURCE3} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name} install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/de/man1 install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/de/man8 # Get rid of files we don't want to package or package with doc below rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/*.dist rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/UNINSTALL-daemontools rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/filters.example mkdir examples cp -a update.sh tools examples cp %{S:5} examples %clean # Clear up the mess rm -rf $RPM_BUILD_ROOT; %files %defattr(-,root,root) %attr(640,root,news) %config(noreplace) %{_sysconfdir}/%{name}/config %attr(440,root,news) %config %{_sysconfdir}/%{name}/config.example %attr(640,root,news) %config(noreplace) %{_sysconfdir}/%{name}/filters %attr(755,root,root) %config(noreplace) %{_sysconfdir}/cron.daily/%{name} %attr(644,root,root) %config(noreplace) %{_sysconfdir}/xinetd.d/%{name} %attr(750,root,news) %dir %{_sysconfdir}/%{name} %doc ChangeLog COPYING CREDITS NEWS FAQ.txt FAQ.pdf %doc README README.SuSE README-FQDN %doc filters.example %doc ADD-ONS KNOWNBUGS %doc doc_german/INSTALL_de %doc doc_german/LIESMICH-daemontools %doc doc_german/README %doc doc_german/README_de %doc examples/ %doc %{_mandir}/man1/newsq.1.gz %doc %{_mandir}/man1/leafnode-version.1.gz %doc %{_mandir}/man8/applyfilter.8.gz %doc %{_mandir}/man8/checkgroups.8.gz %doc %{_mandir}/man8/fetchnews.8.gz %doc %{_mandir}/man8/leafnode.8.gz %doc %{_mandir}/man8/texpire.8.gz /usr/bin/newsq /usr/bin/leafnode-version /usr/sbin/applyfilter /usr/sbin/checkgroups /usr/sbin/fetchnews /usr/sbin/leafnode /usr/sbin/texpire %attr(775,news,news) /var/spool/news %changelog
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