%define pkg_name B-Graph %define pkg_version 0.51 %define rpm_pkg_version 0.51 %define rpm_pkg_release 5.n0i.5 Summary: Perl Compiler backend to diagram OP trees Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/S/SM/SMCCAM/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(B)} %description This module is a layer between the perl-internals-examining parts of Malcolm Beattie's perl compiler (the B::* classes) and your favorite graph layout tool (currently Dot and VGC are supported, but adding others would be easy). It examines the internal structures that perl builds to represent your code (OPs and SVs), and generates specifications for multicolored boxes and arrows to represent them. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes README %changelog * Tue May 22 2007 Marius Feraru - 0.51-5.n0i.5 - mass rebuild * Thu Jul 28 2005 Marius Feraru 0.51-4.n0i.4 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:0.51-3.n0i.3 - automatic rebuild (perl 5.8.6) * Sun Dec 05 2004 Marius Feraru 0:0.51-2.n0i.2 - automatic rebuild (perl 5.8.6) * Mon Jul 05 2004 Marius Feraru 0:0.51-1.n0i.1 - version 0.51 - spec file (re?)created using N0i::CPAN::RPMizer/2004050401