Name: perl-CPANPLUS-Shell-Default-Plugins-Changes Version: 0.02 Release: 1%{?dist} # lib/CPANPLUS/Shell/Default/Plugins/Changes.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: View a module's Changes file from the CPANPLUS shell Source: http://search.cpan.org/CPAN/authors/id/A/AR/ARJEN/CPANPLUS-Shell-Default-Plugins-Changes-%{version}.tar.gz Url: http://search.cpan.org/dist/CPANPLUS-Shell-Default-Plugins-Changes BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(CPANPLUS) >= 0.059 # testing... BuildRequires: perl(Test::More) # not automagically picked up, but useless w/o Requires: perl(CPANPLUS::Shell::Default) %description This plugin allows you to display the Changes (or Changelog, ChangeLog, etc) file of a module to get an overview of what (according to the maintainer) has changed. %prep %setup -q -n CPANPLUS-Shell-Default-Plugins-Changes-%{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 README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Feb 17 2009 Chris Weyl 0.02-1 - update for submission - add explicit requires on perl(CPANPLUS::Shell::Default) * Mon Feb 16 2009 Chris Weyl 0.02-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)