rpms/python-recaptcha-client/EL-6 python-recaptcha-client.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Stephen Gallagher sgallagh at fedoraproject.org
Fri Jun 18 16:36:03 UTC 2010


Author: sgallagh

Update of /cvs/pkgs/rpms/python-recaptcha-client/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22606

Modified Files:
	.cvsignore sources 
Added Files:
	python-recaptcha-client.spec 
Log Message:
* Fri Jun 18 2010 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-3.1
- Rebuilt for EPEL6



--- NEW FILE python-recaptcha-client.spec ---
%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%endif

Name:           python-recaptcha-client
Version:        1.0.5
Release:        3.1%{?dist}
Summary:        Python module for reCAPTCHA and reCAPTCHA Mailhide

Group:          Development/Languages
License:        MIT
URL:            http://pypi.python.org/pypi/recaptcha-client
Source0:        http://pypi.python.org/packages/source/r/recaptcha-client/recaptcha-client-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       python-crypto

%description
Provides a CAPTCHA for Python using the reCAPTCHA service. Does not require
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires python-crypto. This library requires two types of API keys. If you'd
like to use the CAPTCHA, you'll need a key from
http://recaptcha.net/api/getkey. For Mailhide, you'll need a key from
http://mailhide.recaptcha.net/apikey.

%prep
%setup -q -n recaptcha-client-%{version}
sed -i 's/^from ez_setup/#from ez_setup/' setup.py
sed -i 's/^use_setuptools()/#use_setuptools()/' setup.py


%build
%{__python} setup.py build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

 
%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc PKG-INFO
%{python_sitelib}/recaptcha/
%{python_sitelib}/recaptcha_client*-nspkg.pth
%{python_sitelib}/recaptcha_client*.egg-info/

%changelog
* Fri Jun 18 2010 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-3.1
- Rebuilt for EPEL6

* Fri Mar 12 2010 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-3
- First release for EPEL5

* Thu Mar 11 2010 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-2
- Conditionally define python_sitelib
- Remove CFLAGS from the build step (unneeded)
- Remove useless comment from %%files
- Update summary

* Tue Mar 09 2010 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-1
- Specfile changes from package review

* Mon Dec 21 2009 Stephen Gallagher <sgallagh at redhat.com> 1.0.5-0
- First release



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-recaptcha-client/EL-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	11 Mar 2010 19:29:09 -0000	1.1
+++ .cvsignore	18 Jun 2010 16:36:02 -0000	1.2
@@ -0,0 +1 @@
+recaptcha-client-1.0.5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-recaptcha-client/EL-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Mar 2010 19:29:09 -0000	1.1
+++ sources	18 Jun 2010 16:36:02 -0000	1.2
@@ -0,0 +1 @@
+f810750fb0be4e1d08b2253e22cbc5d7  recaptcha-client-1.0.5.tar.gz



More information about the scm-commits mailing list