perl-Authen-SASL/perl-Authen-SASL.spec

Name: perl-Authen-SASL
Summary: SASL Authentication framework
Version: 2.15
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Authen-SASL/
Description: SASL Authentication framework.

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: dries
# Upstream: Graham Barr <gbarr$pobox,com>

### EL6 ships with perl-Authen-SASL-2.13-2.el6
%{?el6:# Tag: rfx}

%{?el3:%define _without_gssapi 1}
%{?rh9:%define _without_gssapi 1}
%{?rh7:%define _without_gssapi 1}
%{?el2:%define _without_gssapi 1}

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

%define real_name Authen-SASL

Summary: SASL Authentication framework
Name: perl-Authen-SASL
Version: 2.15
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Authen-SASL/

Source: http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/Authen-SASL-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(Digest::HMAC_MD5)
BuildRequires: perl(Digest::MD5)
#BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl >= 5.005
Requires: perl(Digest::HMAC_MD5)
Requires: perl(Digest::MD5)
Requires: perl >= 5.005

%filter_from_requires /^perl*/d
%filter_setup


%description
SASL Authentication framework.

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

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__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 META.yml SIGNATURE api.txt example_pl
%doc %{_mandir}/man3/Authen::SASL.3pm*
%doc %{_mandir}/man3/Authen::SASL::*.3pm*
%dir %{perl_vendorlib}/Authen/
%{perl_vendorlib}/Authen/SASL/
%{perl_vendorlib}/Authen/SASL.pm
%{perl_vendorlib}/Authen/SASL.pod

%changelog
* Sat Feb 05 2011 Denis Fateyev <denis@fateyev.com> - 2.15-1
- Updated to version 2.15.

* Thu Jan  7 2010 Christoph Maser <cmr@financial.com> - 2.13-1
- Updated to version 2.13.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 2.12-1
- Updated to release 2.12.

* Sat May 03 2008 Dag Wieers <dag@wieers.com> - 2.11-1
- Updated to release 2.11.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 2.10-1
- Updated to release 2.10.

* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 2.09-1
- Updated to release 2.09.

* Wed Jun 16 2004 Dries Verachtert <dries@ulyssis.org> - 2.08-1
- Initial package.