3 %bcond_without tests # Do not perform "make test"
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
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
22 BuildRequires: perl-Error
23 BuildRequires: perl-Term-ReadKey
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
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}/*