rpms/python-pyspf/devel python-pyspf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Sean Reifschneider (jafo) fedora-extras-commits at redhat.com
Fri Sep 1 02:24:13 UTC 2006


Author: jafo

Update of /cvs/extras/rpms/python-pyspf/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27389/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-pyspf.spec 
Log Message:
auto-import python-pyspf-1.7-5 on branch devel from python-pyspf-1.7-5.src.rpm


--- NEW FILE python-pyspf.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-pyspf
Version:        1.7
Release:        5%{?dist}
Summary:        Python module and programs for SPF (Sender Policy Framework)

Group:          Development/Languages
License:        Python Software Foundation License
URL:            http://sourceforge.net/forum/forum.php?forum_id=596908
Source0:        http://easynews.dl.sourceforge.net/sourceforge/pymilter/pyspf-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-setuptools
Requires:       python-pydns

%description
SPF does email sender validation.  For more information about SPF,
please see http://spf.pobox.com.

This SPF client is intended to be installed on the border MTA, checking
if incoming SMTP clients are permitted to forward mail.  The SPF check
should be done during the MAIL FROM:<...> command.

%define namewithoutpythonprefix %(echo %{name} | sed 's/^python-//')
%prep
%setup -q -n %{namewithoutpythonprefix}-%{version}


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT/usr/bin/type99.py $RPM_BUILD_ROOT/usr/bin/type99
mv $RPM_BUILD_ROOT/usr/bin/spfquery.py $RPM_BUILD_ROOT/usr/bin/spfquery
rm -f $RPM_BUILD_ROOT/usr/bin/*.py{o,c}
sed -i -e 's|^#!/usr/bin/env python$||' $RPM_BUILD_ROOT/%{python_sitelib}/spf.py


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc CHANGELOG PKG-INFO README rfc4408-tests.yml test.yml
%{python_sitelib}/spf.py*
/usr/bin/type99
/usr/bin/spfquery

%changelog
* Thu Aug 31 2006 Sean Reifschneider <jafo at tummy.com> 1.7-5
- Changing SPEC file where it strips out the shebang line.

* Thu Aug 31 2006 Sean Reifschneider <jafo at tummy.com> 1.7-4
- Adding -2 .spec file changelog entry.

* Wed Aug 30 2006 Sean Reifschneider <jafo at tummy.com> 1.7-3
- Changes based on review from Kevin Fenzi.

* Wed Aug 30 2006 Sean Reifschneider <jafo at tummy.com> 1.7-3
- Changes based on review from Kevin Fenzi.

* Tue Aug 29 2006 Sean Reifschneider <jafo at tummy.com> 1.7-1
- Initial RPM spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-pyspf/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Sep 2006 02:23:54 -0000	1.1
+++ .cvsignore	1 Sep 2006 02:24:13 -0000	1.2
@@ -0,0 +1 @@
+pyspf-1.7.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-pyspf/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Sep 2006 02:23:54 -0000	1.1
+++ sources	1 Sep 2006 02:24:13 -0000	1.2
@@ -0,0 +1 @@
+eabc78b67018efdfea68ae9b9d545e80  pyspf-1.7.tar.gz




More information about the scm-commits mailing list