8
0
Files
perl-Convert-UUlib/perl-Convert-UUlib.spec
Pedro Monreal Gonzalez 4bac489eec Accepting request 780957 from devel:languages:perl:autoupdate
- updated to 1.7
   see /usr/share/doc/packages/perl-Convert-UUlib/Changes
  1.7  
  	- new function: GetFileList.
  	- experimental perlmulticore support (see manpage).
          - Initialize is now a NOP and CleanUp automatically initializes again.
          - updated example decoder and documentation a bit.
  	- include ecb.h to deal with compiler builtins and endianness.
  	- some further µ-optimisations in hot code, especially for yEnc.
          - replace crc32 function by slice-by-16 version by Stephan Brumme,
            which should speed up yEnc en-/decoding.
          - yEnc: do not calculate two crcs per part, instead, combine
            the part crcs together to form the file crc.
          - yEnc: allow pcrc= in addition to pcrc32= for yenc trailers, as
            some draft mentions both and it is actually in active use.
          - yEnc: ignore crc32= on multiparts, except on the last part,
            which avoids spurious corruption warnings.
          - be more precise in documenting code licenses in COPYING.
          - convert constant creation to the method I normally use.
          - use common::sense.

OBS-URL: https://build.opensuse.org/request/show/780957
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Convert-UUlib?expand=0&rev=34
2020-03-03 09:25:13 +00:00

69 lines
2.2 KiB
RPMSpec

#
# spec file for package perl-Convert-UUlib
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-Convert-UUlib
Version: 1.7
Release: 0
#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later)
%define cpan_name Convert-UUlib
Summary: Perl interface to the uulib library (a.k.a. uudeview/uuenview)
License: GPL-1.0-or-later
Group: Development/Libraries/Perl
Url: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Canary::Stability)
BuildRequires: perl(common::sense) >= 3.74
Requires: perl(common::sense) >= 3.74
%{perl_requires}
# MANUAL BEGIN
Provides: p_conulb
Obsoletes: p_conulb
# MANUAL END
%description
Read the file doc/library.pdf from the distribution for in-depth
information about the C-library used in this interface, and the rest of
this document and especially the non-trivial decoder program at the end.
%prep
%setup -q -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes doc example-decoder README
%license COPYING COPYING.Artistic COPYING.GNU
%changelog