%define name perltidy %define version 20021130 %define release 2mdk %define summary Script which indents and reformats Perl scripts Name: %{name} Version: %{version} Release: %{release} Summary: %{summary} License: GPL Group: Text tools Source: Perl-Tidy-%{version}.tar.bz2 URL: http://perltidy.sourceforge.net BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot %description Perltidy is a Perl script which indents and reformats Perl scripts to make them easier to read. If you write Perl scripts, or spend much time reading them, you will probably find it useful. %prep %setup -n Perl-Tidy-%version # fix perms chmod -R go=u-w * %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %install make PREFIX=$RPM_BUILD_ROOT%_prefix install %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README COPYING docs %_bindir/* %_mandir/*/* %{perl_vendorlib}/Perl/*.pm %changelog * Sat Jan 04 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 20021130-2mdk - rebuild * Sun Dec 01 2002 Lenny Cartier <lenny@mandrakesoft.com> 20021130-1mdk - 20021130 * Thu Jul 11 2002 Pixel <pixel@mandrakesoft.com> 20020425-3mdk - rebuild for perl 5.8.0 * Fri Jun 28 2002 Olivier Thauvin <thauvin@aerov.jussieu.fr> 20020425-2mdk - fixing list file for arch!=x86 * Mon May 06 2002 Lenny Cartier <lenny@mandrakesoft.com> 20020425-1mdk - 20020425 - fixed spec (thx Charles Jie) * Mon Mar 04 2002 Lenny Cartier <lenny@mandrakesoft.com> 20020225-1mdk - 20020225 * Fri Oct 26 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 20011016-2mdk - new in contribs * Thu Oct 18 2001 Guillaume Rousse <g.rousse@linux-mandrake.com> 20011016-1mdk - first Mandrake package