rpms/python-tgcaptcha/EL-5 python-tgcaptcha-0.11-pycrypto.patch, NONE, 1.1 python-tgcaptcha.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Luke Macken (lmacken)
fedora-extras-commits at redhat.com
Mon May 5 20:56:26 UTC 2008
Author: lmacken
Update of /cvs/pkgs/rpms/python-tgcaptcha/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16921
Modified Files:
.cvsignore sources
Added Files:
python-tgcaptcha-0.11-pycrypto.patch python-tgcaptcha.spec
Log Message:
Initial commit of python-tgcaptcha's EL-5 branch, based on F-8
python-tgcaptcha-0.11-pycrypto.patch:
--- NEW FILE python-tgcaptcha-0.11-pycrypto.patch ---
--- setup.py.orig 2008-04-23 15:14:40.000000000 -0400
+++ setup.py 2008-04-23 15:14:51.000000000 -0400
@@ -17,8 +17,7 @@
#download_url=download_url,
license=license,
- install_requires = ["TurboGears >= 1.0.1",
- "pycrypto >= 2.0.1"],
+ install_requires = ["TurboGears >= 1.0.1"],
# dependency_links = ['http://effbot.org/downloads/'],
zip_safe=False,
packages=find_packages(exclude=['tests']),
--- NEW FILE python-tgcaptcha.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define eggname TGCaptcha
Name: python-tgcaptcha
Version: 0.11
Release: 3%{?dist}
Summary: A TurboGears CAPTCHA widget for forms
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/tgcaptcha
Source0: http://tgcaptcha.googlecode.com/files/%{eggname}-%{version}.tar.gz
Patch0: %{name}-%{version}-pycrypto.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: python-devel TurboGears
Requires: TurboGears >= 1.0.1
Requires: python-crypto >= 2.0.1
Requires: python-imaging
%description
TGCaptcha is a TurboGears widget that provides an easy way to incorporate a
captcha as part a form in an attempt to reduce spam or malicious activity.
%prep
%setup -q -n %{eggname}-%{version}
%patch0
chmod -x tgcaptcha/static/fonts/tuffy/*
%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 README.txt COPYRIGHT.txt
%{python_sitelib}/*
%changelog
* Wed Apr 23 2008 Luke Macken <lmacken at redhat.com> 0.11-3
- Add a patch to remove the PyCrypto requirement from the egg info, as this
does not exist in F8.
- Require python-imaging
* Tue Mar 11 2008 Luke Macken <lmacken at redhat.com> 0.11-2
- Make package noarch
- Fix lengthy description
- Remove the executable bit from the fonts
* Mon Mar 10 2008 Luke Macken <lmacken at redhat.com> 0.11-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-tgcaptcha/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 12 Mar 2008 17:23:01 -0000 1.1
+++ .cvsignore 5 May 2008 20:55:47 -0000 1.2
@@ -0,0 +1 @@
+TGCaptcha-0.11.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-tgcaptcha/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Mar 2008 17:23:01 -0000 1.1
+++ sources 5 May 2008 20:55:47 -0000 1.2
@@ -0,0 +1 @@
+08e52f7055d2f1084d225d910f637420 TGCaptcha-0.11.tar.gz
More information about the fedora-extras-commits
mailing list