source: projects/specs/trunk/p/perltidy/perltidy-vl.spec @ 12120

Revision 12120, 6.9 KB checked in by tomop, 5 years ago (diff)

perl-5.26 and friends

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