diff --git a/perl-MIME-Base64.spec b/perl-MIME-Base64.spec index a93bd794993bc0c7a8128063780ce682d66ffa64..34f33a3cb65c1e158ca80462dbf53665b8915d71 100644 --- a/perl-MIME-Base64.spec +++ b/perl-MIME-Base64.spec @@ -1,41 +1,25 @@ -%define anolis_release 4 +%define anolis_release 5 + Name: perl-MIME-Base64 +Summary: Encoding and decoding of Base64 and quoted-printable strings Version: 3.16 Release: %{anolis_release}%{?dist} -Summary: Encoding and decoding of Base64 and quoted-printable strings -# Base.xs: (GPL+ or Artistic) and MIT (Bellcore's part) -# Other files: GPL+ or Artistic License: (GPL+ or Artistic) and MIT URL: https://cpan.metacpan.org/authors Source0: %{url}/id/C/CA/CAPOEIRAB/MIME-Base64-%{version}.tar.gz - -BuildRequires: coreutils -BuildRequires: findutils -BuildRequires: gcc -BuildRequires: make -BuildRequires: perl-devel -BuildRequires: perl-generators -BuildRequires: perl-interpreter -BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 -BuildRequires: perl(strict) -BuildRequires: perl(warnings) -# Run-time: -BuildRequires: perl(Exporter) -BuildRequires: perl(XSLoader) -# Tests: -BuildRequires: perl(Encode) -BuildRequires: perl(File::Spec) -BuildRequires: perl(Test) -BuildRequires: perl(Test::More) - -# Optional tests: -# Perl::API not yet packaged and does not work since perl 5.8.8 +BuildRequires: gcc make coreutils findutils +BuildRequires: perl-devel perl-generators perl(File::Spec) perl(Test) perl(Test::More) +BuildRequires: perl(strict) perl(warnings) perl(Exporter) perl(XSLoader) perl(Encode) +BuildRequires: perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 Conflicts: perl < 4:5.22.0-347 %description -This package contains a Base64 encoder/decoder and a quoted-printable -encoder/decoder. These encoding methods are specified in RFC 2045 - MIME -(Multipurpose Internet Mail Extensions). +perl-MIME-Base64 is a Perl module that provides encoding and decoding +functions for the Base64 encoding scheme. This encoding is commonly used +for email attachments, as well as other data transmission applications +where binary data needs to be transmitted over text-based channels. +The module provides a simple interface for encoding and decoding data using +Base64, making it easy to integrate into Perl scripts and other applications. %package doc Summary: Documentation files for %{name} @@ -54,21 +38,24 @@ perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="$RPM_ %install %{make_install} -find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %{_fixperms} $RPM_BUILD_ROOT/* +find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -delete %check make test %files -%{perl_vendorarch}/auto/* -%{perl_vendorarch}/MIME* %{_mandir}/man3/* +%{perl_vendorarch}/MIME* +%{perl_vendorarch}/auto/* %files doc %doc Changes README %changelog +* Sat Apr 15 2023 Heng Qi - 3.16-5 +- Refactor the spec file + * Thu Feb 09 2023 mgb01105731 - 3.16-4 - remove versioned MODULE_COMPAT_ requires