source: projects/specs/branches/6/p/perl-Authen-Captcha/perl-Authen-Captcha-vl.spec @ 3736

Revision 3736, 1.8 KB checked in by Takemikaduchi, 13 years ago (diff)

rebuild with perl-5.12.3

Line 
1%define real_name Authen-Captcha
2
3Summary: a Perl extension for creating captchas
4Summary(ja): CAPTCHA(tm) を Perl で扱うための Module
5Name: perl-Authen-Captcha
6Version: 1.023
7Release: 2%{?_dist_release}
8License: distributable
9Group: Development/Libraries
10Source0: ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Net/%{real_name}-%{version}.tar.gz
11
12Buildroot: %{_tmppath}/%{name}-%{version}-root
13BuildArch: noarch
14BuildRequires: perl >= 5.8.0
15BuildRequires: perl-GD
16Requires: perl >= 5.8.0
17
18%description
19Perl extension for creating captcha's
20to verify the human element in transactions.
21
22%description -l ja
23CAPTCHA(tm) を Perl で扱うための Module
24
25%prep
26%setup -q -n %{real_name}-%{version}
27
28%build
29perl Makefile.PL INSTALLDIRS=vendor
30make
31
32%install
33rm -rf %{buildroot}
34make pure_install DESTDIR=%{buildroot}
35             
36find $RPM_BUILD_ROOT%{_prefix} -type f -print |
37        sed "s@^$RPM_BUILD_ROOT@@g" |
38        grep -v ^%{_mandir} |
39        grep -v perllocal.pod |
40        grep -v "\.packlist" > %{name}.files
41if [ "$(cat %{name}.files)X" = "X" ] ; then
42    echo "ERROR: EMPTY FILE LIST"
43    exit -1
44fi
45
46%clean
47rm -rf %{buildroot}
48
49%check
50make test
51
52%files -f %{name}.files
53%defattr(-,root,root)
54%doc Changes MANIFEST README license.txt
55%dir %{perl_vendorlib}/Authen/Captcha
56%{_mandir}/*/*
57
58%changelog
59* Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.023-2
60- rebuild with perl-5.12.3
61
62* Wed Mar 11 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.023-1
63- applied new versioning policy
64- spec in UTF-8
65- changed Group to Development/Libraries
66- installed perl modules to vendor_perl directory
67
68* Wed Jul 26 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.023-0vl1
69- for VineSeed (plus)
70
71* Tue Jul 11 2006 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.023-0vl0
72- initial package for VinePlus
Note: See TracBrowser for help on using the repository browser.