%define module Text-NSP %define name perl-%{module} %define version 1.09 %define release %mkrel 2 Name: %{name} Version: %{version} Release: %{release} Summary: The Ngram Statistics Package License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Text/%{module}-%{version}.tar.bz2 %if %{mdkversion} < 1010 BuildRequires: perl-devel %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description The module NSP.pm is a stub that doesn't have any real functionality. The real work is done by five programs: - count.pl - statistic.pl - rank.pl - combig.pl - kocos.pl These are not modules, and are run from the command line. All have extensive command line help and documentation. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %{__make} test %clean rm -rf %{buildroot} %install rm -rf %{buildroot} %makeinstall_std %files %defattr(-,root,root) %doc CHANGES README doc/* %{perl_vendorlib}/Text %{_mandir}/*/* %{_bindir}/* %changelog * Fri Aug 08 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.09-2mdv2009.0 + Revision: 268795 - rebuild early 2009.0 package (before pixel changes) * Thu Apr 17 2008 Guillaume Rousse <guillomovitch@mandriva.org> 1.09-1mdv2009.0 + Revision: 195102 - fix documentation files location + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Wed Dec 19 2007 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-2mdv2008.1 + Revision: 133669 - rebuild + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Thu Sep 28 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.03-1mdv2007.0 - New version 1.03 * Mon Jun 26 2006 Guillaume Rousse <guillomovitch@mandriva.org> 1.01-1mdv2007.0 - New version 1.01 * Fri Jun 23 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.99-1mdv2007.0 - new version - drop patch, useless anymore * Tue Jun 20 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.95-1mdv2007.0 - New version 0.95 - rediff installation patch * Mon Apr 24 2006 Guillaume Rousse <guillomovitch@mandriva.org> 0.91-1mdk - New release 0.91 - rediff installation patch * Wed Nov 16 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.73-2mdk - install main module man page too - install pod documentation * Wed Nov 16 2005 Guillaume Rousse <guillomovitch@mandriva.org> 0.73-1mdk - first mdk release