File perl-Convert-Base32.spec of Package perl-Convert-Base32
# package perl-Convert-Base32
%define modulename Convert-Base32
Name: perl-%{modulename}
Version: 0.05
Release: 1
BuildRequires: perl perl-macros perl-Test-Exception
%{perl_requires}
%if 0%{?centos_version}
BuildRequires: perl-ExtUtils-MakeMaker
%endif
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: GPL-2.0-or-later
Url: http://search.cpan.org/CPAN/authors/id/I/IK/IKEGAMI/
Summary: Encoding and decoding of base32 strings
Source: %{modulename}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-root
%description
Perl module for encoding and decoding of base32 strings.
Authors:
--------
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
%prep
%setup -q -n %{modulename}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -f %{name}.files
%defattr(-,root,root,-)
%doc README Changes
%changelog
* Mon Apr 12 2010 paddg
- Initial release