# $Id$ # Authority: dries # Upstream: Jonas Liljegren %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %define real_name CGI-Debug Summary: Module for CGI programs debugging Name: perl-CGI-Debug Version: 1.0 Release: 1.2%{?dist} License: Artistic/GPL Group: Applications/CPAN URL: http://search.cpan.org/dist/CGI-Debug/ Source: http://www.cpan.org/modules/by-module/CGI/CGI-Debug-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: perl BuildRequires: perl(ExtUtils::MakeMaker) %description It's goal is to catch ALL errors and display them, along with useful data like form data, cookies, etc. You should never see the "Internal Server Error" message. %prep %setup -n %{real_name}-%{version} %build echo | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} pure_install ### Clean up buildroot find %{buildroot} -name .packlist -exec %{__rm} {} \; %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc Changes README %doc %{_mandir}/man3/* %{perl_vendorlib}/CGI/Debug.pm %changelog * Sat Apr 9 2005 Dries Verachtert - 1.0-1 - Initial package.