2014-12-29 13:50:56 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-App-Cme
|
|
|
|
#
|
2024-01-04 15:10:06 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2014-12-29 13:50:56 +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.
|
|
|
|
|
2018-10-07 22:11:43 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-12-29 13:50:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-09-27 15:57:22 +00:00
|
|
|
%define cpan_name App-Cme
|
2014-12-29 13:50:56 +00:00
|
|
|
Name: perl-App-Cme
|
2025-01-09 16:29:59 +00:00
|
|
|
Version: 1.41.0
|
2014-12-29 13:50:56 +00:00
|
|
|
Release: 0
|
2025-01-09 16:29:59 +00:00
|
|
|
# 1.041 -> normalize -> 1.41.0
|
|
|
|
%define cpan_version 1.041
|
2018-10-07 22:11:43 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2022-03-26 08:19:56 +00:00
|
|
|
Summary: Configuration data checker or editor based on Config::Model
|
2020-07-26 08:01:12 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2024-01-04 15:10:06 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{cpan_version}.tar.gz
|
2015-04-27 05:40:34 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:11:44 +02:00
|
|
|
Source100: README.md
|
2014-12-29 13:50:56 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(App::Cmd::Setup)
|
2017-06-29 07:57:29 +00:00
|
|
|
BuildRequires: perl(App::Cmd::Tester)
|
2022-02-08 15:53:17 +00:00
|
|
|
BuildRequires: perl(Config::Model) >= 2.148
|
2014-12-29 13:50:56 +00:00
|
|
|
BuildRequires: perl(Config::Model::FuseUI)
|
|
|
|
BuildRequires: perl(Config::Model::Lister)
|
|
|
|
BuildRequires: perl(Config::Model::ObjTreeScanner)
|
|
|
|
BuildRequires: perl(Config::Model::SimpleUI)
|
|
|
|
BuildRequires: perl(Config::Model::TermUI)
|
|
|
|
BuildRequires: perl(Config::Model::Utils::GenClassPod)
|
2017-03-13 06:19:47 +00:00
|
|
|
BuildRequires: perl(File::HomeDir)
|
2016-05-20 05:23:49 +00:00
|
|
|
BuildRequires: perl(JSON)
|
2017-06-29 07:57:29 +00:00
|
|
|
BuildRequires: perl(Log::Log4perl)
|
2024-01-04 15:10:06 +00:00
|
|
|
BuildRequires: perl(Module::Build) >= 0.34
|
2014-12-29 13:50:56 +00:00
|
|
|
BuildRequires: perl(Path::Tiny)
|
|
|
|
BuildRequires: perl(Pod::POM)
|
2015-08-28 12:37:01 +00:00
|
|
|
BuildRequires: perl(Pod::POM::View::Text)
|
2020-07-26 08:01:12 +00:00
|
|
|
BuildRequires: perl(Term::ANSIColor) >= 2.01
|
2014-12-29 13:50:56 +00:00
|
|
|
BuildRequires: perl(Test::File::Contents)
|
2021-09-27 15:57:22 +00:00
|
|
|
BuildRequires: perl(Test::Perl::Critic)
|
2020-07-26 08:01:12 +00:00
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
2022-02-08 15:53:17 +00:00
|
|
|
BuildRequires: perl(YAML::PP)
|
2014-12-29 13:50:56 +00:00
|
|
|
Requires: perl(App::Cmd::Setup)
|
2022-02-08 15:53:17 +00:00
|
|
|
Requires: perl(Config::Model) >= 2.148
|
2014-12-29 13:50:56 +00:00
|
|
|
Requires: perl(Config::Model::FuseUI)
|
|
|
|
Requires: perl(Config::Model::Lister)
|
|
|
|
Requires: perl(Config::Model::ObjTreeScanner)
|
|
|
|
Requires: perl(Config::Model::SimpleUI)
|
|
|
|
Requires: perl(Config::Model::TermUI)
|
|
|
|
Requires: perl(Config::Model::Utils::GenClassPod)
|
2017-03-13 06:19:47 +00:00
|
|
|
Requires: perl(File::HomeDir)
|
2016-05-20 05:23:49 +00:00
|
|
|
Requires: perl(JSON)
|
2017-06-29 07:57:29 +00:00
|
|
|
Requires: perl(Log::Log4perl)
|
2014-12-29 13:50:56 +00:00
|
|
|
Requires: perl(Path::Tiny)
|
|
|
|
Requires: perl(Pod::POM)
|
2015-08-28 12:37:01 +00:00
|
|
|
Requires: perl(Pod::POM::View::Text)
|
2022-02-08 15:53:17 +00:00
|
|
|
Requires: perl(YAML::PP)
|
2024-01-04 15:10:06 +00:00
|
|
|
Provides: perl(App::Cme) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::check) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::dump) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::edit) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::fix) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::fusefs) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::gen_class_pod) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::list) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::migrate) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::modify) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::run) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::search) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::shell) = %{version}
|
|
|
|
Provides: perl(App::Cme::Command::update) = %{version}
|
|
|
|
Provides: perl(App::Cme::Common) = %{version}
|
|
|
|
Provides: perl(App::Cme::Run::Var) = %{version}
|
2024-03-08 21:59:45 +00:00
|
|
|
%undefine __perllib_provides
|
2020-01-14 12:45:01 +00:00
|
|
|
Recommends: perl(Config::Model::TkUI) >= 1.370
|
2014-12-29 13:50:56 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
2020-01-14 12:45:01 +00:00
|
|
|
Configuration data checker or editor based on Config::Model
|
2014-12-29 13:50:56 +00:00
|
|
|
|
|
|
|
%prep
|
2024-01-04 15:10:06 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
2014-12-29 13:50:56 +00:00
|
|
|
|
|
|
|
%build
|
2024-01-04 15:10:06 +00:00
|
|
|
perl Build.PL --installdirs=vendor
|
|
|
|
./Build build --flags=%{?_smp_mflags}
|
2014-12-29 13:50:56 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
./Build test
|
|
|
|
|
|
|
|
%install
|
2024-01-04 15:10:06 +00:00
|
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
2014-12-29 13:50:56 +00:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2017-03-13 06:19:47 +00:00
|
|
|
%doc build-from-git.md Changes CONTRIBUTING.md
|
|
|
|
%license LICENSE
|
2014-12-29 13:50:56 +00:00
|
|
|
|
|
|
|
%changelog
|