]> git.pld-linux.org Git - packages/perl-Authen-PAM.git/blame - perl-Authen-PAM.spec
- release 14 (by relup.sh)
[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#
ab87f5fe 5%include /usr/lib/rpm/macros.perl
04b0ba09 6%define pdir Authen
7%define pnam PAM
5c629aee 8Summary: Authen::PAM - Perl interface to PAM library
91f04abc 9Summary(pl.UTF-8): Authen::PAM - interfejs perlowy do biblioteki PAM
b6f2dba7 10Name: perl-Authen-PAM
beb9a338 11Version: 0.16
2dcbc8e4 12Release: 14
5207d740 13# same as perl
14License: GPL v1+ or Artistic
fc02e3aa 15Vendor: Nikolay Pelov <pelov@cs.kuleuven.ac.be>
b6f2dba7 16Group: Development/Languages/Perl
b723bf40 17Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
beb9a338 18# Source0-md5: 7278471dfa694d9ef312bc92d7099af2
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}
b6f2dba7 33
34%build
7a74aeb2 35%{__perl} Makefile.PL \
a8838fe6 36 INSTALLDIRS=vendor
82e56597 37%{__make} \
f3ed2e1a 38 CC="%{__cc}" \
82e56597 39 OPTIMIZE="%{rpmcflags}"
b6f2dba7 40
cfd8aaeb 41%{?with_tests:%{__make} test}
0e0c8c8a 42
b6f2dba7 43%install
44rm -rf $RPM_BUILD_ROOT
b6f2dba7 45
82e56597 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
b6f2dba7 48
b6f2dba7 49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
9112d3aa 54%doc Changes README
7a74aeb2 55%{perl_vendorarch}/Authen/*.pm
56%dir %{perl_vendorarch}/auto/Authen/PAM
7a74aeb2 57%attr(755,root,root) %{perl_vendorarch}/auto/Authen/PAM/PAM.so
b6f2dba7 58%{_mandir}/man3/*
This page took 0.07927 seconds and 4 git commands to generate.