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

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