source: projects/specs/trunk/p/perl-Text-CSV_XS/perl-Text-CSV_XS-vl.spec @ 9046

Revision 9046, 7.4 KB checked in by tomop, 9 years ago (diff)

perl-Text-CSV_XS-1.11-2

Line 
1Name:           perl-Text-CSV_XS
2Version:        1.11
3Release:        2%{?_dist_release}
4Summary:        Comma-separated values manipulation routines
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Text-CSV_XS/
8Source0:        http://www.cpan.org/authors/id/H/HM/HMBRAND/Text-CSV_XS-%{version}.tgz
9BuildRequires:  perl(Test::Pod)
10BuildRequires:  perl(Test::Pod::Coverage)
11BuildRequires:  perl(ExtUtils::MakeMaker)
12BuildRequires:  perl(IO::Handle)
13BuildRequires:  perl(Test::Harness)
14BuildRequires:  perl(Test::More)
15BuildRequires:  perl(Tie::Scalar)
16Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
17
18%{?perl_default_filter}
19
20%description
21Text::CSV provides facilities for the composition and decomposition of
22comma-separated values.  An instance of the Text::CSV class can combine
23fields into a CSV string and parse a CSV string into fields.
24
25
26%prep
27%setup -q -n Text-CSV_XS-%{version}
28iconv -f latin1 -t utf8 ChangeLog > ChangeLog.utf8 && mv ChangeLog.utf8 ChangeLog
29chmod -c a-x examples/*
30# Upstream does this on purpose (2011-03-23):
31# "As Text::CSV_XS is so low-level, most of these files are actually *examples*
32# and not ready-to-run out-of-the-box scripts that work as expected, though
33# I must admit that some have evolved into being like that."
34#find . -type f -exec sed -i '1s/pro/usr/' {} \;
35
36
37%build
38%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
39make %{?_smp_mflags}
40
41
42%install
43rm -rf %{buildroot}
44make pure_install DESTDIR=%{buildroot}
45find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
46find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'
47find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
48chmod -R u+w %{buildroot}/*
49
50
51%check
52# TODO: Parallel testing supported since 0.73
53make test
54
55
56%clean
57rm -rf %{buildroot}
58
59
60%files
61%defattr(-,root,root,-)
62%doc ChangeLog README examples/
63%{perl_vendorarch}/Text/
64%{perl_vendorarch}/auto/Text/
65%{_mandir}/man3/*.3pm*
66
67
68%changelog
69* Sun Nov 2 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.11-2
70- new upstream release.
71
72* Thu Mar 01 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.86-1
73- updated to 0.86
74- spec revamped in accordance with Fedora 0.86-1
75- previous Vine changelog as follows:
76
77  - Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.65-2
78  - rebuild with perl-5.12.3
79 
80  - Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.65-1
81  - new upstream release
82 
83  - Sat Sep 20 2008 Shu KONNO <owa@bg.wakwak.com> 0.34-1vl5
84  - applied new versioning policy
85  - built with perl-5.10.0
86 
87  - Sat Jan  5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl1
88  - rebuild for VineSeed.
89    - Sat Jan  5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl0
90    - new upstream release.
91 
92  - Sat Jan  5 2008 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.34-0vl0
93  - new upstream release.
94 
95  - Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-0vl3
96  - changed Group to Development/Libraries
97 
98  - Thu Sep  8 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.23-0vl2
99  - rebuild with perl 5.8.6
100  - use vendor_perl
101  - updated URL
102  - s/Copyright/License/
103 
104  - Sat Apr 13 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 0.23-0vl1
105  - first build for Vine Linux
106
107* Tue Jan 24 2012 Marcela Mašláňová <mmaslano@redhat.com> - 0.86-1
108- update to 0.86
109
110* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.85-2
111- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
112
113* Thu Sep 08 2011 Petr Sabata <contyk@redhat.com> - 0.85-1
114- 0.85 bump
115
116* Mon Aug 08 2011 Petr Sabata <contyk@redhat.com> - 0.83a-1
117- 0.83a bump
118
119* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-2
120- Perl mass rebuild
121
122* Mon May  9 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.82-1
123- update to 0.82
124
125* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-2
126- Revert example scripts interpreter changes
127
128* Wed Mar 23 2011 Petr Sabata <psabata@redhat.com> - 0.81-1
129- 0.81 version bump
130- Changed script interpreters in various example files
131- Convert ChangeLog to proper UTF8
132- Removed buildroot garbage
133
134* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.80-2
135- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
136
137* Mon Jan  3 2011 Petr Sabata <psabata@redhat.com> - 0.80-1
138- 0.80 version bump
139
140* Thu Dec  2 2010 Petr Sabata <psabata@redhat.com> - 0.79-1
141- 0.79 version bump
142
143* Mon Oct 18 2010 Petr Sabata <psabata@redhat.com> - 0.76-1
144- 0.76 version bump
145
146* Mon Oct 11 2010 Petr Sabata <psabata@redhat.com> - 0.75-1
147- 0.75 version bump
148
149* Mon Oct 04 2010 Petr Pisar <ppisar@redhat.com> - 0.74-1
150- 0.74 bump
151
152* Wed Sep 08 2010 Petr Pisar <ppisar@redhat.com> - 0.73-1
153- 0.73 bump
154
155* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.72-2
156- Mass rebuild with perl-5.12.0
157
158* Wed Mar 17 2010 Chris Weyl <cweyl@alumni.drew.edu> 0.72-1
159- PERL_INSTALL_ROOT => DESTDIR, add perl_default_filter (XS module)
160- auto-update to 0.72 (by cpan-spec-update 0.01) (DBIx::Class needed a newer
161  Text::CSV, which in turn can only leverage Text::CSV_XS >= 0.70)
162- added a new br on perl(ExtUtils::MakeMaker) (version 0)
163- added a new br on perl(IO::Handle) (version 0)
164- added a new br on perl(Test::Harness) (version 0)
165- added a new br on perl(Test::More) (version 0)
166- added a new br on perl(Tie::Scalar) (version 0)
167
168* Fri Dec  4 2009 Stepan Kasal <skasal@redhat.com> - 0.69-2
169- rebuild against perl 5.10.1
170
171* Mon Nov  2 2009 Stepan Kasal <skasal@redhat.com> - 0.69
172- new upstream release
173
174* Wed Oct  7 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.68-1
175- update to new upstream release
176
177* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-3
178- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
179
180* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.58-2
181- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
182
183* Wed Dec 10 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.58-1
184- Update to latest upstream
185- SvUPGRADE patch upstreamed
186
187* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-2
188- Actually solving the issue mentioned in previous change
189
190* Tue Jul 08 2008 Lubomir Rintel <lkundrak@v3.sk> - 0.52-1
191- Updated to 0.52 to solve an issue with perl 5.10
192
193* Wed Feb 27 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-5
194- Rebuild for perl 5.10 (again)
195
196* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.30-4
197- Autorebuild for GCC 4.3
198
199* Sat Feb  2 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.30-3
200- rebuild for new perl
201
202* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.30-2
203- Rebuild for selinux ppc32 issue.
204
205* Sat Jun 23 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.30-1
206- Update to 0.30.
207
208* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.29-1
209- Update to 0.29.
210
211* Sat Jun 16 2007 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.27-1
212- Update to 0.27.
213- New upstream maintainer.
214
215* Thu Sep  7 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-5
216- Rebuild for FC6.
217
218* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-4
219- Rebuild for FC5 (perl 5.8.8).
220
221* Wed Feb 22 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-3
222- The wonders of CVS problems (released skipped).
223
224* Thu Jan  5 2006 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-2
225- Build section: simplified RPM_OPT_FLAGS handling (#175898).
226
227* Sat Nov 05 2005 Jose Pedro Oliveira <jpo at di.uminho.pt> - 0.23-1
228- First build.
Note: See TracBrowser for help on using the repository browser.