]> git.pld-linux.org Git - packages/perl-Crypt-Passwd.git/blob - perl-Crypt-Passwd.spec
rebuild with perl 5.32
[packages/perl-Crypt-Passwd.git] / perl-Crypt-Passwd.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Crypt
6 %define         pnam    Passwd
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
10 Version:        0.03
11 Release:        25
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)
22
23 %description
24 Crypt::Passwd Perl module provides an interface layer between Perl 5
25 and Michael Glad's UFC Crypt library.
26
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.
30
31 %prep
32 %setup -q -n %{pdir}-%{pnam}-%{version}
33
34 %build
35 %{__perl} Makefile.PL \
36         INSTALLDIRS=vendor
37 %{__make} \
38         CC="%{__cc}" \
39         OPTIMIZE="%{rpmcflags}"
40
41 %{?with_tests:%{__make} test}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc Changes README
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
57 %{_mandir}/man3/*
This page took 0.075797 seconds and 3 git commands to generate.