2015-04-14 05:02:59 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Test-utf8
|
|
|
|
#
|
2025-01-09 16:28:00 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2015-04-14 05:02:59 +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.
|
|
|
|
|
2020-03-03 14:54:16 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-04-14 05:02:59 +00:00
|
|
|
#
|
|
|
|
|
2011-02-16 23:26:54 +00:00
|
|
|
|
2025-01-09 16:28:00 +00:00
|
|
|
%define cpan_name Test-utf8
|
2011-02-16 23:26:54 +00:00
|
|
|
Name: perl-Test-utf8
|
2025-01-09 16:28:00 +00:00
|
|
|
Version: 1.30.0
|
2011-02-16 23:26:54 +00:00
|
|
|
Release: 0
|
2025-01-09 16:28:00 +00:00
|
|
|
# 1.03 -> normalize -> 1.30.0
|
|
|
|
%define cpan_version 1.03
|
2020-03-03 14:54:16 +00:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2025-01-09 16:28:00 +00:00
|
|
|
Summary: Handy utf8 tests
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/S/SC/SCHWIGON/%{cpan_name}-%{cpan_version}.tar.gz
|
2020-03-03 14:54:16 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:17:57 +02:00
|
|
|
Source100: README.md
|
2015-04-14 05:02:59 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
2011-02-16 23:26:54 +00:00
|
|
|
BuildRequires: perl-macros
|
2025-01-09 16:28:00 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.59
|
|
|
|
Provides: perl(Test::utf8) = %{version}
|
|
|
|
%undefine __perllib_provides
|
2015-04-14 05:02:59 +00:00
|
|
|
%{perl_requires}
|
2011-02-16 23:26:54 +00:00
|
|
|
|
|
|
|
%description
|
2015-04-14 05:02:59 +00:00
|
|
|
This module is a collection of tests useful for dealing with utf8 strings
|
|
|
|
in Perl.
|
|
|
|
|
|
|
|
This module has two types of tests: The validity tests check if a string is
|
|
|
|
valid and not corrupt, whereas the characteristics tests will check that
|
|
|
|
string has a given set of characteristics.
|
2011-02-16 23:26:54 +00:00
|
|
|
|
|
|
|
%prep
|
2025-01-09 16:28:00 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2011-02-16 23:26:54 +00:00
|
|
|
|
|
|
|
%build
|
2020-03-03 14:54:16 +00:00
|
|
|
PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
|
2025-01-09 16:28:00 +00:00
|
|
|
%make_build
|
2011-02-16 23:26:54 +00:00
|
|
|
|
|
|
|
%check
|
2020-03-03 14:54:16 +00:00
|
|
|
make test
|
2011-02-16 23:26:54 +00:00
|
|
|
|
2015-04-14 05:02:59 +00:00
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
2011-02-16 23:26:54 +00:00
|
|
|
|
2015-04-14 05:02:59 +00:00
|
|
|
%files -f %{name}.files
|
|
|
|
%doc CHANGES README
|
2011-02-16 23:26:54 +00:00
|
|
|
|
2015-04-14 05:02:59 +00:00
|
|
|
%changelog
|