commit 2e4494d979fc862818e6aa8ce626654633d16283 Author: Ralf Corsépius <corse...@fedoraproject.org> Date: Tue Dec 28 18:19:57 2010 +0100
Import. .gitignore | 1 + perl-Authen-Simple-Passwd.spec | 57 ++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..de0ef85 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Authen-Simple-Passwd-0.6.tar.gz diff --git a/perl-Authen-Simple-Passwd.spec b/perl-Authen-Simple-Passwd.spec new file mode 100644 index 0000000..6f57347 --- /dev/null +++ b/perl-Authen-Simple-Passwd.spec @@ -0,0 +1,57 @@ +Name: perl-Authen-Simple-Passwd +Version: 0.6 +Release: 1%{?dist} +Summary: Simple Passwd authentication +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Authen-Simple-Passwd/ +Source0: http://www.cpan.org/authors/id/C/CH/CHANSEN/Authen-Simple-Passwd-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Authen::Simple) >= 0.3 +BuildRequires: perl(Module::Build) + +# Required by the tests +BuildRequires: perl(Test::More) +BuildRequires: perl(Class::Accessor::Fast) +BuildRequires: perl(Class::Data::Inheritable) + +# For improved tests +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Authenticate against a passwd file. + +%prep +%setup -q -n Authen-Simple-Passwd-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +rm -rf $RPM_BUILD_ROOT + +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +TEST_POD=1 ./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Dec 22 2010 Ralf Corsépius <corse...@fedoraproject.org> 0.6-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..43ab835 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +64f37440bec901c0f59cbd5ef4c14424 Authen-Simple-Passwd-0.6.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel