File perl-Authen-SASL-Cyrus.spec of Package perl-Authen-SASL-Cyrus

#
# spec file for package perl-Authen-SASL-Cyrus (Version 0.12)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#

# norootforbuild

Name:         perl-Authen-SASL-Cyrus
BuildRequires: cyrus-sasl-devel perl-Authen-SASL
Version:      0.12
Release:      4
Requires:     perl = %{perl_version} perl-Authen-SASL
Autoreqprov:  on
Group:        Development/Languages/Perl
License:      GPL, Artistic License
URL:          http://www.cpan.org/modules/by-module/Authen/
Summary:      SASL Authentication Framework - Cyrus Plugin
Source0:      http://www.cpan.org/modules/by-module/Authen/Authen-SASL-Cyrus-%{version}.tar.gz
Patch0:       Authen-SASL-Cyrus-%{version}.dif
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
SASL is a generic mechanism for authentication used by several network
protocols.

Authen::SASL::Cyrus is a plug-in for the Authen::SASL module and
provides an implementation framework that all protocols should be able
to share.

The XS framework makes calls to the existing libsasl.so shared library
to perform SASL client connection functionality, including loading
existing shared library mechanisms.



Authors:
--------
    Mark Adamson <mark@nb.net>

%prep
%setup -n Authen-SASL-Cyrus-%{version}
%patch0 -p0

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make
#make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
#rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc CHANGES
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/Authen
%dir %{perl_vendorarch}/Authen/SASL
%{perl_vendorarch}/Authen/SASL/Cyrus*
%dir %{perl_vendorarch}/auto/Authen
%dir %{perl_vendorarch}/auto/Authen/SASL
%{perl_vendorarch}/auto/Authen/SASL/Cyrus*
/var/adm/perl-modules/%{name}

%changelog -n perl-Authen-SASL-Cyrus
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - mt@suse.de
- Fixed usage of Newz() function
* Wed Sep 28 2005 - dmueller@suse.de
- add norootforbuild
* Wed Jul 27 2005 - mt@suse,de
- update to version 0.12, obsoleting patches
* Mon Aug 16 2004 - mt@suse.de
- updated to version 0.11
- removed old (now obsolete) patch Authen-SASL-Cyrus-0.07.dif
- added new patch Authen-SASL-Cyrus-0.11.dif fixing typos, ...
- added new patch Authen-SASL-Cyrus-0.11.sasl1prop.dif
  providing autoconversion of sasl1 properties sockname,peername
  into the sasl2 iplocalport,ipremoteport while sasl_setprop()
  as required by perl-ldap-0.29 still using sasl1 property names.
* Tue Oct 07 2003 - mt@suse.de
- proper fix for GLOB in Authen::SASL::Cyrus::securesocket()
  as proposed by Graham Barr.
* Wed Oct 01 2003 - mt@suse.de
- fix for Authen::SASL::Cyrus::securesocket() - a local
  declaration of GLOB causes destruction of the handle
- fix for Authen::SASL::Cyrus::Security::READ() - broken
  "$clearbuf eq undef" comparisons...
- added missed Authen::SASL::Cyrus::Security::CLOSE()
  function implementation.
* Mon Sep 08 2003 - mt@suse.de
- initial version 0.07 -- provides bindings to the cyrus-sasl
  library for Authen::SASL, required e.g. for authentication
  using the GSSAPI mechanism.
openSUSE Build Service is sponsored by