OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-UI-Dialog?expand=0&rev=9
82 lines
2.3 KiB
RPMSpec
82 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package perl-UI-Dialog
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-UI-Dialog
|
|
%define real_name UI-Dialog
|
|
Summary: OOPerl wrapper for the various dialog applications.
|
|
Url: http://search.cpan.org/perldoc?UI::Dialog
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic License
|
|
Version: 1.08
|
|
Release: 1
|
|
Source: %{real_name}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
|
|
%description
|
|
UI::Dialog is a OOPerl wrapper for the various dialog applications. These
|
|
dialog backends are currently supported: Zenity, XDialog, GDialog, KDialog,
|
|
CDialog, and Whiptail. There is also an ASCII backend provided as a last resort
|
|
interface for the console based dialog variants. UI::Dialog is a class that
|
|
provides a strict interface to these various backend modules. By using
|
|
UI:Dialog (with it's imposed limitations on the widgets) you can ensure that
|
|
your Perl program will function with any available interfaces.
|
|
|
|
Authors:
|
|
--------
|
|
Kevin C. Krinke, <kckrinke@opendoorsoftware.com>
|
|
|
|
%prep
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%if 0%{?suse_version}
|
|
%perl_process_packlist
|
|
%endif
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
%doc Changes README MANIFEST*
|
|
%doc %{_mandir}/man3/*
|
|
%dir %{perl_vendorarch}/auto/UI
|
|
%dir %{perl_vendorarch}/auto/UI/Dialog
|
|
%dir %{perl_vendorlib}/UI
|
|
%dir %{perl_vendorlib}/UI/Dialog
|
|
%{perl_vendorlib}/UI/*.pm
|
|
%{perl_vendorlib}/UI/*.pod
|
|
%{perl_vendorlib}/UI/Dialog/*
|
|
%if 0%{?suse_version}
|
|
%endif
|
|
|
|
%changelog
|