112 lines
4.1 KiB
RPMSpec
112 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package perl-App-Cme
|
|
#
|
|
# 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 App-Cme
|
|
Name: perl-App-Cme
|
|
Version: 1.41.0
|
|
Release: 0
|
|
# 1.041 -> normalize -> 1.41.0
|
|
%define cpan_version 1.041
|
|
License: LGPL-2.1-or-later
|
|
Summary: Configuration data checker or editor based on Config::Model
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DD/DDUMONT/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(App::Cmd::Setup)
|
|
BuildRequires: perl(App::Cmd::Tester)
|
|
BuildRequires: perl(Config::Model) >= 2.148
|
|
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)
|
|
BuildRequires: perl(File::HomeDir)
|
|
BuildRequires: perl(JSON)
|
|
BuildRequires: perl(Log::Log4perl)
|
|
BuildRequires: perl(Module::Build) >= 0.34
|
|
BuildRequires: perl(Path::Tiny)
|
|
BuildRequires: perl(Pod::POM)
|
|
BuildRequires: perl(Pod::POM::View::Text)
|
|
BuildRequires: perl(Term::ANSIColor) >= 2.01
|
|
BuildRequires: perl(Test::File::Contents)
|
|
BuildRequires: perl(Test::Perl::Critic)
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
BuildRequires: perl(YAML::PP)
|
|
Requires: perl(App::Cmd::Setup)
|
|
Requires: perl(Config::Model) >= 2.148
|
|
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)
|
|
Requires: perl(File::HomeDir)
|
|
Requires: perl(JSON)
|
|
Requires: perl(Log::Log4perl)
|
|
Requires: perl(Path::Tiny)
|
|
Requires: perl(Pod::POM)
|
|
Requires: perl(Pod::POM::View::Text)
|
|
Requires: perl(YAML::PP)
|
|
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}
|
|
%undefine __perllib_provides
|
|
Recommends: perl(Config::Model::TkUI) >= 1.370
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Configuration data checker or editor based on Config::Model
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
%build
|
|
perl Build.PL --installdirs=vendor
|
|
./Build build --flags=%{?_smp_mflags}
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install --destdir=%{buildroot} --create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc build-from-git.md Changes CONTRIBUTING.md
|
|
%license LICENSE
|
|
|
|
%changelog
|