diff --git a/.devtoolset-3-perl-Authen-PAM.metadata b/.devtoolset-3-perl-Authen-PAM.metadata new file mode 100644 index 0000000..de8931c --- /dev/null +++ b/.devtoolset-3-perl-Authen-PAM.metadata @@ -0,0 +1 @@ +648dc61f67fc17571072c3e1221827230eb2820b SOURCES/Authen-PAM-0.16.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5834920 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/Authen-PAM-0.16.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Authen-PAM.spec b/SPECS/perl-Authen-PAM.spec new file mode 100644 index 0000000..fea5d79 --- /dev/null +++ b/SPECS/perl-Authen-PAM.spec @@ -0,0 +1,72 @@ +%{?scl:%scl_package perl-Authen-PAM} +%{!?scl:%global pkg_name %{name}} + +Name: %{?scl_prefix}perl-Authen-PAM +Version: 0.16 +Release: 5%{?dist} +Summary: Authen-PAM Perl module + +Group: Development/Libraries +License: (GPL+ or Artistic) and (GPLv2+ or Artistic) +URL: http://search.cpan.org/dist/Authen-PAM/ +Source0: http://search.cpan.org/CPAN/authors/id/N/NI/NIKIP/Authen-PAM-0.16.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: pam-devel +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +%{?scl:Requires: %scl_runtime} +ExclusiveArch: %{ix86} x86_64 + +%description + + +%prep +%setup -q -n Authen-PAM-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT/%_scl_root +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' +find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' +chmod -R u+w $RPM_BUILD_ROOT/* + +# tests failed horribly. old spec did not run them so disable for now +#%check +#make test + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc Changes README +%_scl_root%{perl_vendorarch}/* +%exclude %dir %_scl_root%{perl_vendorarch}/auto/ +%{_mandir}/man3/*.3* + + +%changelog +* Wed Apr 17 2013 Krzysztof Daniel 0.16-5 +- Rebuild to get proper dist macro value. + +* Fri Dec 14 2012 Krzysztof Daniel 0.16-4 +- Initial contribution to SCL. + +* Thu Apr 14 2011 Michael Mraka 0.16-3 +- rebuilt on RHEL5 and RHEL6 + +* Fri Feb 25 2011 Tomas Lestach 0.16-2 +- tagging to build for RHEL6 + +* Sat Feb 28 2009 Dennis Gilmore