SPECS: sn.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 6 17:00:02 CEST 2008


Author: glen                         Date: Mon Oct  6 15:00:02 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   sn.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/sn.spec
diff -u /dev/null SPECS/sn.spec:1.1
--- /dev/null	Mon Oct  6 17:00:02 2008
+++ SPECS/sn.spec	Mon Oct  6 16:59:57 2008
@@ -0,0 +1,99 @@
+# $Revision$, $Date$
+# TODO
+# - inetd or tcpserver (+ news user?)
+# - makefile patch for cc/cflags/destdir
+Summary:	The sn NNTP Server
+Name:		sn
+Version:	0.3.8
+Release:	0.1
+License:	GPL v2
+Group:		Networking/Daemons
+Source0:	http://patrik.infa.fi/sn/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	157276c0ef8adff5031b0d3950b5a32f
+URL:		http://patrik.infa.fi/sn/
+BuildRequires:	zlib-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+sn is a small news system for small sites serving perhaps a few dozen
+newsgroups, and with a slow connection to the internet. It is similar
+to Leafnode. The target user is a home or SOHO with a single modem
+connection to the Internet, maybe running IP masq or similar, and
+serving a few workstations.
+
+%prep
+%setup -q
+
+%build
+%{__make} cc-flags \
+	PREFIX=%{_prefix}
+
+echo %{rpmcflags} >> cc-flags
+
+%{__make} -C lib libstuff.a \
+	CC="%{__cc}" \
+	LD="%{__cc}" \
+
+%{__make} \
+	CC="%{__cc}" \
+	LD="%{__cc}" \
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
+%{__make} install \
+	PREFIX=$RPM_BUILD_ROOT%{_prefix} \
+	MANDIR=$RPM_BUILD_ROOT%{_mandir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES INSTALL.notes INSTALL.notes2 INSTALL.run INSTALL.upgrade INTERNALS README* THANKS TODO
+%attr(755,root,root) %{_sbindir}/SNHELLO
+%attr(755,root,root) %{_sbindir}/SNPOST
+%attr(755,root,root) %{_sbindir}/dot-outgoing.ex
+%attr(755,root,root) %{_sbindir}/sncancel
+%attr(755,root,root) %{_sbindir}/sncat
+%attr(755,root,root) %{_sbindir}/sndelgroup
+%attr(755,root,root) %{_sbindir}/sndumpdb
+%attr(755,root,root) %{_sbindir}/snexpire
+%attr(755,root,root) %{_sbindir}/snfetch
+%attr(755,root,root) %{_sbindir}/snget
+%attr(755,root,root) %{_sbindir}/sngetd
+%attr(755,root,root) %{_sbindir}/snlockf
+%attr(755,root,root) %{_sbindir}/snmail
+%attr(755,root,root) %{_sbindir}/snnewgroup
+%attr(755,root,root) %{_sbindir}/snntpd
+%attr(755,root,root) %{_sbindir}/snprimedb
+%attr(755,root,root) %{_sbindir}/snscan
+%attr(755,root,root) %{_sbindir}/snsend
+%attr(755,root,root) %{_sbindir}/snsplit
+%attr(755,root,root) %{_sbindir}/snstore
+%{_mandir}/man8/sn.8*
+%{_mandir}/man8/sncancel.8*
+%{_mandir}/man8/sncat.8*
+%{_mandir}/man8/sndelgroup.8*
+%{_mandir}/man8/sndumpdb.8*
+%{_mandir}/man8/snexpire.8*
+%{_mandir}/man8/snfetch.8*
+%{_mandir}/man8/snget.8*
+%{_mandir}/man8/sngetd.8
+%{_mandir}/man8/snmail.8*
+%{_mandir}/man8/snnewgroup.8*
+%{_mandir}/man8/snntpd.8*
+%{_mandir}/man8/snprimedb.8*
+%{_mandir}/man8/snscan.8*
+%{_mandir}/man8/snsend.8*
+%{_mandir}/man8/snsplit.8*
+%{_mandir}/man8/snstore.8*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/10/06 14:59:57  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list