rpms/perl-Text-WordDiff/devel perl-Text-WordDiff.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Steven Pritchard (steve) fedora-extras-commits at redhat.com
Mon Jul 23 21:53:35 UTC 2007


Author: steve

Update of /cvs/pkgs/rpms/perl-Text-WordDiff/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28870/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-Text-WordDiff.spec 
Log Message:
Import.



--- NEW FILE perl-Text-WordDiff.spec ---
Name:           perl-Text-WordDiff
Version:        0.02
Release:        2%{?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)
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
* Mon Jul 16 2007 Steven Pritchard <steve at kspei.com> 0.02-2
- BR Test::More and Test::Pod.

* Thu May 17 2007 Steven Pritchard <steve at kspei.com> 0.02-1
- Specfile autogenerated by cpanspec 1.70.
- Fix Summary and description.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Text-WordDiff/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	23 Jul 2007 21:13:57 -0000	1.1
+++ .cvsignore	23 Jul 2007 21:53:03 -0000	1.2
@@ -0,0 +1 @@
+Text-WordDiff-0.02.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-Text-WordDiff/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	23 Jul 2007 21:13:57 -0000	1.1
+++ sources	23 Jul 2007 21:53:03 -0000	1.2
@@ -0,0 +1 @@
+e4ad90ec41816be47db9dd1b55af3fbb  Text-WordDiff-0.02.tar.gz




More information about the scm-commits mailing list