rpms/python-tgcaptcha/F-8 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
Thu Mar 13 14:43:56 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/python-tgcaptcha/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7160

Modified Files:
	.cvsignore sources 
Added Files:
	python-tgcaptcha.spec 
Log Message:
Initial package import


--- 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:        2%{?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
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

%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}
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
* 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/F-8/.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	13 Mar 2008 14:43:20 -0000	1.2
@@ -0,0 +1 @@
+TGCaptcha-0.11.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-tgcaptcha/F-8/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	13 Mar 2008 14:43:20 -0000	1.2
@@ -0,0 +1 @@
+08e52f7055d2f1084d225d910f637420  TGCaptcha-0.11.tar.gz




More information about the fedora-extras-commits mailing list