source: projects/specs/trunk/p/perl-Authen-Krb5-Simple/perl-Authen-Krb5-Simple-vl.spec @ 9185

Revision 9185, 2.1 KB checked in by inagaki, 9 years ago (diff)

2014-12-23 Ryoichi INAGAKI <ryo1@…>

  • perl-Authen-{Krb5, Krb5-Simple}, perl-Gnome2-{Canvas, GConf, VFS, Wnck}, perl-Gtk2-RDF-Core: rebuilt
  • perl-Gnome2, perl-Gtk2-{GladeXML, ImageView?}, perl-NetPacket?: updated


Line 
1%define real_name Authen-Krb5-Simple
2
3Summary:        Basic user authentication using Kerberos 5
4Name:           perl-%{real_name}
5Version:        0.43
6Release:        2%{?_dist_release}
7License:        Artistic or GPL+
8Group:          Development/Libraries
9URL:            http://search.cpan.org/dist/Authen-Krb5-Simple/
10
11Source:         http://search.cpan.org/CPAN/authors/id/D/DS/DSTUART/Authen-Krb5-Simple-%{version}.tar.gz
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires:  perl
15BuildRequires:  perl(ExtUtils::MakeMaker)
16BuildRequires:  perl(Test::More)
17BuildRequires:  krb5-devel
18Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
19
20
21%description
22The Authen::Krb5::Simple module provides a means to authenticate a
23user/password using Kerberos 5 protocol. The module's authenticate function
24takes a username (or user@kerberos_realm) and a password, and authenticates
25that user using the local Kerberos 5 installation. It was initially created to
26allow perl scripts to perform authentication against a Microsoft Active
27Directory (AD) server configured to accept Kerberos client requests.
28
29It is important to note: This module only performs simple authentication. It
30does not get, grant, use, or retain any kerberos tickets. It will check user
31credentials against the Kerberos server (as configured on the local system)
32each time the authenticate method is called.
33
34%prep
35%setup -q -n %{real_name}-%{version}
36
37%build
38perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
39make %{?_smp_mflags}
40
41%install
42rm -rf %{buildroot}
43make pure_install DESTDIR=%{buildroot}
44find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
45find %{buildroot} -depth -type d -exec rmdir {} ';' 2>/dev/null
46%{_fixperms} %{buildroot}
47
48%check
49make test
50
51%clean
52rm -rf %{buildroot}
53
54%files
55%defattr(-, root, root, -)
56%doc Changes MANIFEST README
57%{perl_vendorarch}/*
58%{_mandir}/man3/*
59
60%changelog
61* Mon Dec 22 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.43-2
62- rebuilt with perl 5.16.3
63
64* Sat Mar 10 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.43-1
65- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.