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

Revision 5744, 6.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perltidy
2Version:        20101217
3Release:        1%{?_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* Fri Feb 24 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 20101217-1
70- initial build for Vine Linux
71
72* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-4
73- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
74
75* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 20101217-3
76- Perl mass rebuild
77
78* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101217-2
79- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
80
81* Sun Dec 26 2010 Ville Skyttä <ville.skytta@iki.fi> - 20101217-1
82- Update to 20101217.
83
84* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 20090616-4
85- Mass rebuild with perl-5.12.0
86
87* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 20090616-3
88- rebuild against perl 5.10.1
89
90* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20090616-2
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
92
93* Thu Jun 18 2009 Ville Skyttä <ville.skytta at iki.fi> - 20090616-1
94- Update to 20090616.
95
96* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20071205-4
97- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
98
99* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-3
100- Rebuild for perl 5.10 (again)
101
102* Sun Jan 13 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 20071205-2
103- rebuild for new perl
104
105* Thu Dec  6 2007 Ville Skyttä <ville.skytta at iki.fi> - 20071205-1
106- 20071205.
107- Convert docs to UTF-8.
108
109* Wed Aug  1 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070801-1
110- 20070801.
111
112* Wed May  9 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070508-1
113- 20070508.
114
115* Sat May  5 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070504-1
116- 20070504.
117
118* Tue Apr 24 2007 Ville Skyttä <ville.skytta at iki.fi> - 20070424-1
119- 20070424.
120
121* Tue Apr 17 2007 Ville Skyttä <ville.skytta at iki.fi> - 20060719-3
122- BuildRequire perl(ExtUtils::MakeMaker).
123
124* Fri Sep 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-2
125- Rebuild.
126
127* Thu Jul 20 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060719-1
128- 20060719.
129- Fix order of options to find(1) in %%install.
130
131* Thu Jun 15 2006 Ville Skyttä <ville.skytta at iki.fi> - 20060614-1
132- 20060614, specfile cleanups, include examples in docs.
133
134* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
135- rebuilt
136
137* Thu Dec 16 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:20031021-1
138- Sync with fedora-rpmdevtools' Perl spec template to fix x86_64 build.
139- Move version to the version field.
140
141* Wed Oct 22 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20031021
142- Update to 20031021.
143
144* Sat Oct 11 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.3.20030726
145- Install into vendor dirs.
146- Spec cleanups.
147
148* Tue Jul 29 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20030726
149- Update to 20030726.
150- Use fedora-rpm-helper.
151
152* Mon Jun 23 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.2.20021130
153- Address issues in #194:
154- Patch to get rid of a warning on startup.
155- Do defattr before doc.
156
157* Fri May 30 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.1.20021130
158- Fix release naming scheme (this is snapshot-only).
159
160* Wed May  7 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.2.20021130
161- Own dirs.
162- Save .spec in UTF-8.
163
164* Mon Apr 21 2003 Ville Skyttä <ville.skytta at iki.fi> 0:0.0-0.fdr.0.1.20021130
165- First Fedora release, based on Simon Perreault's work.
166
167* Mon Mar 10 2003 Simon Perreault <nomis80@nomis80.org> 20021130-2
168- Changed architecture from i386 to noarch
169- Added my name as packager
170- Bumped up release number, which was forgotten by Anthony Rumble
171
172* Sun Mar 09 2003 Anthony Rumble <anthony@linuxhelp.com.au>
173- Tidied up RPM Source
174
175* Sun Dec  1 2002 Simon Perreault <nomis80@linuxquebec.com>
176- Update to 20021130
177
178* Sat Nov  9 2002 Simon Perreault <nomis80@linuxquebec.com>
179- Update to 20021106
180
181* Mon Sep 23 2002 Simon Perreault <nomis80@linuxquebec.com>
182- Update to 20020922
183
184* Wed Aug 28 2002 Simon Perreault <nomis80@linuxquebec.com>
185- Update to 20020826
186
187* Tue May 7 2002 Simon Perreault <nomis80@linuxquebec.com>
188- Require 5.6.1 because Tidy.pm is placed in a directory dependant on perl
189  version.
190
191* Sat Apr 27 2002 Simon Perreault <nomis80@linuxquebec.com>
192- Update to 20020425.
193
194* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
195- Generalized spec file. Added some documentation.
196
197* Wed Apr 17 2002 Simon Perreault <nomis80@linuxquebec.com>
198- Upgraded to version 20020416
199
200* Mon Feb 25 2002 Simon Perreault <nomis80@linuxquebec.com>
201- Spec file was created on release of 20020225
Note: See TracBrowser for help on using the repository browser.