From f84e7230c7764def4e1d982ceaf165b4b0163cfa Mon Sep 17 00:00:00 2001 From: Steven Pritchard Date: Jul 23 2007 21:49:03 +0000 Subject: Import. --- diff --git a/.cvsignore b/.cvsignore index e69de29..0d0c64b 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Text-Diff-HTML-0.04.tar.gz diff --git a/perl-Text-Diff-HTML.spec b/perl-Text-Diff-HTML.spec new file mode 100644 index 0000000..08a510f --- /dev/null +++ b/perl-Text-Diff-HTML.spec @@ -0,0 +1,58 @@ +Name: perl-Text-Diff-HTML +Version: 0.04 +Release: 2%{?dist} +Summary: XHTML format for Text::Diff::Unified +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Text-Diff-HTML/ +Source0: http://www.cpan.org/authors/id/D/DW/DWHEELER/Text-Diff-HTML-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(HTML::Entities) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Text::Diff) >= 0.11 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This class subclasses Text::Diff::Unified, a formatting class provided by +the Text::Diff module, to add XHTML markup to the unified diff format. For +details on the interface of the diff() function, see the Text::Diff +documentation. + +%prep +%setup -q -n Text-Diff-HTML-%{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 0.04-2 +- Remove redundant explicity dependencies. +- BR Test::More and Test::Pod. + +* Thu May 17 2007 Steven Pritchard 0.04-1 +- Specfile autogenerated by cpanspec 1.70. +- Fix Summary and description. diff --git a/sources b/sources index e69de29..f9961e4 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cd8a50dd2f9d90be1f949906441035c1 Text-Diff-HTML-0.04.tar.gz