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) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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: 175
Requires: perl = %{perl_version} perl-Authen-SASL
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
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
* 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.