diff --git a/.cvsignore b/.cvsignore index e69de29..66bf2df 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Pod-Spell-1.01.tar.gz diff --git a/perl-Pod-Spell.spec b/perl-Pod-Spell.spec new file mode 100644 index 0000000..97e9dd3 --- /dev/null +++ b/perl-Pod-Spell.spec @@ -0,0 +1,59 @@ +Name: perl-Pod-Spell +Version: 1.01 +Release: 1%{?dist} +Summary: A formatter for spellchecking Pod + +Group: Development/Libraries +License: GPL or Artistic +URL: http://search.cpan.org/dist/Pod-Spell/ +Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/Pod-Spell-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl(Pod::Escapes) >= 1.01 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Pod::Spell is a Pod formatter whose output is good for spellchecking. +Pod::Spell rather like Pod::Text, except that it doesn't put much +effort into actual formatting, and it suppresses things that look like +Perl symbols or Perl jargon (so that your spellchecking program won't +complain about mystery words like "$thing" or "Foo::Bar" or "hashref"). + + +%prep +%setup -q -n Pod-Spell-%{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 -type d -depth -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 ChangeLog README +%{_bindir}/podspell +%{perl_vendorlib}/Pod/ +%{_mandir}/man3/*.3pm* + + +%changelog +* Sun Dec 17 2006 Jose Pedro Oliveira - 1.01-1 +- First build. diff --git a/sources b/sources index e69de29..047c037 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa4964844da2586562aae5208e2dbe61 Pod-Spell-1.01.tar.gz