3 %bcond_without tests # do not perform "make test"
7 Summary: Crypt::Passwd - interface to the UFC-Crypt library
8 Summary(pl.UTF-8): Crypt::Passwd - interfejs do biblioteki UFC-Crypt
9 Name: perl-Crypt-Passwd
12 # same as perl and/or UFC-Crypt library
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 66d9794442e27f33ad05685035082aa9
17 URL: http://search.cpan.org/dist/Crypt-Passwd/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: perl-Digest-MD5
20 BuildRequires: rpm-perlprov >= 4.1-13
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Crypt::Passwd Perl module provides an interface layer between Perl 5
25 and Michael Glad's UFC Crypt library.
27 %description -l pl.UTF-8
28 Moduł Perla Crypt::Passwd udostępnia warstwę interfejsu pomiędzy
29 Perlem 5 a biblioteką UFC Crypt Michaela Glada.
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
39 OPTIMIZE="%{rpmcflags}"
41 %{?with_tests:%{__make} test}
44 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
54 %{perl_vendorarch}/Crypt/Passwd.pm
55 %dir %{perl_vendorarch}/auto/Crypt/Passwd
56 %attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Passwd/Passwd.so