%define name perltidy %define version 20031021 %define release 3mdk %define summary Script which indents and reformats Perl scripts Name: %{name} Version: %{version} Release: %{release} Summary: %{summary} License: GPL Group: Text tools Source: http://prdownloads.sourceforge.net/perltidy/Perl-Tidy-%{version}.tar.bz2 URL: http://perltidy.sourceforge.net BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: perl-devel %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 rm -rf ${RPM_BUILD_ROOT} %makeinstall_std %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc README COPYING docs %_bindir/* %_mandir/*/* %{perl_vendorlib}/Perl %changelog * Fri Jul 23 2004 Guillaume Rousse <guillomovitch@mandrake.org> 20031021-3mdk - rpmbuildupdate aware * Mon Mar 01 2004 Guillaume Rousse <guillomovitch@mandrake.org> 20031021-2mdk - fixed dir ownership (distlint) * Fri Dec 12 2003 Guillaume Rousse <guillomovitch@mandrake.org> 20031021-1mdk - new version * Tue Jul 29 2003 Lenny Cartier <lenny@mandrakesoft.com> 20030726-1mdk - 20030726 * Fri May 23 2003 Guillaume Rousse <g.rousse@linux-mandrake.com> 20021130-4mdk - fixed self-obsolescence (lenny sux) * Fri May 02 2003 Lenny Cartier <lenny@mandrakesoft.com> 20021130-3mdk - merge the two perl tidy packages * 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