Name: perl-Kwiki-Diff
Version: 0.03
Release: 2%{?dist}
Summary: Kwiki::Diff Perl module
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Kwiki-Diff/
Source0: http://www.cpan.org/modules/by-module/Kwiki/Kwiki-Diff-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Algorithm::Diff) >= 1.18
BuildRequires: perl(Kwiki) >= 0.34
BuildRequires: perl(Kwiki::Revisions) >= 0.12
BuildRequires: perl(Spiffy) >= 0.22
Requires: perl(Algorithm::Diff) >= 1.18
Requires: perl(Kwiki) >= 0.34
Requires: perl(Kwiki::Revisions) >= 0.12
Requires: perl(Spiffy) >= 0.22
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Kwiki Diff plugin.
%prep
%setup -q -n Kwiki-Diff-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%check
rm -f debug*.list
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Feb 25 2006 Steven Pritchard <steve@kspei.com> 0.03-2
- Fix License tag.
- Don't generate COPYING and Artistic so we can re-enable "make test".
- Remove debug*.list so "make test" doesn't fail.
* Thu Dec 29 2005 Steven Pritchard <steve@kspei.com> 0.03-1
- Specfile autogenerated.