51 lines
1.3 KiB
RPMSpec
51 lines
1.3 KiB
RPMSpec
![]() |
%define modname Convert-ASCII-Armour
|
||
|
Name: perl-%{modname}
|
||
|
Version: 1.4
|
||
|
Release: 1
|
||
|
Summary: Convert binary octets into ASCII armoured messages
|
||
|
Requires: perl = %{perl_version} perl-Digest-MD5 perl-Compress-Zlib
|
||
|
BuildRequires: perl perl-Digest-MD5 perl-Compress-Zlib
|
||
|
License: GPL/Artistic
|
||
|
Group: Development/Libraries/Perl
|
||
|
Source: %{modname}-%{version}.tar.bz2
|
||
|
BuildRoot: %{_tmppath}/%{name}-root
|
||
|
|
||
|
%description
|
||
|
This module converts hashes of binary octets into ASCII messages suitable for
|
||
|
transfer over 6-bit clean transport channels. The encoded ASCII resembles PGP's
|
||
|
armoured messages, but are in no way compatible with PGP.
|
||
|
|
||
|
Authors:
|
||
|
--------
|
||
|
Vipul Ved Prakash <mail@vipul.net>
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n %{modname}-%{version}
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
make
|
||
|
make test
|
||
|
|
||
|
%install
|
||
|
rm -rf %{buildroot}
|
||
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||
|
%perl_process_packlist
|
||
|
|
||
|
%clean
|
||
|
rm -rf %{buildroot}
|
||
|
|
||
|
%files
|
||
|
%defattr(-, root, root)
|
||
|
%doc ARTISTIC
|
||
|
%doc %{_mandir}/man?/*
|
||
|
%{perl_vendorlib}/Convert/ASCII/Armour.pm
|
||
|
%{perl_vendorlib}/Convert/ASCII/Armor.pm
|
||
|
%{perl_vendorarch}/auto/Convert/ASCII/Armour
|
||
|
/var/adm/perl-modules/%{name}
|
||
|
|
||
|
%changelog
|
||
|
|
||
|
* Tue Sep 12 2006 - James Oakley <jfunk@funktronics.ca> - 1.4-1
|
||
|
- Initial release
|