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 provides a suite of utilities to
make writing CGI scripts
23 more enjoyable. Although they can all be used separately
, the
24 main functionality of each of the modules is best represented
in
25 the CGI
::Ex
::App module. CGI
::Ex
::App takes CGI application building
26 to the next step. CGI
::Ex
::App is not quite a framework
(which normally
27 includes prebuilt html
) instead CGI
::Ex
::App is an extended application
28 flow that dramatically reduces CGI build
time in most cases. It does so
29 using as little magic as possible. See L
<CGI
::Ex
::App
>.
31 The main functionality is provided by several other modules that
32 may be used separately
, or together through the CGI
::Ex interface.
35 %setup -q
-n
%{name}-%{version}
39 %{__make} OPTIMIZE
="$RPM_OPT_FLAGS"
42 rm -rf $RPM_BUILD_ROOT
45 %{makeinstall} PREFIX=$RPM_BUILD_ROOT%{_prefix}
46 #if [ -x /usr/lib/rpm/brp-mandrake ] ; then
47 # /usr/lib/rpm/brp-mandrake
48 #elif [ -x /usr/lib/brp-compress ] ; then
49 # /usr/lib/rpm/brp-compress
52 # Clean up some files we don't want/need
53 find $RPM_BUILD_ROOT
%{_prefix} -type d | tac | xargs
rmdir --ign
54 find $RPM_BUILD_ROOT
%{_prefix} | grep i386 | tac | xargs
rm -rf
57 rm -rf $RPM_BUILD_ROOT
68 * Sat Nov
11 2003 Paul Seamons
<>