2007-01-15 23:30:10 +00:00
|
|
|
#
|
2011-11-11 11:15:01 +00:00
|
|
|
# spec file for package perl-Convert-UUlib
|
2007-01-15 23:30:10 +00:00
|
|
|
#
|
2019-10-27 14:22:08 +00:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-15 23:30:10 +00:00
|
|
|
#
|
2008-10-23 02:42:44 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-10-27 14:22:08 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-15 23:30:10 +00:00
|
|
|
#
|
|
|
|
|
2008-10-23 02:42:44 +00:00
|
|
|
|
|
|
|
Name: perl-Convert-UUlib
|
2019-10-27 14:22:08 +00:00
|
|
|
Version: 1.6
|
2014-10-09 05:35:44 +00:00
|
|
|
Release: 0
|
2019-10-27 14:22:08 +00:00
|
|
|
%define cpan_name Convert-UUlib
|
|
|
|
Summary: Perl interface to the uulib library (a.k.a. uudeview/uuenview)
|
|
|
|
License: CHECK(Artistic-1.0 OR GPL-1.0-or-later)
|
2014-10-09 05:35:44 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2019-10-27 14:22:08 +00:00
|
|
|
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
|
2010-10-19 10:50:50 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 13:59:02 +00:00
|
|
|
BuildRequires: perl-macros
|
2018-09-26 07:34:38 +00:00
|
|
|
BuildRequires: perl(Canary::Stability)
|
2019-10-27 14:22:08 +00:00
|
|
|
%{perl_requires}
|
|
|
|
# MANUAL BEGIN
|
2014-10-09 05:35:44 +00:00
|
|
|
Provides: p_conulb
|
|
|
|
Obsoletes: p_conulb
|
2019-10-27 14:22:08 +00:00
|
|
|
# MANUAL END
|
2007-01-15 23:30:10 +00:00
|
|
|
|
|
|
|
%description
|
2019-10-27 14:22:08 +00:00
|
|
|
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.
|
2007-01-15 23:30:10 +00:00
|
|
|
|
|
|
|
%prep
|
2018-09-26 07:34:38 +00:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2019-10-27 14:22:08 +00:00
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -name "*.sh" ! -name "configure" -print0 | xargs -0 chmod 644
|
2007-01-15 23:30:10 +00:00
|
|
|
|
|
|
|
%build
|
2019-10-27 14:22:08 +00:00
|
|
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
2010-01-12 13:12:54 +00:00
|
|
|
make %{?_smp_mflags}
|
2008-10-23 02:42:44 +00:00
|
|
|
|
|
|
|
%check
|
2019-10-27 14:22:08 +00:00
|
|
|
make test
|
2007-01-15 23:30:10 +00:00
|
|
|
|
|
|
|
%install
|
2019-10-27 14:22:08 +00:00
|
|
|
%perl_make_install
|
2007-01-15 23:30:10 +00:00
|
|
|
%perl_process_packlist
|
2019-10-27 14:22:08 +00:00
|
|
|
%perl_gen_filelist
|
2007-01-15 23:30:10 +00:00
|
|
|
|
2019-10-27 14:22:08 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes doc example-decoder README
|
2018-09-26 07:34:38 +00:00
|
|
|
%license COPYING COPYING.Artistic COPYING.GNU
|
2007-01-15 23:30:10 +00:00
|
|
|
|
2008-10-23 02:42:44 +00:00
|
|
|
%changelog
|