# # spec file for package perl-UI-Dialog # # 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 Vendor: openSUSE-Education Source: %{real_name}-%{version}.tar.bz2 Requires: perl = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %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, %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/* %{perl_vendorarch}/auto/UI/Dialog/.packlist %if 0%{?suse_version} /var/adm/perl-modules/%{name} %endif %changelog