]> git.pld-linux.org Git - packages/perl-Authen-PAM.git/blame - perl-Authen-PAM.spec
rebuild with perl 5.32
[packages/perl-Authen-PAM.git] / perl-Authen-PAM.spec
CommitLineData
0e0c8c8a 1#
2# Conditional build:
e11cd597 3%bcond_with tests # perform "make test" (interactive)
0e0c8c8a 4#
04b0ba09 5%define pdir Authen
6%define pnam PAM
5c629aee 7Summary: Authen::PAM - Perl interface to PAM library
91f04abc 8Summary(pl.UTF-8): Authen::PAM - interfejs perlowy do biblioteki PAM
b6f2dba7 9Name: perl-Authen-PAM
beb9a338 10Version: 0.16
698cfcfc 11Release: 21
5207d740 12# same as perl
13License: GPL v1+ or Artistic
fc02e3aa 14Vendor: Nikolay Pelov <pelov@cs.kuleuven.ac.be>
b6f2dba7 15Group: Development/Languages/Perl
b723bf40 16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
beb9a338 17# Source0-md5: 7278471dfa694d9ef312bc92d7099af2
90b8ef24 18Patch0: no-dot-in-INC.patch
0e0c8c8a 19URL: http://www.cs.kuleuven.ac.be/~pelov/pam/
7bcea886 20BuildRequires: pam-devel
8baa1b93 21BuildRequires: perl-devel >= 1:5.8.0
7a74aeb2 22BuildRequires: rpm-perlprov >= 4.1-13
c0927324 23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
b6f2dba7 24
25%description
5c629aee 26Authen::PAM module provides a Perl interface to the PAM library.
b6f2dba7 27
911c8a33
JR
28%description -l pl.UTF-8
29Moduł Authen::PAM umożliwia dostęp z Perla do biblioteki PAM.
b6f2dba7 30
31%prep
ab87f5fe 32%setup -q -n %{pdir}-%{pnam}-%{version}
90b8ef24 33%patch0 -p1
b6f2dba7 34
35%build
7a74aeb2 36%{__perl} Makefile.PL \
a8838fe6 37 INSTALLDIRS=vendor
82e56597 38%{__make} \
f3ed2e1a 39 CC="%{__cc}" \
82e56597 40 OPTIMIZE="%{rpmcflags}"
b6f2dba7 41
cfd8aaeb 42%{?with_tests:%{__make} test}
0e0c8c8a 43
b6f2dba7 44%install
45rm -rf $RPM_BUILD_ROOT
b6f2dba7 46
82e56597 47%{__make} install \
48 DESTDIR=$RPM_BUILD_ROOT
b6f2dba7 49
b6f2dba7 50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%files
54%defattr(644,root,root,755)
9112d3aa 55%doc Changes README
7a74aeb2 56%{perl_vendorarch}/Authen/*.pm
57%dir %{perl_vendorarch}/auto/Authen/PAM
7a74aeb2 58%attr(755,root,root) %{perl_vendorarch}/auto/Authen/PAM/PAM.so
b6f2dba7 59%{_mandir}/man3/*
This page took 0.152204 seconds and 4 git commands to generate.