cvsextras 7753485
Name:           perltidy
682c0b5
Version:        20121207
682c0b5
Release:        1%{?dist}
cvsextras 7753485
Summary:        Tool for indenting and reformatting Perl scripts
cvsextras 7753485
fef565c
License:        GPLv2+
cvsextras 7753485
URL:            http://perltidy.sourceforge.net/
c8249c6
Source:         http://downloads.sourceforge.net/perltidy/Perl-Tidy-%{version}.tar.gz
cvsextras 7753485
cvsextras 7753485
BuildArch:      noarch
2bf1206
BuildRequires:  perl(ExtUtils::MakeMaker)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(Carp)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(constant)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(Cwd)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(Exporter)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(IO::File)
Marcela Mašláňová 0c54c91
BuildRequires:  perl(Test)
bf2b0a8
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
cvsextras 7753485
cvsextras 7753485
%description
cvsextras 7753485
Perltidy is a Perl script which indents and reformats Perl scripts to
cvsextras 7753485
make them easier to read. If you write Perl scripts, or spend much
3bdc560
time reading them, you will probably find it useful.  The formatting
3bdc560
can be controlled with command line parameters.  The default parameter
3bdc560
settings approximately follow the suggestions in the Perl Style Guide.
f910915
Perltidy can also output HTML of both POD and source code.  Besides
3bdc560
reformatting scripts, Perltidy can be a great help in tracking down
3bdc560
errors with missing or extra braces, parentheses, and square brackets
3bdc560
because it is very good at localizing errors.
cvsextras 7753485
cvsextras 7753485
cvsextras 7753485
%prep
25d59a6
%setup -q -n Perl-Tidy-%{version}
25d59a6
rm -f docs/perltidy.1 examples/pt.bat
978c0d7
f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
cvsextras 7753485
cvsextras 7753485
cvsextras 7753485
%build
bf2b0a8
%{__perl} Makefile.PL INSTALLDIRS=vendor
bf2b0a8
make %{?_smp_mflags}
cvsextras 7753485
cvsextras 7753485
cvsextras 7753485
%install
bf2b0a8
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
bf2b0a8
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
6e1c1be
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
8d2067a
%{_fixperms} $RPM_BUILD_ROOT/*
cvsextras 7753485
cvsextras 7753485
25d59a6
%check
bf2b0a8
make test
bf2b0a8
bf2b0a8
cvsextras 7753485
%files
25d59a6
%doc BUGS CHANGES COPYING README TODO docs/ examples/
cvsextras 7753485
%{_bindir}/perltidy
25d59a6
%{perl_vendorlib}/Perl/
bf2b0a8
%{_mandir}/man1/perltidy.1*
bf2b0a8
%{_mandir}/man3/Perl::Tidy.3*
cvsextras 7753485
cvsextras 7753485
cvsextras 7753485
%changelog
682c0b5
* Tue Dec 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 20121207-1
682c0b5
- Update to 20121207.
682c0b5
Marcela Mašláňová 0c54c91
* Wed Aug 15 2012 Jitka Plesnikova <jplesnik@redhat.com> - 20120714-3
Marcela Mašláňová 0c54c91
- Specify all dependencies.
Marcela Mašláňová 0c54c91
f85ab01
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120714-2
f85ab01
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f85ab01
7baa2c4
* Mon Jul 16 2012 Ville Skyttä <ville.skytta@iki.fi> - 20120714-1
7baa2c4
- Update to 20120714.
7baa2c4
a1e6f83
* Mon Jul 09 2012 Petr Pisar <ppisar@redhat.com> - 20120701-2
a1e6f83
- Perl 5.16 rebuild
a1e6f83
7a40d9a
* Sat Jul  7 2012 Ville Skyttä <ville.skytta@iki.fi> - 20120701-1
7a40d9a
- Update to 20120701.
7a40d9a
90a2125
* Thu Jun 28 2012 Petr Pisar <ppisar@redhat.com> - 20120619-2
90a2125
- Perl 5.16 rebuild
90a2125
8d2067a
* Wed Jun 20 2012 Ville Skyttä <ville.skytta@iki.fi> - 20120619-1
8d2067a
- Update to 20120619.
8d2067a
- Clean up specfile constructs no longer needed in Fedora or EL6+.
8d2067a
bf46e15
* Fri Jun 08 2012 Petr Pisar <ppisar@redhat.com> - 20101217-5
bf46e15
- Perl 5.16 rebuild
bf46e15
eccb19d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-4
eccb19d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
eccb19d
Marcela Mašláňová d684447
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20101217-3
Marcela Mašláňová d684447
- Perl mass rebuild
Marcela Mašláňová d684447
342318f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-2
342318f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
342318f
f910915
* Sun Dec 26 2010 Ville Skyttä <ville.skytta@iki.fi> - 20101217-1
f910915
- Update to 20101217.
f910915
afc44be
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 20090616-4
afc44be
- Mass rebuild with perl-5.12.0
afc44be
d89cb9e
* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 20090616-3
d89cb9e
- rebuild against perl 5.10.1
d89cb9e
7cf403b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090616-2
7cf403b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
7cf403b
8d2067a
* Thu Jun 18 2009 Ville Skyttä <ville.skytta@iki.fi> - 20090616-1
3bdc560
- Update to 20090616.
3bdc560
d3b8c0c
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071205-4
d3b8c0c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
d3b8c0c
a130310
* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-3
a130310
- Rebuild for perl 5.10 (again)
a130310
2e3def4
* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-2
2e3def4
- rebuild for new perl
2e3def4
8d2067a
* Thu Dec  6 2007 Ville Skyttä <ville.skytta@iki.fi> - 20071205-1
978c0d7
- 20071205.
978c0d7
- Convert docs to UTF-8.
978c0d7
8d2067a
* Wed Aug  1 2007 Ville Skyttä <ville.skytta@iki.fi> - 20070801-1
fef565c
- 20070801.
fef565c
8d2067a
* Wed May  9 2007 Ville Skyttä <ville.skytta@iki.fi> - 20070508-1
804c237
- 20070508.
804c237
8d2067a
* Sat May  5 2007 Ville Skyttä <ville.skytta@iki.fi> - 20070504-1
c760b44
- 20070504.
c760b44
8d2067a
* Tue Apr 24 2007 Ville Skyttä <ville.skytta@iki.fi> - 20070424-1
c8249c6
- 20070424.
c8249c6
8d2067a
* Tue Apr 17 2007 Ville Skyttä <ville.skytta@iki.fi> - 20060719-3
2bf1206
- BuildRequire perl(ExtUtils::MakeMaker).
2bf1206
8d2067a
* Fri Sep 15 2006 Ville Skyttä <ville.skytta@iki.fi> - 20060719-2
f2ffe64
- Rebuild.
f2ffe64
8d2067a
* Thu Jul 20 2006 Ville Skyttä <ville.skytta@iki.fi> - 20060719-1
6e1c1be
- 20060719.
6e1c1be
- Fix order of options to find(1) in %%install.
6e1c1be
8d2067a
* Thu Jun 15 2006 Ville Skyttä <ville.skytta@iki.fi> - 20060614-1
25d59a6
- 20060614, specfile cleanups, include examples in docs.
25d59a6
fcd0752
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
fcd0752
- rebuilt
fcd0752
8d2067a
* Thu Dec 16 2004 Ville Skyttä <ville.skytta@iki.fi> - 0:20031021-1
bf2b0a8
- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build.
bf2b0a8
- Move version to the version field.
bf2b0a8
8d2067a
* Wed Oct 22 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.3.20031021
cvsextras 7753485
- Update to 20031021.
cvsextras 7753485
8d2067a
* Sat Oct 11 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.3.20030726
cvsextras 7753485
- Install into vendor dirs.
cvsextras 7753485
- Spec cleanups.
cvsextras 7753485
8d2067a
* Tue Jul 29 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.2.20030726
cvsextras 7753485
- Update to 20030726.
cvsextras 7753485
- Use fedora-rpm-helper.
cvsextras 7753485
8d2067a
* Mon Jun 23 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.2.20021130
cvsextras 7753485
- Address issues in #194:
cvsextras 7753485
- Patch to get rid of a warning on startup.
cvsextras 7753485
- Do defattr before doc.
cvsextras 7753485
8d2067a
* Fri May 30 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.1.20021130
cvsextras 7753485
- Fix release naming scheme (this is snapshot-only).
cvsextras 7753485
8d2067a
* Wed May  7 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.0.2.20021130
cvsextras 7753485
- Own dirs.
cvsextras 7753485
- Save .spec in UTF-8.
cvsextras 7753485
8d2067a
* Mon Apr 21 2003 Ville Skyttä <ville.skytta@iki.fi> 0:0.0-0.fdr.0.1.20021130
cvsextras 7753485
- First Fedora release, based on Simon Perreault's work.
cvsextras 7753485
cvsextras 7753485
* Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 20021130-2
cvsextras 7753485
- Changed architecture from i386 to noarch
cvsextras 7753485
- Added my name as packager
cvsextras 7753485
- Bumped up release number, which was forgotten by Anthony Rumble
cvsextras 7753485
cvsextras 7753485
* Sun Mar 09 2003 Anthony Rumble <anthony@linuxhelp.com.au>
cvsextras 7753485
- Tidied up RPM Source
cvsextras 7753485
cvsextras 7753485
* Sun Dec  1 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Update to 20021130
cvsextras 7753485
cvsextras 7753485
* Sat Nov  9 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Update to 20021106
cvsextras 7753485
cvsextras 7753485
* Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Update to 20020922
cvsextras 7753485
cvsextras 7753485
* Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Update to 20020826
cvsextras 7753485
cvsextras 7753485
* Tue May 7 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl
cvsextras 7753485
  version.
cvsextras 7753485
cvsextras 7753485
* Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Update to 20020425.
cvsextras 7753485
cvsextras 7753485
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Generalized spec file. Added some documentation.
cvsextras 7753485
cvsextras 7753485
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Upgraded to version 20020416
cvsextras 7753485
cvsextras 7753485
* Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com>
cvsextras 7753485
- Spec file was created on release of 20020225