# The original source of this package contains a font with a forbidden # license. # The attached source tarball does not contain this font and has been # produced from the original by executing the following commands: # # wget http://web135.srv3.sysproserver.de/milki.erphesfurt.de./captcha/captcha-%{version}.tgz # tar xzf captcha-%{version}.tgz # rm -f captcha-%{version}/MyUnderwood.* # tar czf captcha-%{version}.nofont.tar.gz captcha-%{version} # # SHA1 sums: # facfe0f57adddd4e278852abd5499177f03a0c1f captcha-2.3.tgz # 5387d2972766d5109cb4ae8572350a2229a89705 captcha-2.3.nofont.tar.gz %if 0%{?fedora} >= 9 || 0%{?rhel} >= 6 %global fontdir %{_datadir}/fonts/dejavu %else %global fontdir %{_datadir}/fonts/freefont %endif Name: php-captchaphp Summary: PHP very user-friendly CAPTCHA solution Version: 2.3 Release: 1%{?dist} # Public Domain or any FOSS License, see README # We're choosing MIT because it is universally compatible with other FOSS # licenses. License: Public Domain or MIT Group: System Environment/Libraries URL: http://freshmeat.net/projects/captchaphp/ Source0: captcha-%{version}.nofont.tar.gz Patch1: captcha-2.3-24pre.patch Requires: php-gd >= 4.3.2 Requires: %{fontdir} Buildarch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description This PHP script provides a very user-friendly CAPTCHA solution. You can easily embed it into your