]> git.pld-linux.org Git - packages/perl-Crypt-Simple.git/blob - perl-Crypt-Simple.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Crypt-Simple.git] / perl-Crypt-Simple.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4
5 %define         pdir    Crypt
6 %define         pnam    Simple
7 Summary:        Crypt::Simple Perl module - encrypt stuff simply
8 Summary(pl.UTF-8):      Moduł Perla Crypt::Simple - proste szyfrowanie
9 Name:           perl-Crypt-Simple
10 Version:        0.06
11 Release:        5
12 License:        GPL v2+
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  cdea18a98593364855f27afcb8519ec0
16 URL:            http://search.cpan.org/dist/Crypt-Simple/
17 BuildRequires:  perl-Crypt-Blowfish >= 2.06
18 BuildRequires:  perl-Digest-MD5 >= 2.13
19 BuildRequires:  perl-FreezeThaw >= 0.41
20 BuildRequires:  perl-IO-Compress >= 1.11
21 BuildRequires:  perl-MIME-Base64 >= 2.11
22 BuildRequires:  perl-devel >= 1:5.8.0
23 BuildRequires:  rpm-perlprov >= 4.1-13
24 Requires:       perl-Crypt-Blowfish >= 2.06
25 Requires:       perl-Digest-MD5 >= 2.13
26 Requires:       perl-FreezeThaw >= 0.41
27 Requires:       perl-IO-Compress >= 1.11
28 Requires:       perl-MIME-Base64 >= 2.11
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This little module will convert all your data into nice base64 text
34 that you can save in a text file, send in an email, store in a cookie
35 or web page, or bounce around the Net. The data you encrypt can be as
36 simple or as complicated as you like.
37
38 %description -l pl.UTF-8
39 Ten mały moduł moduł konwertuje dane na przyjemny tekst base64, który
40 można zapisać w pliku tekstowym, wysłać pocztą elektroniczną, zapisać
41 w ciasteczku lub na stronie WWW, albo przesyłać przez sieć.
42 Zaszyfrowane dane mogą być dowolnie proste lub skomplikowane.
43
44 %prep
45 %setup -q -n %{pdir}-%{pnam}-%{version}
46
47 %build
48 %{__perl} Makefile.PL \
49         INSTALLDIRS=vendor
50 %{__make}
51
52 %{?with_tests:%{__make} test}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc README
66 %{perl_vendorlib}/Crypt/Simple.pm
67 %{_mandir}/man3/*
This page took 0.040869 seconds and 4 git commands to generate.