]> git.pld-linux.org Git - packages/perl-Crypt-Mimetic.git/blob - perl-Crypt-Mimetic.spec
use generic url
[packages/perl-Crypt-Mimetic.git] / perl-Crypt-Mimetic.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # Do not perform "make test"
4
5 %define         pdir    Crypt
6 %define         pnam    Mimetic
7 %include        /usr/lib/rpm/macros.perl
8 Summary:        Crypt::Mimetic - crypt a file and mask it behind another file
9 Summary(pl.UTF-8):      Crypt::Mimetic - szyfrowanie pliku i ukrywanie go w innym
10 Name:           perl-Crypt-Mimetic
11 Version:        0.02
12 Release:        4
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5:  8c37e1950f944d1259c238c73af4e705
18 URL:            http://search.cpan.org/dist/Crypt-Mimetic/
19 BuildRequires:  perl-devel >= 1:5.8.0
20 BuildRequires:  rpm-perlprov >= 4.1-13
21 %if %{with tests}
22 BuildRequires:  perl-Error
23 BuildRequires:  perl-Term-ReadKey
24 %endif
25 BuildArch:      noarch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 This module allows you to hide a file by encrypting in and then
30 attaching it to another file of your choice. This mimetic file then
31 looks and behaves like a normal file, and can be stored, used or
32 emailed without attracting attention.
33
34 %description -l pl.UTF-8
35 Ten moduł pozwala na ukrycie pliku poprzez zaszyfrowanie i dołączenie
36 do innego wybranego pliku. Taki plik wygląda i zachowuje się jak
37 normalny, może być zapisywany, używany albo przesyłany bez
38 przyciągania uwagi.
39
40 %prep
41 %setup -q -n %{pdir}-%{pnam}-%{version}
42
43 %build
44 %{__perl} Makefile.PL \
45         INSTALLDIRS=vendor
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %{perl_vendorlib}/%{pdir}/*.pm
62 %{perl_vendorlib}/%{pdir}/%{pnam}
63 %{perl_vendorlib}/Error/*.pm
64 %attr(755,root,root) %{_bindir}/*
65 %{_mandir}/man[13]/*
This page took 0.064069 seconds and 3 git commands to generate.