initial import

This commit is contained in:
Chris Weyl 2009-09-30 01:47:16 +00:00
parent 5622555e07
commit 730df224af
4 changed files with 67 additions and 0 deletions

View File

@ -0,0 +1 @@
common-sense-1.0.tar.gz

1
import.log Normal file
View File

@ -0,0 +1 @@
perl-common-sense-1_0-2_fc11:HEAD:perl-common-sense-1.0-2.fc11.src.rpm:1254275232

64
perl-common-sense.spec Normal file
View File

@ -0,0 +1,64 @@
Name: perl-common-sense
Version: 1.0
Release: 2%{?dist}
# see LICENSE
License: GPL+ or Artistic
Group: Development/Libraries
Summary: "Common sense" Perl defaults
Source: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/common-sense-%{version}.tar.gz
Url: http://search.cpan.org/dist/common-sense
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)
%{?perl_default_filter}
%description
This module implements some sane defaults for Perl programs, as defined
by two typical (or not so typical - use your common sense) specimens of
Perl coders:
use strict qw(vars subs);
use feature qw(say state switch);
no warnings;
%prep
%setup -q -n common-sense-%{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 LICENSE Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*
%changelog
* Sun Sep 27 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-2
- update summary (though now we deviate from upstream)
* Mon Aug 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.0-1
- auto-update to 1.0 (by cpan-spec-update 0.01)
* Fri Aug 21 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.04-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)

View File

@ -0,0 +1 @@
c6fd2a8fd579f62c57211d7c8e4115f3 common-sense-1.0.tar.gz