[python-akismet] Initial import (#739777).

kumarpraveen kumarpraveen at fedoraproject.org
Wed Sep 21 14:56:46 UTC 2011


commit fc243ddbdaa69df4955d1341b585ba85e374dfb7
Author: Praveen <daredevil at localhost.localdomain>
Date:   Wed Sep 21 20:26:24 2011 +0530

    Initial import (#739777).

 .gitignore          |    1 +
 python-akismet.spec |   43 +++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..22e6ff6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/akismet-0.2.0.tar.gz
diff --git a/python-akismet.spec b/python-akismet.spec
new file mode 100644
index 0000000..9feb4fc
--- /dev/null
+++ b/python-akismet.spec
@@ -0,0 +1,43 @@
+%global mod_name akismet
+
+Name:           python-akismet
+Version:        0.2.0
+Release:        1%{?dist}
+Summary:        Python interface to the Akismet anti comment-spam API
+
+Group:          Development/Libraries
+License:        BSD
+URL:            http://pypi.python.org/pypi/%{mod_name}
+Source0:        http://pypi.python.org/packages/source/a/%{mod_name}/%{mod_name}-%{version}.tar.gz
+
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+%description
+Akismet is a web service for recognizing spam comments. It promises to be
+almost 100% effective at catching comment spam. They say that currently 81%
+of all comments submitted to them are spam.It's designed to work with the 
+Wordpress Blog Tool, but it's not restricted to that so this is a Python 
+interface to the Akismet API.
+
+%prep
+%setup -q -n %{mod_name}-%{version}
+
+
+%build
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+
+%install
+%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
+
+ 
+%files
+%doc README.txt PKG-INFO
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/*.py*
+
+%changelog
+* Mon Sep 19 2011 Praveen Kumar <kumarpraveen.nitdgp at gmail.com> - 0.2.0-1
+- Initial RPM build
diff --git a/sources b/sources
index e69de29..83bae34 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bd4b471d88aadad00a6fd70dea97e718  akismet-0.2.0.tar.gz


More information about the scm-commits mailing list