From 4e5778af87c76aaadcc5d99df6a7c562521bc440 Mon Sep 17 00:00:00 2001 From: Jose Pedro Oliveira Date: Dec 20 2006 09:23:28 +0000 Subject: auto-import perl-Module-Find-0.05-1 on branch devel from perl-Module-Find-0.05-1.src.rpm --- diff --git a/.cvsignore b/.cvsignore index e69de29..c80d754 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Module-Find-0.05.tar.gz diff --git a/perl-Module-Find.spec b/perl-Module-Find.spec new file mode 100644 index 0000000..7eb98c8 --- /dev/null +++ b/perl-Module-Find.spec @@ -0,0 +1,57 @@ +Name: perl-Module-Find +Version: 0.05 +Release: 1%{?dist} +Summary: Find and use installed modules in a (sub)category + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Module-Find/ +Source0: http://www.cpan.org/authors/id/C/CR/CRENZ/Module-Find-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module::Find lets you find and use modules in categories. This can be very +useful for auto-detecting driver or plugin modules. You can differentiate +between looking in the category itself or in all subcategories. + + +%prep +%setup -q -n Module-Find-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + + +%check +make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/Module/ +%{_mandir}/man3/*.3pm* + + +%changelog +* Tue Dec 19 2006 Jose Pedro Oliveira - 0.05-1 +- First build. diff --git a/sources b/sources index e69de29..abc53ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1b756c84e476fc8179fcf2699a4d1a86 Module-Find-0.05.tar.gz