%define pkg_name Devel-ebug-HTTP %define pkg_version 0.31 %define rpm_pkg_version 0.31 %define rpm_pkg_release 1.n0i.1 Summary: A web front end to a simple, extensible Perl debugger Name: perl-%{pkg_name} Version: %{rpm_pkg_version} %if "%{pkg_version}" == "%{rpm_pkg_version}" Release: %{rpm_pkg_release} %else Release: %{rpm_pkg_release}.%(echo %{pkg_version} | tr - _) %endif Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: ftp://ftp.cpan.org/authors/id/L/LB/LBROCARD/%{pkg_name}-%{pkg_version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Requires: perl(:MODULE_COMPAT_%(%{__perl} -le 'printf "%%vd", $^V')) Requires: perl(Catalyst) >= 5.64 Requires: perl(Devel::ebug) >= 0.45 Requires: perl(PPI) >= 1.110 %{!?_without_test:BuildRequires: perl(Catalyst) >= 5.64} %{!?_without_test:BuildRequires: perl(Catalyst::Plugin::Static)} %{!?_without_test:BuildRequires: perl(Catalyst::View::TT)} %{!?_without_test:BuildRequires: perl(Devel::ebug) >= 0.45} %{!?_without_test:BuildRequires: perl(HTML::Prototype)} %{!?_without_test:BuildRequires: perl(PPI) >= 1.110} %{!?_without_test:BuildRequires: perl(PPI::HTML)} %{!?_without_test:BuildRequires: perl(Path::Class)} %{!?_without_test:BuildRequires: perl(Test::Expect)} %{!?_without_test:BuildRequires: perl(Test::WWW::Mechanize::Catalyst)} %description Devel::ebug::HTTP is a web-based frontend to Devel::ebug which presents a simple, pretty way to debug programs. "ebug_http" is the command line program to launch the debugger. It will return a URL which you should point a web browser to. %prep %setup -n %{pkg_name}-%{pkg_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name .packlist -delete || : find $RPM_BUILD_ROOT -type f -name '*.bs' -a -empty -delete || : find $RPM_BUILD_ROOT -depth -type d -a -empty -delete || : %{__chmod} -R u+w,go-w $RPM_BUILD_ROOT/* find $RPM_BUILD_ROOT | xargs -r touch %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGES README %{_bindir}/* %{perl_vendorlib}/* %exclude %{perl_vendorlib}/Devel/ebug/HTTP/ebug_http %exclude %{perl_vendorlib}/Devel/ebug/HTTP/CHANGES %{_mandir}/man*/* %changelog * Tue Jun 06 2006 Marius Feraru - 0.31-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer v1.12.1 - rebuild on perl 5.8.8