perl-Package-Generator/perl-Package-Generator.spec
2006-09-07 04:59:13 +00:00

56 lines
1.4 KiB
RPMSpec

Name: perl-Package-Generator
Version: 0.100
Release: 2%{?dist}
Summary: Generate new packages quickly and easily
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Package-Generator/
Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Package-Generator-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
# for testing...
BuildRequires: perl(Test::Pod::Coverage), perl(Test::Pod), perl(Params::Util)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module lets you quickly and easily construct new packages. It gives
them unused names and sets up their package data, if provided.
%prep
%setup -q -n Package-Generator-%{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/*
%changelog
* Wed Sep 06 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.100-2
- bump
* Tue Sep 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.100-1
- Specfile autogenerated by cpanspec 1.69.1.