[5744] | 1 | Name: perltidy |
---|
[9090] | 2 | Version: 20140711 |
---|
| 3 | Release: 1%{?_dist_release} |
---|
[5744] | 4 | Summary: Tool for indenting and reformatting Perl scripts |
---|
[9090] | 5 | Summary(ja): Perl スクリプトの整形ツール |
---|
[5744] | 6 | |
---|
| 7 | Group: Development/Tools |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://perltidy.sourceforge.net/ |
---|
| 10 | Source: http://downloads.sourceforge.net/perltidy/Perl-Tidy-%{version}.tar.gz |
---|
| 11 | |
---|
[9090] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[5744] | 13 | BuildArch: noarch |
---|
| 14 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
[9090] | 15 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
[5744] | 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | Packager: shaolin |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | Perltidy is a Perl script which indents and reformats Perl scripts to |
---|
| 23 | make them easier to read. If you write Perl scripts, or spend much |
---|
| 24 | time reading them, you will probably find it useful. The formatting |
---|
| 25 | can be controlled with command line parameters. The default parameter |
---|
| 26 | settings approximately follow the suggestions in the Perl Style Guide. |
---|
| 27 | Perltidy can also output HTML of both POD and source code. Besides |
---|
| 28 | reformatting scripts, Perltidy can be a great help in tracking down |
---|
| 29 | errors with missing or extra braces, parentheses, and square brackets |
---|
| 30 | because it is very good at localizing errors. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q -n Perl-Tidy-%{version} |
---|
| 35 | rm -f docs/perltidy.1 examples/pt.bat |
---|
| 36 | f=CHANGES ; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | %build |
---|
| 40 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
| 41 | make %{?_smp_mflags} |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %install |
---|
| 45 | rm -rf $RPM_BUILD_ROOT |
---|
| 46 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
---|
| 47 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';' |
---|
| 48 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';' |
---|
| 49 | chmod -R u+w $RPM_BUILD_ROOT/* |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %check |
---|
| 53 | make test |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %clean |
---|
| 57 | rm -rf $RPM_BUILD_ROOT |
---|
| 58 | |
---|
| 59 | |
---|
| 60 | %files |
---|
| 61 | %defattr(-,root,root,-) |
---|
| 62 | %doc BUGS CHANGES COPYING README TODO docs/ examples/ |
---|
| 63 | %{_bindir}/perltidy |
---|
| 64 | %{perl_vendorlib}/Perl/ |
---|
| 65 | %{_mandir}/man1/perltidy.1* |
---|
| 66 | %{_mandir}/man3/Perl::Tidy.3* |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %changelog |
---|
[9090] | 70 | * Fri Nov 14 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 20140711-1 |
---|
| 71 | - updated to 20140711 |
---|
| 72 | - built with perl 5.16.3 |
---|
| 73 | - added Japanese summary |
---|
| 74 | |
---|
[5797] | 75 | * Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 20101217-2 |
---|
| 76 | - rebuild |
---|
| 77 | |
---|
[5744] | 78 | * Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 20101217-1 |
---|
| 79 | - initial build for Vine Linux |
---|
| 80 | |
---|
| 81 | * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-4 |
---|
| 82 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
| 83 | |
---|
| 84 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20101217-3 |
---|
| 85 | - Perl mass rebuild |
---|
| 86 | |
---|
| 87 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-2 |
---|
| 88 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 89 | |
---|
| 90 | * Sun Dec 26 2010 Ville Skyttä <ville.skytta@iki.fi> - 20101217-1 |
---|
| 91 | - Update to 20101217. |
---|
| 92 | |
---|
| 93 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 20090616-4 |
---|
| 94 | - Mass rebuild with perl-5.12.0 |
---|
| 95 | |
---|
| 96 | * Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 20090616-3 |
---|
| 97 | - rebuild against perl 5.10.1 |
---|
| 98 | |
---|
| 99 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090616-2 |
---|
| 100 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
| 101 | |
---|
| 102 | * Thu Jun 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 20090616-1 |
---|
| 103 | - Update to 20090616. |
---|
| 104 | |
---|
| 105 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071205-4 |
---|
| 106 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
| 107 | |
---|
| 108 | * Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-3 |
---|
| 109 | - Rebuild for perl 5.10 (again) |
---|
| 110 | |
---|
| 111 | * Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-2 |
---|
| 112 | - rebuild for new perl |
---|
| 113 | |
---|
| 114 | * Thu Dec 6 2007 Ville Skyttä <ville.skytta at iki.fi> - 20071205-1 |
---|
| 115 | - 20071205. |
---|
| 116 | - Convert docs to UTF-8. |
---|
| 117 | |
---|
| 118 | * Wed Aug 1 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070801-1 |
---|
| 119 | - 20070801. |
---|
| 120 | |
---|
| 121 | * Wed May 9 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070508-1 |
---|
| 122 | - 20070508. |
---|
| 123 | |
---|
| 124 | * Sat May 5 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070504-1 |
---|
| 125 | - 20070504. |
---|
| 126 | |
---|
| 127 | * Tue Apr 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070424-1 |
---|
| 128 | - 20070424. |
---|
| 129 | |
---|
| 130 | * Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060719-3 |
---|
| 131 | - BuildRequire perl(ExtUtils::MakeMaker). |
---|
| 132 | |
---|
| 133 | * Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-2 |
---|
| 134 | - Rebuild. |
---|
| 135 | |
---|
| 136 | * Thu Jul 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-1 |
---|
| 137 | - 20060719. |
---|
| 138 | - Fix order of options to find(1) in %%install. |
---|
| 139 | |
---|
| 140 | * Thu Jun 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060614-1 |
---|
| 141 | - 20060614, specfile cleanups, include examples in docs. |
---|
| 142 | |
---|
| 143 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
| 144 | - rebuilt |
---|
| 145 | |
---|
| 146 | * Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:20031021-1 |
---|
| 147 | - Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build. |
---|
| 148 | - Move version to the version field. |
---|
| 149 | |
---|
| 150 | * Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20031021 |
---|
| 151 | - Update to 20031021. |
---|
| 152 | |
---|
| 153 | * Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20030726 |
---|
| 154 | - Install into vendor dirs. |
---|
| 155 | - Spec cleanups. |
---|
| 156 | |
---|
| 157 | * Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20030726 |
---|
| 158 | - Update to 20030726. |
---|
| 159 | - Use fedora-rpm-helper. |
---|
| 160 | |
---|
| 161 | * Mon Jun 23 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20021130 |
---|
| 162 | - Address issues in #194: |
---|
| 163 | - Patch to get rid of a warning on startup. |
---|
| 164 | - Do defattr before doc. |
---|
| 165 | |
---|
| 166 | * Fri May 30 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.1.20021130 |
---|
| 167 | - Fix release naming scheme (this is snapshot-only). |
---|
| 168 | |
---|
| 169 | * Wed May 7 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.2.20021130 |
---|
| 170 | - Own dirs. |
---|
| 171 | - Save .spec in UTF-8. |
---|
| 172 | |
---|
| 173 | * Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.1.20021130 |
---|
| 174 | - First Fedora release, based on Simon Perreault's work. |
---|
| 175 | |
---|
| 176 | * Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 20021130-2 |
---|
| 177 | - Changed architecture from i386 to noarch |
---|
| 178 | - Added my name as packager |
---|
| 179 | - Bumped up release number, which was forgotten by Anthony Rumble |
---|
| 180 | |
---|
| 181 | * Sun Mar 09 2003 Anthony Rumble <anthony@linuxhelp.com.au> |
---|
| 182 | - Tidied up RPM Source |
---|
| 183 | |
---|
| 184 | * Sun Dec 1 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 185 | - Update to 20021130 |
---|
| 186 | |
---|
| 187 | * Sat Nov 9 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 188 | - Update to 20021106 |
---|
| 189 | |
---|
| 190 | * Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 191 | - Update to 20020922 |
---|
| 192 | |
---|
| 193 | * Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 194 | - Update to 20020826 |
---|
| 195 | |
---|
| 196 | * Tue May 7 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 197 | - Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl |
---|
| 198 | version. |
---|
| 199 | |
---|
| 200 | * Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 201 | - Update to 20020425. |
---|
| 202 | |
---|
| 203 | * Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 204 | - Generalized spec file. Added some documentation. |
---|
| 205 | |
---|
| 206 | * Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 207 | - Upgraded to version 20020416 |
---|
| 208 | |
---|
| 209 | * Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com> |
---|
| 210 | - Spec file was created on release of 20020225 |
---|