121 lines
4.8 KiB
RPMSpec
121 lines
4.8 KiB
RPMSpec
#
|
|
# spec file for package perl-Curses-UI
|
|
#
|
|
# 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 Curses-UI
|
|
Name: perl-Curses-UI
|
|
Version: 0.960.900
|
|
Release: 0
|
|
# 0.9609 -> normalize -> 0.960.900
|
|
%define cpan_version 0.9609
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
Summary: Curses based OO user interface framework
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/M/MD/MDXI/%{cpan_name}-%{cpan_version}.tar.gz
|
|
Source100: README.md
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Curses)
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
|
|
BuildRequires: perl(Term::ReadKey)
|
|
Requires: perl(Curses)
|
|
Requires: perl(Term::ReadKey)
|
|
Provides: perl(Curses::UI) = %{version}
|
|
Provides: perl(Curses::UI::Buttonbox) = 1.100.0
|
|
Provides: perl(Curses::UI::Calendar) = 1.100.0
|
|
Provides: perl(Curses::UI::Checkbox) = 1.110.0
|
|
Provides: perl(Curses::UI::Color) = 0.10.0
|
|
Provides: perl(Curses::UI::Common) = 1.100.0
|
|
Provides: perl(Curses::UI::Container) = 1.110.0
|
|
Provides: perl(Curses::UI::ContainerWidget) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Basic) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Calendar) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Dirbrowser) = 1.0.0
|
|
Provides: perl(Curses::UI::Dialog::Error) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Filebrowser) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Progress) = 1.100.0
|
|
Provides: perl(Curses::UI::Dialog::Question) = 1.0.0
|
|
Provides: perl(Curses::UI::Dialog::Status) = 1.100.0
|
|
Provides: perl(Curses::UI::Label) = 1.110.0
|
|
Provides: perl(Curses::UI::Language)
|
|
Provides: perl(Curses::UI::Language::chinese)
|
|
Provides: perl(Curses::UI::Language::czech)
|
|
Provides: perl(Curses::UI::Language::dutch)
|
|
Provides: perl(Curses::UI::Language::english)
|
|
Provides: perl(Curses::UI::Language::french)
|
|
Provides: perl(Curses::UI::Language::german)
|
|
Provides: perl(Curses::UI::Language::italian)
|
|
Provides: perl(Curses::UI::Language::japanese)
|
|
Provides: perl(Curses::UI::Language::norwegian)
|
|
Provides: perl(Curses::UI::Language::polish)
|
|
Provides: perl(Curses::UI::Language::portuguese)
|
|
Provides: perl(Curses::UI::Language::russian)
|
|
Provides: perl(Curses::UI::Language::slovak)
|
|
Provides: perl(Curses::UI::Language::spanish)
|
|
Provides: perl(Curses::UI::Language::turkish)
|
|
Provides: perl(Curses::UI::Listbox) = 1.300.0
|
|
Provides: perl(Curses::UI::MenuListbox) = 1.100.0
|
|
Provides: perl(Curses::UI::Menubar) = 1.100.0
|
|
Provides: perl(Curses::UI::Notebook) = 1.0.100
|
|
Provides: perl(Curses::UI::PasswordEntry) = 1.100.0
|
|
Provides: perl(Curses::UI::Popupmenu) = 1.100.0
|
|
Provides: perl(Curses::UI::PopupmenuListbox) = 1.1.100
|
|
Provides: perl(Curses::UI::Progressbar) = 1.100.0
|
|
Provides: perl(Curses::UI::Radiobuttonbox) = 1.100.0
|
|
Provides: perl(Curses::UI::SearchEntry) = 1.100.0
|
|
Provides: perl(Curses::UI::Searchable) = 1.100.0
|
|
Provides: perl(Curses::UI::TextEditor) = 1.500.0
|
|
Provides: perl(Curses::UI::TextEntry) = 1.100.0
|
|
Provides: perl(Curses::UI::TextViewer) = 1.100.0
|
|
Provides: perl(Curses::UI::Widget) = 1.120.0
|
|
Provides: perl(Curses::UI::Window) = 1.100.0
|
|
%undefine __perllib_provides
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Curses::UI is an object-oriented user interface framework for Perl.
|
|
|
|
It contains basic widgets (like buttons and text areas), more "advanced"
|
|
widgets (like UI tabs and a fully-functional basic text editor), and some
|
|
higher-level classes like pre-fab error dialogues.
|
|
|
|
See Curses::UI::Tutorial and the 'examples' directory of the source
|
|
distribution for more introductory material.
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
|
|
|
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
|
|
|
%build
|
|
PERL_USE_UNSAFE_INC=1 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 CREDITS examples README
|
|
|
|
%changelog
|