cvsextras 775348
Name:           perltidy
804c23
Version:        20070508
c8249c
Release:        1%{?dist}
cvsextras 775348
Summary:        Tool for indenting and reformatting Perl scripts
cvsextras 775348
cvsextras 775348
Group:          Development/Tools
cvsextras 775348
License:        GPL
cvsextras 775348
URL:            http://perltidy.sourceforge.net/
c8249c
Source:         http://downloads.sourceforge.net/perltidy/Perl-Tidy-%{version}.tar.gz
cvsextras 775348
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras 775348
cvsextras 775348
BuildArch:      noarch
2bf120
BuildRequires:  perl(ExtUtils::MakeMaker)
bf2b0a
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsextras 775348
cvsextras 775348
%description
cvsextras 775348
Perltidy is a Perl script which indents and reformats Perl scripts to
cvsextras 775348
make them easier to read. If you write Perl scripts, or spend much
cvsextras 775348
time reading them, you will probably find it useful.
cvsextras 775348
The formatting can be controlled with command line parameters. The
cvsextras 775348
default parameter settings approximately follow the suggestions in the
cvsextras 775348
Perl Style Guide.
cvsextras 775348
Perltidy can also output html of both pod and source code.
cvsextras 775348
Besides reformatting scripts, Perltidy can be a great help in tracking
cvsextras 775348
down errors with missing or extra braces, parentheses, and square
cvsextras 775348
brackets because it is very good at localizing errors.
cvsextras 775348
cvsextras 775348
cvsextras 775348
%prep
25d59a
%setup -q -n Perl-Tidy-%{version}
25d59a
rm -f docs/perltidy.1 examples/pt.bat
cvsextras 775348
cvsextras 775348
cvsextras 775348
%build
bf2b0a
%{__perl} Makefile.PL INSTALLDIRS=vendor
bf2b0a
make %{?_smp_mflags}
cvsextras 775348
cvsextras 775348
cvsextras 775348
%install
cvsextras 775348
rm -rf $RPM_BUILD_ROOT
bf2b0a
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
bf2b0a
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
6e1c1b
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
cvsextras 775348
chmod -R u+w $RPM_BUILD_ROOT/*
cvsextras 775348
cvsextras 775348
25d59a
%check
bf2b0a
make test
bf2b0a
bf2b0a
cvsextras 775348
%clean
cvsextras 775348
rm -rf $RPM_BUILD_ROOT
cvsextras 775348
cvsextras 775348
cvsextras 775348
%files
cvsextras 775348
%defattr(-,root,root,-)
25d59a
%doc BUGS CHANGES COPYING README TODO docs/ examples/
cvsextras 775348
%{_bindir}/perltidy
25d59a
%{perl_vendorlib}/Perl/
bf2b0a
%{_mandir}/man1/perltidy.1*
bf2b0a
%{_mandir}/man3/Perl::Tidy.3*
cvsextras 775348
cvsextras 775348
cvsextras 775348
%changelog
804c23
* Wed May  9 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070508-1
804c23
- 20070508.
804c23
c760b4
* Sat May  5 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070504-1
c760b4
- 20070504.
c760b4
c8249c
* Tue Apr 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070424-1
c8249c
- 20070424.
c8249c
2bf120
* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060719-3
2bf120
- BuildRequire perl(ExtUtils::MakeMaker).
2bf120
f2ffe6
* Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-2
f2ffe6
- Rebuild.
f2ffe6
6e1c1b
* Thu Jul 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-1
6e1c1b
- 20060719.
6e1c1b
- Fix order of options to find(1) in %%install.
6e1c1b
25d59a
* Thu Jun 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060614-1
25d59a
- 20060614, specfile cleanups, include examples in docs.
25d59a
fcd075
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
fcd075
- rebuilt
fcd075
56cdb9
* Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:20031021-1
bf2b0a
- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build.
bf2b0a
- Move version to the version field.
bf2b0a
cvsextras 775348
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20031021
cvsextras 775348
- Update to 20031021.
cvsextras 775348
cvsextras 775348
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20030726
cvsextras 775348
- Install into vendor dirs.
cvsextras 775348
- Spec cleanups.
cvsextras 775348
cvsextras 775348
* Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20030726
cvsextras 775348
- Update to 20030726.
cvsextras 775348
- Use fedora-rpm-helper.
cvsextras 775348
cvsextras 775348
* Mon Jun 23 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20021130
cvsextras 775348
- Address issues in #194:
cvsextras 775348
- Patch to get rid of a warning on startup.
cvsextras 775348
- Do defattr before doc.
cvsextras 775348
cvsextras 775348
* Fri May 30 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.1.20021130
cvsextras 775348
- Fix release naming scheme (this is snapshot-only).
cvsextras 775348
cvsextras 775348
* Wed May  7 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.2.20021130
cvsextras 775348
- Own dirs.
cvsextras 775348
- Save .spec in UTF-8.
cvsextras 775348
cvsextras 775348
* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.1.20021130
cvsextras 775348
- First Fedora release, based on Simon Perreault's work.
cvsextras 775348
cvsextras 775348
* Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 20021130-2
cvsextras 775348
- Changed architecture from i386 to noarch
cvsextras 775348
- Added my name as packager
cvsextras 775348
- Bumped up release number, which was forgotten by Anthony Rumble
cvsextras 775348
cvsextras 775348
* Sun Mar 09 2003 Anthony Rumble <anthony@linuxhelp.com.au>
cvsextras 775348
- Tidied up RPM Source
cvsextras 775348
cvsextras 775348
* Sun Dec  1 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Update to 20021130
cvsextras 775348
cvsextras 775348
* Sat Nov  9 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Update to 20021106
cvsextras 775348
cvsextras 775348
* Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Update to 20020922
cvsextras 775348
cvsextras 775348
* Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Update to 20020826
cvsextras 775348
cvsextras 775348
* Tue May 7 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl
cvsextras 775348
  version.
cvsextras 775348
cvsextras 775348
* Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Update to 20020425.
cvsextras 775348
cvsextras 775348
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Generalized spec file. Added some documentation.
cvsextras 775348
cvsextras 775348
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Upgraded to version 20020416
cvsextras 775348
cvsextras 775348
* Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 775348
- Spec file was created on release of 20020225