%define module CGI-Application %define version 3.0 %define release 1mdk %define pdir CGI Summary: %{module} module for perl Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{module}-%{version}.tar.bz2 Url: http://search.cpan.org/search?dist=%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot Requires: perl, perl-base, perl-HTML-Template >= 0 BuildRequires: perl-devel, perl-HTML-Template >= 0 %description %{module} is intended to make it easier to create sophisticated, reusable web-based applications. This module implements a methodology which, if followed, will make your web software easier to design, easier to document, easier to write, and easier to evolve. %prep %setup -q -n %{module}-%{version} %build [ -n "%{buildroot}" -a "%{buildroot}" != / ] && rm -rf %{buildroot} CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make make test %install make PREFIX=$RPM_BUILD_ROOT%{_prefix} install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(444,root,root,755) %doc Changes MANIFEST README Examples/* %{perl_vendorlib}/CGI/* %{_mandir}/*/* %changelog * Sun Feb 16 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 3.0-1mdk - 3.0 * Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 2.6-3mdk - rebuild * Thu Oct 24 2002 Lenny Cartier <lenny@mandrakesoft.com> 2.6-2mdk - from Peter Chen <petechen@netilla.com> : - Minor fix in spec file and source permission to appease rpmlint. * Mon Oct 21 2002 Peter Chen <petechen@netilla.com> 2.6-1mdk - 2.6 - First packaging.