Name: perl-Data-Visitor
Version: 0.21
Release: 1%{?dist}
Summary: Visitor style traversal of Perl data structures
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Data-Visitor/
Source0: http://www.cpan.org/authors/id/N/NU/NUFFIN/Data-Visitor-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: perl >= 5.008
BuildRequires: perl(Class::Accessor)
BuildRequires: perl(ExtUtils::MakeMaker)
# new for 0.19
BuildRequires: perl(Data::Alias)
BuildRequires: perl(Mouse)
BuildRequires: perl(namespace::clean)
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Tie::ToObject)
# tests
BuildRequires: perl(Test::MockObject) >= 1.04
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::use::ok)
# not picked up automatically
Requires: perl(Class::Accessor)
%description
This module is a simple visitor implementation for Perl values.
%prep
%setup -q -n Data-Visitor-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
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 ';'
%{_fixperms} %{buildroot}/*
%check
make test
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes t/
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Nov 12 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.21-1
- update to 0.21
* Sat Sep 06 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.19-1
- update to 0.19
* Wed Mar 05 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-2
- rebuild for new perl
* Sun Oct 21 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.09-1
- update to 0.09
- update license tag: GPL -> GPL+
- add t/ to doc
- back to good old Makefile.PL; Build.PL seems to have gone away
* Thu May 03 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.05-2
- bump
* Tue Apr 10 2007 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
- Specfile autogenerated by cpanspec 1.70.