Name: perltidy Version: 0.0 Release: 0.fdr.3.20031021.1 Epoch: 0 Summary: Tool for indenting and reformatting Perl scripts Group: Development/Tools License: GPL URL: http://perltidy.sourceforge.net/ Source: http://download.sf.net/perltidy/Perl-Tidy-20031021.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl %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. The formatting can be controlled with command line parameters. The default parameter settings approximately follow the suggestions in the Perl Style Guide. Perltidy can also output html of both pod and source code. Besides reformatting scripts, Perltidy can be a great help in tracking down errors with missing or extra braces, parentheses, and square brackets because it is very good at localizing errors. %prep %setup -q -n Perl-Tidy-20031021 %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS" make test %install rm -rf $RPM_BUILD_ROOT make install \ PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \ INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib} find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \ -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';' find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';' chmod -R u+w $RPM_BUILD_ROOT/* rm -f docs/perltidy.1 # already in mandir %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc BUGS CHANGES COPYING README TODO docs %{_bindir}/perltidy %{_libdir}/perl*/* %{_mandir}/man?/* %changelog * Wed Oct 22 2003 Ville Skyttä 0:0.0-0.fdr.3.20031021 - Update to 20031021. * Sat Oct 11 2003 Ville Skyttä 0:0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. * Tue Jul 29 2003 Ville Skyttä 0:0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. * Mon Jun 23 2003 Ville Skyttä 0:0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. * Fri May 30 2003 Ville Skyttä 0:0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). * Wed May 7 2003 Ville Skyttä 0:0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. * Mon Apr 21 2003 Ville Skyttä 0:0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. * Mon Mar 10 2003 Simon Perreault 20021130-2 - Changed architecture from i386 to noarch - Added my name as packager - Bumped up release number, which was forgotten by Anthony Rumble * Sun Mar 09 2003 Anthony Rumble - Tidied up RPM Source * Sun Dec 1 2002 Simon Perreault - Update to 20021130 * Sat Nov 9 2002 Simon Perreault - Update to 20021106 * Mon Sep 23 2002 Simon Perreault - Update to 20020922 * Wed Aug 28 2002 Simon Perreault - Update to 20020826 * Tue May 7 2002 Simon Perreault - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. * Sat Apr 27 2002 Simon Perreault - Update to 20020425. * Wed Apr 17 2002 Simon Perreault - Generalized spec file. Added some documentation. * Wed Apr 17 2002 Simon Perreault - Upgraded to version 20020416 * Mon Feb 25 2002 Simon Perreault - Spec file was created on release of 20020225