4 %define __find_provides %
( echo -n
/usr
/lib
/rpm
/find
-provides
&& [ -x
/usr
/lib
/rpm
/find
-provides.perl
] && echo .perl
)
5 %define __find_requires %
( echo -n
/usr
/lib
/rpm
/find
-requires
&& [ -x
/usr
/lib
/rpm
/find
-requires.perl
] && echo .perl
)
11 Source0: http
://seamons.com
/cgi_ex
/%{name}-%{version}.tar.gz
12 Group: Development
/Perl
13 License: Perl Artistic
15 Packager: Paul Seamons
18 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
19 Provides: %{name} = %{version}
22 CGI
::Ex is a Perl module that offers an extended suite of
23 functionality
, over and above that offered by CGI
, HTML
::FillInForm
,
24 and the host of Validator scripts on CPAN. CGI
::Ex tries to use the
25 best functions from existing modules and extend them with rich
26 functionality. Particularly of interest is CGI
::Ex
::App which
27 provides extremely easy yet robust CGI developement.
30 %setup -q
-n
%{name}-%{version}
34 %{__make} OPTIMIZE
="$RPM_OPT_FLAGS"
37 rm -rf $RPM_BUILD_ROOT
40 %{makeinstall} PREFIX=$RPM_BUILD_ROOT%{_prefix}
41 #if [ -x /usr/lib/rpm/brp-mandrake ] ; then
42 # /usr/lib/rpm/brp-mandrake
43 #elif [ -x /usr/lib/brp-compress ] ; then
44 # /usr/lib/rpm/brp-compress
47 # Clean up some files we don't want/need
48 find $RPM_BUILD_ROOT
%{_prefix} -type d | tac | xargs
rmdir --ign
49 find $RPM_BUILD_ROOT
%{_prefix} | grep i386 | tac | xargs
rm -rf
52 rm -rf $RPM_BUILD_ROOT
63 * Sat Nov
11 2003 Paul Seamons
<>