auto-import perl-Sub-Identify-0.02-1.fc5 on branch devel from
perl-Sub-Identify-0.02-1.fc5.src.rpm
This commit is contained in:
parent
05843f2dad
commit
00a52d5d96
@ -0,0 +1 @@
|
||||
Sub-Identify-0.02.tar.gz
|
||||
48
perl-Sub-Identify.spec
Normal file
48
perl-Sub-Identify.spec
Normal file
@ -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 <cweyl@alumni.drew.edu> 0.02-1
|
||||
- Specfile autogenerated by cpanspec 1.69.1.
|
||||
Loading…
Reference in New Issue
Block a user