Files
perl-Term-Detect-Software/perl-Term-Detect-Software.spec
Dirk Stoecker fd097df290 Accepting request 1153684 from devel:languages:perl:autoupdate
- updated to 0.227
   see /usr/share/doc/packages/perl-Term-Detect-Software/Changes
  0.227   2024-02-10  Released-By: PERLANCAR; Urgency: low
          - No functional changes.
          - Edit Changes.
  0.226   2024-02-10  Released-By: PERLANCAR; Urgency: medium; Backward-Incompatible: yes
          - [incompatible change] Disable checking via process names by
            default because it's costly, to explicitly enable this one must
            now set PERL_TERM_DETECT_SOFTWARE_CHECK_PS to true.
          - Downgrade dependency: Proc::Find::Parents to runtime recommends.
  0.225   2024-01-30  Released-By: PERLANCAR; Urgency: medium
          - Observe PERL_TERM_DETECT_SOFTWARE_ENGINE.

OBS-URL: https://build.opensuse.org/request/show/1153684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Term-Detect-Software?expand=0&rev=6
2024-03-08 10:03:02 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-Term-Detect-Software
#
# Copyright (c) 2024 SUSE LLC
#
# 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/
#
%define cpan_name Term-Detect-Software
Name: perl-Term-Detect-Software
Version: 0.227.0
Release: 0
%define cpan_version 0.227
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Detect terminal (emulator) software and its capabilities
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERLANCAR/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(File::Which)
Requires: perl(File::Which)
Provides: perl(Term::Detect::Software) = %{version}
%define __perllib_provides /bin/true
Recommends: perl(Proc::Find::Parents) >= 0.631
%{perl_requires}
%description
This module uses several heuristics to find out what terminal (emulator)
software the current process is running in, and its capabilities/settings.
This module complements other modules such as Term::Terminfo and
Term::Encoding.
%prep
%autosetup -n %{cpan_name}-%{cpan_version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog