Blob Blame History Raw
Name:           perl-Tk-ProgressBar-Mac
Version:        1.2
Release:        3%{?dist}
Summary:        Mac ProgressBar for Perl::Tk

Group:          Development/Libraries
License:        GPL+ or Artistic
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl(Tk) 
BuildRequires:  xorg-x11-server-Xvfb, xorg-x11-fonts-base
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

This widget provides a dynamic image that looks just like
a Mac OS 9 progress bar.  Packed around it are four
Frames, north, south, east and west, within which you can
stuff additional widgets. For example, see how Tk::Copy::Mac
uses several Labels and a CollapsableFrame widget to create
a reasonable facsimile of a Macintosh copy dialog.

%setup -q -n Tk-ProgressBar-Mac-%{version}

%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*

# disabled by default because it needs an x screen
%{?_with_tests:make test}

rm -rf %{buildroot}


* Mon Sep 14 2009 David Hannequin <> 1.2-3
- Fix license 

* Tue May 30 2009 David Hannequin <> 1.2-2
- delete _xvfb
- modify man page

* Thu May 21 2009 David Hannequin <> 1.2-1
- First release.