perltidy/perltidy.spec

136 lines
4.1 KiB
RPMSpec
Raw Normal View History

%{!?perl_vendorlib: %define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
Name: perltidy
2004-12-16 19:39:28 +00:00
Version: 20031021
Release: 2
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
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 >= 1:5.6.1
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
%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
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
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
%check || :
make test
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc BUGS CHANGES COPYING README TODO docs
%{_bindir}/perltidy
%{perl_vendorlib}/Perl
%{_mandir}/man1/perltidy.1*
%{_mandir}/man3/Perl::Tidy.3*
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
%changelog
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
- rebuilt
2004-12-16 19:39:28 +00:00
* Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:20031021-1
- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build.
- Move version to the version field.
auto-import changelog data from perltidy-0.0-0.fdr.3.20031021.rh80.src.rpm 0.0-0.fdr.3.20031021 - Update to 20031021. 0.0-0.fdr.3.20030726 - Install into vendor dirs. - Spec cleanups. 0.0-0.fdr.2.20030726 - Update to 20030726. - Use fedora-rpm-helper. 0.0-0.fdr.2.20021130 - Address issues in #194: - Patch to get rid of a warning on startup. - Do defattr before doc. 0.0-0.fdr.1.20021130 - Fix release naming scheme (this is snapshot-only). 0.0-0.fdr.0.2.20021130 - Own dirs. - Save .spec in UTF-8. 0.0-0.fdr.0.1.20021130 - First Fedora release, based on Simon Perreault's work. Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au> - Tidied up RPM Source Sun Dec 01 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021130 Sat Nov 09 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20021106 Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020922 Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020826 Tue May 07 2002 Simon Perreault <nomis80@linuxquebec.com> - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl version. Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> - Update to 20020425. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Generalized spec file. Added some documentation. Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> - Upgraded to version 20020416 Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> - Spec file was created on release of 20020225
2004-11-08 05:11:53 +00:00
* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20031021
- Update to 20031021.
* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20030726
- Install into vendor dirs.
- Spec cleanups.
* Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20030726
- Update to 20030726.
- Use fedora-rpm-helper.
* Mon Jun 23 2003 Ville Skyttä <ville.skytta at iki.fi> 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ä <ville.skytta at iki.fi> 0:0.0-0.fdr.1.20021130
- Fix release naming scheme (this is snapshot-only).
* Wed May 7 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.2.20021130
- Own dirs.
- Save .spec in UTF-8.
* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.1.20021130
- First Fedora release, based on Simon Perreault's work.
* Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 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 <anthony@linuxhelp.com.au>
- Tidied up RPM Source
* Sun Dec 1 2002 Simon Perreault <nomis80@linuxquebec.com>
- Update to 20021130
* Sat Nov 9 2002 Simon Perreault <nomis80@linuxquebec.com>
- Update to 20021106
* Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com>
- Update to 20020922
* Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com>
- Update to 20020826
* Tue May 7 2002 Simon Perreault <nomis80@linuxquebec.com>
- Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl
version.
* Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com>
- Update to 20020425.
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
- Generalized spec file. Added some documentation.
* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
- Upgraded to version 20020416
* Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com>
- Spec file was created on release of 20020225