%define module Smart-Comments %define name perl-%{module} %define version 1.0.3 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: Comments that do more than just sit there License: GPL or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{module}/ Source: http://search.cpan.org/CPAN/authors/id/D/DC/DCONWAY/%{module}-v%{version}.tar.gz BuildRequires: perl-version BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description Smart comments provide an easy way to insert debugging and tracking code into a program. They can report the value of a variable, track the progress of a loop, and verify that particular assertions are true. %prep %setup -q -n %{module}-v%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc Changes README %{perl_vendorlib}/Smart/* %{_mandir}/*/* %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.3-2mdv2009.0 + Revision: 268722 - rebuild early 2009.0 package (before pixel changes) * Thu Apr 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.0.3-1mdv2009.0 + Revision: 195127 - new version + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon May 07 2007 Olivier Thauvin <nanardon@mandriva.org> 1.0.2-2mdv2008.0 + Revision: 23911 - rebuild * Mon Mar 20 2006 Nicolas Lécureuil <neoclust@mandriva.org> 1.0.2-1mdk - New release 1.0.2 * Thu Oct 06 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.0.1-1mdk - Initial MDV release.