]> git.pld-linux.org Git - packages/perl-Crypt-Passwd.git/blame - perl-Crypt-Passwd.spec
rebuild with perl 5.32
[packages/perl-Crypt-Passwd.git] / perl-Crypt-Passwd.spec
CommitLineData
8c10836f 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
4dd18371 5%define pdir Crypt
6%define pnam Passwd
e99e27d4 7Summary: Crypt::Passwd - interface to the UFC-Crypt library
e672b7ed 8Summary(pl.UTF-8): Crypt::Passwd - interfejs do biblioteki UFC-Crypt
39facafb 9Name: perl-Crypt-Passwd
10Version: 0.03
0314cd9c 11Release: 25
53619b0d 12# same as perl and/or UFC-Crypt library
13License: GPL v1+ or Artistic
39facafb 14Group: Development/Languages/Perl
5db6a01b 15Source0: http://www.cpan.org/modules/by-module/Crypt/%{pdir}-%{pnam}-%{version}.tar.gz
81c7ffbb 16# Source0-md5: 66d9794442e27f33ad05685035082aa9
5db6a01b 17URL: http://search.cpan.org/dist/Crypt-Passwd/
0dcbe33b 18BuildRequires: perl-devel >= 1:5.8.0
39facafb 19BuildRequires: perl-Digest-MD5
48c8c4b1 20BuildRequires: rpm-perlprov >= 4.1-13
a2a0d910 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39facafb 22
23%description
53619b0d 24Crypt::Passwd Perl module provides an interface layer between Perl 5
25and Michael Glad's UFC Crypt library.
39facafb 26
8dcf855a
JR
27%description -l pl.UTF-8
28Moduł Perla Crypt::Passwd udostępnia warstwę interfejsu pomiędzy
29Perlem 5 a biblioteką UFC Crypt Michaela Glada.
39facafb 30
31%prep
8550e440 32%setup -q -n %{pdir}-%{pnam}-%{version}
39facafb 33
34%build
48c8c4b1 35%{__perl} Makefile.PL \
72024f82 36 INSTALLDIRS=vendor
8c10836f 37%{__make} \
eb2939a1 38 CC="%{__cc}" \
8c10836f 39 OPTIMIZE="%{rpmcflags}"
40
41%{?with_tests:%{__make} test}
39facafb 42
43%install
44rm -rf $RPM_BUILD_ROOT
8c10836f 45%{__make} install \
46 DESTDIR=$RPM_BUILD_ROOT
39facafb 47
39facafb 48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%files
52%defattr(644,root,root,755)
62a82549 53%doc Changes README
48c8c4b1 54%{perl_vendorarch}/Crypt/Passwd.pm
55%dir %{perl_vendorarch}/auto/Crypt/Passwd
48c8c4b1 56%attr(755,root,root) %{perl_vendorarch}/auto/Crypt/Passwd/Passwd.so
39facafb 57%{_mandir}/man3/*
This page took 0.074723 seconds and 4 git commands to generate.