SPECS: wendzelnntpd.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 6 16:32:12 CEST 2008


Author: glen                         Date: Mon Oct  6 14:32:12 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/wendzelnntpd.spec
diff -u /dev/null SPECS/wendzelnntpd.spec:1.1
--- /dev/null	Mon Oct  6 16:32:12 2008
+++ SPECS/wendzelnntpd.spec	Mon Oct  6 16:32:06 2008
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+# TODO
+# - news uid
+# - initscript
+Summary:	Tiny, easy to configure NNTP server for Unix
+Name:		wendzelnntpd
+Version:	1.4.0
+Release:	0.1
+License:	GPL v3
+Group:		Networking/Daemons
+Source0:	http://dl.sourceforge.net/wendzelnntpd/%{name}-%{version}-src.tgz
+# Source0-md5:	9ad40120ebf6d72417ecc0b8b7910350
+URL:		http://www.easysw.com/~mike/newsd/
+BuildRequires:	bison
+BuildRequires:	sed >= 4.0
+BuildRequires:	sqlite3-devel
+Requires(post,preun):	/sbin/chkconfig
+Requires:	rc-scripts
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The WendzelNNTPd is a simple IPv6-ready Usenet server with the main
+goal to be as easy to use as possible.
+
+It is portable (Linux/*BSD/*nix/Win32) and comes with a Qt based GUI.
+It also supports short RSS info output for the last posted messages.
+
+%prep
+%setup -q -n %{name}
+%{__sed} -i -e 's,^gcc -,%{__cc} -,' configure
+%{__sed} -i -e 's,BUILDFLAGS=-O2 ,BUILDFLAGS=%{rpmcflags} ,' Makefile
+%{__sed} -i -e 's,CFLAGS= -c -Wall ,CFLAGS= -c -Wall %{rpmcflags},' Makefile
+%{__sed} -i -e 's,/var/spool/news/wendzelnntpd,$(DESTDIR)/../&,' Makefile
+%{__sed} -i -e 's,strip,echo,' Makefile
+
+%build
+export CONFDIR=%{_sysconfdir}
+./configure
+
+%{__make} \
+	CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT%{_prefix} \
+	FAKECDIR=$RPM_BUILD_ROOT%{_sysconfdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/wendzelnntpd.conf
+%attr(755,root,root) %{_sbindir}/wendzelnntpadm
+%attr(755,root,root) %{_sbindir}/wendzelnntpd
+
+%dir /var/spool/news/wendzelnntpd
+%config(noreplace) %verify(not md5 mtime size) /var/spool/news/wendzelnntpd/usenet.db
+
+%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:32:06  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list