perl-Apache-AuthzNIS/perl-Apache-AuthzNIS.spec

Name: perl-Apache-AuthzNIS
Summary: mod_perl NIS Group Authorization module
Version: 0.11
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Apache-AuthzNIS/
Description: mod_perl NIS Group Authorization module.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Shannon Eric Peevey <speeves$erikin,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Apache-AuthzNIS

Summary: mod_perl NIS Group Authorization module
Name: perl-Apache-AuthzNIS
Version: 0.11
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Apache-AuthzNIS/

Source: http://www.cpan.org/modules/by-module/Apache/Apache-AuthzNIS-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)
#BuildRequires: perl(ExtUtils::AutoInstall) >= 0.52

%description
mod_perl NIS Group Authorization module.

%prep
%setup -n %{real_name}-%{version}

%build
echo "n" | %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" NAME="Apache::AuhzNIS"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes MANIFEST README
%doc %{_mandir}/man3/Apache::AuthzNIS.3pm*
%dir %{perl_vendorlib}/Apache/
#%{perl_vendorlib}/Apache/AuthzNIS/
%{perl_vendorlib}/Apache/AuthzNIS.pm

%changelog
* Sun Jun 22 2008 Dag Wieers <dag@wieers.com> - 0.11-1
- Initial package. (using DAR)