Name: perl-Text-WordDiff
Version: 0.04
Release: 3%{?dist}
Summary: Track changes between documents
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Text-WordDiff/
Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/Text-WordDiff-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Algorithm::Diff) >= 1.19
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.20
Requires: perl(Algorithm::Diff) >= 1.19
Requires: perl(HTML::Entities)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module is a variation on the lovely Text::Diff module. Rather than
generating traditional line-oriented diffs, however, it generates word-
oriented diffs. This can be useful for tracking changes in narrative
documents or documents with very long lines. To diff source code, one is
still best off using Text::Diff. But if you want to see how a short
story changed from one version to the next, this module will do the job
very nicely.
%prep
%setup -q -n Text-WordDiff-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.04-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri May 16 2008 Steven Pritchard <steve@kspei.com> 0.04-1
- Update to 0.04.
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.02-3
- Rebuild for new perl
* Mon Jul 16 2007 Steven Pritchard <steve@kspei.com> 0.02-2
- BR Test::More and Test::Pod.
* Thu May 17 2007 Steven Pritchard <steve@kspei.com> 0.02-1
- Specfile autogenerated by cpanspec 1.70.
- Fix Summary and description.