%define realname Catalyst-Plugin-Authentication-Credential-PAM %define abbrevname Catalyst-P-A-Credential-PAM %define name perl-%{abbrevname} %define modprefix Catalyst %define version 0.01 %define release %mkrel 8 Summary: Authenticate a user against PAM Name: %{name} Version: %{version} Release: %{release} License: Artistic/GPL Group: Development/Perl URL: http://search.cpan.org/dist/%{realname}/ Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{modprefix}/%{realname}-%{version}.tar.bz2 BuildRequires: perl(Authen::PAM) BuildRequires: perl(Catalyst) Provides: perl-%{realname} BuildArch: noarch %description This is an authentication credential checker that verifies passwords using a specified PAM service. %prep %setup -q -n %{realname}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %check %{__make} test %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc Changes %{perl_vendorlib}/%{modprefix} %{_mandir}/*/* %clean rm -rf %{buildroot} %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.01-8.mga3 + Revision: 363925 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed Jan 26 2011 jquelin <jquelin> 0.01-7.mga1 + Revision: 40260 - mageia rebuild - imported package perl-Catalyst-P-A-Credential-PAM