diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-08-07 15:07:02 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-08-07 15:07:02 +0200 |
commit | db4dc937d96c557e6e1d3a7ef13252d0f3117252 (patch) | |
tree | 516ccff37d99198eb78b34e8d85a1298fb07af22 /php-pear-Text-CAPTCHA.spec | |
parent | 8b8715e2ccbe35e6e5f9eb0541c092af1bf7fc5a (diff) |
php-pear-Text-CAPTCHA: 0.5.0
Diffstat (limited to 'php-pear-Text-CAPTCHA.spec')
-rw-r--r-- | php-pear-Text-CAPTCHA.spec | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/php-pear-Text-CAPTCHA.spec b/php-pear-Text-CAPTCHA.spec index 3efe976..f3e847e 100644 --- a/php-pear-Text-CAPTCHA.spec +++ b/php-pear-Text-CAPTCHA.spec @@ -1,15 +1,27 @@ +# spec file for php-pear-Text-CAPTCHA +# +# Copyright (c) 2013 Remi Collet +# License: CC-BY-SA +# http://creativecommons.org/licenses/by-sa/3.0/ +# +# Please, preserve the changelog entries +# %{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} %global pear_name Text_CAPTCHA Name: php-pear-Text-CAPTCHA -Version: 0.4.6 +Version: 0.5.0 Release: 1%{?dist} Summary: Generation of CAPTCHAs Group: Development/Libraries License: BSD URL: http://pear.php.net/package/Text_CAPTCHA -Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz +# remove tests which use non-free stuff (fonts) +# pear download Text_CAPTCHA-%{version} +# ./strip.sh %{version} +Source0: %{pear_name}-%{version}-strip.tgz +Source1: strip.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -19,11 +31,11 @@ Requires(post): %{__pear} Requires(postun): %{__pear} Requires: php-gd Requires: php-pear(PEAR) -Requires: php-pear(Text_Password) +Requires: php-pear(Text_Password) >= 1.1.1 # Optional Requires: php-pear(Numbers_Words) Requires: php-pear(Text_Figlet) -Requires: php-pear(Image_Text) +Requires: php-pear(Image_Text) >= 0.7.0 Provides: php-pear(%{pear_name}) = %{version} @@ -36,11 +48,7 @@ computers and humans apart) %setup -q -c cd %{pear_name}-%{version} -# fix wrong-file-end-of-line-encoding -sed -e 's/\r//' -i examples/CAPTCHA_Word_test.php -# remove checksum for altered file -sed -e '/CAPTCHA_Word_test.php/s/md5sum.*name/name/' \ - ../package.xml >%{name}.xml +mv ../package.xml %{name}.xml %build @@ -85,6 +93,10 @@ fi %changelog +* Wed Aug 07 2013 Remi Collet <remi@fedoraproject.org> - 0.5.0-1 +- Update to 0.5.0 +- strip sources from non-free stuff (fonts) + * Mon Mar 18 2013 Remi Collet <remi@fedoraproject.org> - 0.4.6-1 - Version 0.4.6 (alpha) - API 0.4.0 (alpha) |