]> git.pld-linux.org Git - packages/perl-Crypt-Cipher.git/blame - perl-Crypt-Cipher.spec
use generic url
[packages/perl-Crypt-Cipher.git] / perl-Crypt-Cipher.spec
CommitLineData
0f95cd96
JB
1#
2# Conditional build:
17d54ccf 3%bcond_without tests # Do not perform "make test"
8698d70b 4
31ab443b 5%define pdir Crypt
6%define pnam Cipher
8698d70b 7%include /usr/lib/rpm/macros.perl
0f95cd96 8Summary: Crypt::Cipher - very flexible base class for text ciphers
f2057b2e 9Summary(pl.UTF-8): Crypt::Cipher - bardzo elastyczna klasa bazowa dla szyfrów tekstowych
0f95cd96 10Name: perl-Crypt-Cipher
f6d8d03e 11Version: 0.03
4f6bce2b 12Release: 2
c330a9a0 13# same as perl
0f95cd96
JB
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
f6d8d03e 17# Source0-md5: 0d4467342f81a0adb1f53cabb9cd473b
8698d70b 18URL: http://search.cpan.org/dist/Crypt-Cipher/
f71a2fa9 19BuildRequires: perl-devel >= 1:5.8.0
0f95cd96 20BuildRequires: rpm-perlprov >= 4.1-13
8698d70b
ER
21%if %{with tests}
22BuildRequires: perl-Regexp-Tr >= 0.04
23%endif
0f95cd96
JB
24Requires: perl-Regexp-Tr >= 0.04
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Crypt::Cipher provides a standard interface and simple methods for
30ciphers of various kinds, saving on development time and redundant
31code.
32
bdc7e788 33%description -l pl.UTF-8
8698d70b
ER
34Moduł Crypt::Cipher dostarcza standardowy interfejs i proste metody
35dla szyfrów różnego rodzaju, pozwalając zaoszczędzić na czasie
0f95cd96
JB
36programowania i powielonym kodzie.
37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
42%{__perl} Makefile.PL \
43 INSTALLDIRS=vendor
44%{__make}
45
2dce2901 46%{?with_tests:%{__make} test}
0f95cd96
JB
47
48%install
49rm -rf $RPM_BUILD_ROOT
50
51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
59%doc README
60%{perl_vendorlib}/Crypt/Cipher.pm
61%{_mandir}/man3/*
This page took 0.096722 seconds and 4 git commands to generate.