diff --git a/.cvsignore b/.cvsignore index e69de29..36d6822 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Sub-Identify-0.02.tar.gz diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec new file mode 100644 index 0000000..fcf06aa --- /dev/null +++ b/perl-Sub-Identify.spec @@ -0,0 +1,48 @@ +Name: perl-Sub-Identify +Version: 0.02 +Release: 1%{?dist} +Summary: Retrieve names of code references +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Sub-Identify/ +Source0: http://www.cpan.org/authors/id/R/RG/RGARCIA/Sub-Identify-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%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 Sub-Identify-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} + +make pure_install PERL_INSTALL_ROOT=%{buildroot} + +find %{buildroot} -type f -name .packlist -exec rm -f {} \; +find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} %{buildroot}/* + +%check +make test + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root,-) +%doc Changes +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Sep 05 2006 Chris Weyl 0.02-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..c19e850 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +5efae626e447e064f804e712e5fb03f2 Sub-Identify-0.02.tar.gz