%define module Kwiki-Comments %define name perl-%{module} %define version 0.06 %define release %mkrel 6 Name: %{name} Version: %{version} Release: %{release} Summary: Post comments to a page Source: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Kwiki/%{module}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{module}/ License: GPL Group: Development/Perl %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildRequires: perl(Kwiki) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Kwiki::Comments is a Kwiki plugin that allow anyone to leave comments to a Page, just like Slash comments or MT comments. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %make test %install %{__rm} -rf %{buildroot} %makeinstall_std %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Kwiki %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.06-6mdv2009.0 + Revision: 241569 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Sat Sep 15 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-4mdv2008.0 + Revision: 86515 - rebuild * Thu Aug 31 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-3mdv2007.0 - Rebuild * Mon Apr 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-2mdk - Rebuild - better sources URL - better buildrequires syntax * Mon Apr 18 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.06-1mdk - first mandriva release