Sophie

Sophie

distrib > Mandriva > 2006.0 > i586 > media > main-src > by-pkgid > d25fd94a31febb41c770d9b66f56ed91 > files > 2

perl-Tie-Watch-1.2-1mdk.src.rpm

%define module Tie-Watch

Summary: Place watchpoints on Perl variables
Name:    perl-%module
Version: 1.2
Release: 1mdk
License: GPL or Artistic
Group:   Development/Perl
Source:  %module-%version.tar.bz2
URL:	 http://search.cpan.org/dist/%{module}/
BuildRequires: perl-devel
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot

%description
This module binds one or more subroutines of your devising to a Perl variable.
With Tie::Watch one can:
- alter a variable's value
- prevent a variable's value from being changed
- invoke a Perl/Tk callback when a variable changes
- trace references to a variable

%prep
%setup -q -n %module-%version

%build
perl Makefile.PL INSTALLDIRS=vendor
%__make
%__make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc README
%{_mandir}/*/*
%{perl_vendorlib}/Tie/

%changelog
* Wed Jun 01 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.2-1mdk
- 1.2
- Change URL

* Mon Dec 08 2003 Thierry Vignaud <tvignaud@mandrakesoft.com> 1.1-1mdk
- initial release