]> git.pld-linux.org Git - SPECS.git/blob - perl-RT-Authen-ExternalAuth.spec
SPECS updated Sun 1 Aug 20:28:02 CEST 2021
[SPECS.git] / perl-RT-Authen-ExternalAuth.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define pdir    RT
6 %define pnam    Authen-ExternalAuth
7 Summary:        RT::Authen::ExternalAuth - RT Authentication using External Sources
8 Summary(pl.UTF-8):      RT::Authen::ExternalAuth - uwierzytelnianie w RT przy użyciu zewnętrznych źródeł
9 Name:           perl-RT-Authen-ExternalAuth
10 Version:        0.17
11 Release:        1
12 License:        GPL version 2
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/RT/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  f1d17f4c83d7ec2615db2e42f7b82d19
16 URL:            http://search.cpan.org/dist/RT-Authen-ExternalAuth/
17 BuildRequires:  perl-devel >= 1:5.8.0
18 BuildRequires:  perl-ldap
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildRequires:  rt >= 3.8.0
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 A complete package for adding external authentication mechanisms to
26 RT. It currently supports LDAP via Net::LDAP and External Database
27 authentication for any database with an installed DBI driver.
28
29 It also allows for authenticating cookie information against an
30 external database through the use of the RT-Authen-CookieAuth
31 extension.
32
33 %description -l pl.UTF-8
34 Kompletny pakiet pozwalający na dodawanie zewnętrznych mechanizmów
35 uwierzytelniania do RT. Aktualnie obsługuje LDAP poprzez Net::LDAP
36 oraz zewnętrzne bazy danych dla każdej bazy mającej zainstalowany
37 sterownik DBI.
38
39 Pozwala także na uwierzytelnianie informacji z ciasteczek (cookie)
40 względem zewnętrznej bazy danych poprzez rozszerzenie
41 RT-Authen-CookieAuth.
42
43 %prep
44 %setup -q -n %{pdir}-%{pnam}-%{version}
45
46 %build
47 %{__perl} Makefile.PL \
48         INSTALLDIRS=vendor
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} pure_install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 cp etc/RT_SiteConfig.pm RT_SiteConfig.pm.example
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files
65 %defattr(644,root,root,755)
66 %doc ChangeLog README RT_SiteConfig.pm.example
67 %dir %{perl_vendorlib}/RT/Authen
68 %{perl_vendorlib}/RT/Authen/*.pm
69 %dir %{perl_vendorlib}/RT/Authen/ExternalAuth
70 %{perl_vendorlib}/RT/Authen/ExternalAuth/*.pm
71 %dir %{perl_vendorlib}/RT/Authen/ExternalAuth/DBI
72 %{perl_vendorlib}/RT/Authen/ExternalAuth/DBI/*.pm
73 %{_mandir}/man3/*
This page took 0.352947 seconds and 3 git commands to generate.