%define module Sub-Identify %define name perl-%{module} %define version 0.02 %define release %mkrel 3 Name: %{name} Version: %{version} Release: %{release} Summary: Retrieve names of code references License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module} BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel %description Sub::Identify allows you to retrieve the real name of code references. For this, it uses perl's introspection mechanism, provided by the B module. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes %{perl_vendorlib}/Sub/* %{_mandir}/*/* %changelog * Mon May 07 2007 Olivier Thauvin <nanardon@mandriva.org> 0.02-3mdv2008.0 + Revision: 23889 - rebuild * Fri May 27 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 0.02-1mdk - Initial Mandriva release.