SPECS: mail2nntp.spec (NEW) - new

glen glen at pld-linux.org
Mon Oct 6 15:53:14 CEST 2008


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

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

---- Diffs:

================================================================
Index: SPECS/mail2nntp.spec
diff -u /dev/null SPECS/mail2nntp.spec:1.1
--- /dev/null	Mon Oct  6 15:53:14 2008
+++ SPECS/mail2nntp.spec	Mon Oct  6 15:53:09 2008
@@ -0,0 +1,51 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	autodeps	# don't BR packages needed only for resolving deps
+#
+%include	/usr/lib/rpm/macros.perl
+Summary:	E-mail to Newsgroup Bridge
+Name:		mail2nntp
+Version:	1.0
+Release:	1
+License:	GPL
+Group:		Applications/Communications
+BuildRequires:	rpm-perlprov >= 4.1-13
+Source0:	http://dl.sourceforge.net/mail2nntp/%{name}-%{version}.tar.bz2
+# Source0-md5:	74a855669c9ec11a9c531c8a3860f624
+URL:		http://freshmeat.net/projects/mail2nntp/
+%if %{with autodeps}
+BuildRequires:	perl-News-NNTPClient
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+mail2nntp is a bridge from email realm to the newsgroup one. It can be
+used to replicate a mailing-list on a newsgroup server. It is a
+generic toot, using NNTP network commands.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install mail2nntp.pl $RPM_BUILD_ROOT%{_bindir}/mail2nntp
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changelog README.txt
+%attr(755,root,root) %{_bindir}/mail2nntp
+
+%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 13:53:09  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list