1 | %define perl_bootstrap 1 |
---|
2 | |
---|
3 | Name: perl-Capture-Tiny |
---|
4 | Version: 0.27 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Summary: Capture STDOUT and STDERR from Perl, XS or external programs |
---|
7 | License: ASL 2.0 |
---|
8 | Group: Development/Libraries |
---|
9 | URL: http://search.cpan.org/dist/Capture-Tiny/ |
---|
10 | Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/Capture-Tiny-%{version}.tar.gz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildArch: noarch |
---|
14 | BuildRequires: perl |
---|
15 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 |
---|
16 | BuildRequires: perl(strict) |
---|
17 | BuildRequires: perl(warnings) |
---|
18 | # Run-time: |
---|
19 | BuildRequires: perl(Carp) |
---|
20 | BuildRequires: perl(Exporter) |
---|
21 | BuildRequires: perl(Fcntl) |
---|
22 | BuildRequires: perl(File::Spec) |
---|
23 | BuildRequires: perl(File::Temp) |
---|
24 | BuildRequires: perl(IO::Handle) |
---|
25 | # PerlIO is optional |
---|
26 | BuildRequires: perl(Scalar::Util) |
---|
27 | # Tests only: |
---|
28 | BuildRequires: perl(Config) |
---|
29 | BuildRequires: perl(File::Spec::Functions) |
---|
30 | BuildRequires: perl(lib) |
---|
31 | BuildRequires: perl(IO::File) |
---|
32 | BuildRequires: perl(List::Util) |
---|
33 | BuildRequires: perl(Test::More) >= 0.62 |
---|
34 | BuildRequires: perl(version) |
---|
35 | # Optional tests: |
---|
36 | %if !%{defined perl_bootstrap} |
---|
37 | BuildRequires: perl(Inline) |
---|
38 | BuildRequires: perl(Inline::C) |
---|
39 | BuildRequires: perl(Parse::RecDescent) |
---|
40 | %endif |
---|
41 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
42 | |
---|
43 | %description |
---|
44 | Capture::Tiny provides a simple, portable way to capture anything sent to |
---|
45 | STDOUT or STDERR, regardless of whether it comes from Perl, from XS code or |
---|
46 | from an external program. Optionally, output can be teed so that it is |
---|
47 | captured while being passed through to the original handles. Yes, it even |
---|
48 | works on Windows. Stop guessing which of a dozen capturing modules to use |
---|
49 | in any particular situation and just use this one. |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q -n Capture-Tiny-%{version} |
---|
53 | |
---|
54 | %build |
---|
55 | perl Makefile.PL INSTALLDIRS=perl |
---|
56 | make %{?_smp_mflags} |
---|
57 | |
---|
58 | %install |
---|
59 | make pure_install DESTDIR=%{buildroot} |
---|
60 | find %{buildroot} -type f -name .packlist -exec rm -f {} + |
---|
61 | %{_fixperms} %{buildroot}/* |
---|
62 | |
---|
63 | %check |
---|
64 | make test |
---|
65 | |
---|
66 | %files |
---|
67 | %doc Changes examples LICENSE README Todo |
---|
68 | %{perl_privlib}/* |
---|
69 | %{_mandir}/man3/* |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Wed Nov 19 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.27-2 |
---|
73 | - Initial package for Vine Linux |
---|
74 | |
---|
75 | * Wed Nov 12 2014 Petr Šabata <contyk@redhat.com> - 0.27-1 |
---|
76 | - 0.27 bump |
---|
77 | - META changes only |
---|
78 | |
---|
79 | * Tue Nov 04 2014 Petr Šabata <contyk@redhat.com> - 0.26-1 |
---|
80 | - 0.26 bump |
---|
81 | - Test suite enhancements only |
---|
82 | |
---|
83 | * Sun Sep 07 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-3 |
---|
84 | - Perl 5.20 re-rebuild of bootstrapped packages |
---|
85 | |
---|
86 | * Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.25-2 |
---|
87 | - Perl 5.20 rebuild |
---|
88 | |
---|
89 | * Mon Aug 18 2014 Petr Šabata <contyk@redhat.com> - 0.25-1 |
---|
90 | - 0.25 bump |
---|
91 | |
---|
92 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.24-2 |
---|
93 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
94 | |
---|
95 | * Mon Feb 10 2014 Petr Šabata <contyk@redhat.com> - 0.24-1 |
---|
96 | - 0.24 bump, fix CVE-2014-1875 |
---|
97 | |
---|
98 | * Thu Oct 24 2013 Petr Šabata <contyk@redhat.com> - 0.23-1 |
---|
99 | - 0.23 bump |
---|
100 | |
---|
101 | * Thu Sep 05 2013 Petr Šabata <contyk@redhat.com> - 0.22-4 |
---|
102 | - Avoid circular dependencies when bootstrapping (#1004376) |
---|
103 | |
---|
104 | * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3 |
---|
105 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
106 | |
---|
107 | * Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 0.22-2 |
---|
108 | - Perl 5.18 rebuild |
---|
109 | |
---|
110 | * Thu Mar 28 2013 Petr Pisar <ppisar@redhat.com> - 0.22-1 |
---|
111 | - 0.22 bump |
---|
112 | |
---|
113 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
115 | |
---|
116 | * Fri Nov 16 2012 Petr Pisar <ppisar@redhat.com> - 0.21-1 |
---|
117 | - 0.21 bump |
---|
118 | |
---|
119 | * Thu Oct 04 2012 Petr Šabata <contyk@redhat.com> - 0.20-1 |
---|
120 | - 0.20 bump |
---|
121 | |
---|
122 | * Wed Aug 08 2012 Jitka Plesnikova <jplesnik@redhat.com> - 0.19-1 |
---|
123 | - 0.19 bump |
---|
124 | |
---|
125 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3 |
---|
126 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
127 | |
---|
128 | * Sat Jun 16 2012 Petr Pisar <ppisar@redhat.com> - 0.18-2 |
---|
129 | - Perl 5.16 rebuild |
---|
130 | |
---|
131 | * Mon May 07 2012 Petr Šabata <contyk@redhat.com> - 0.18-1 |
---|
132 | - 0.18 bump |
---|
133 | |
---|
134 | * Thu Feb 23 2012 Petr Šabata <contyk@redhat.com> - 0.17-1 |
---|
135 | - 0.17 bump |
---|
136 | |
---|
137 | * Mon Feb 13 2012 Petr Šabata <contyk@redhat.com> - 0.16-1 |
---|
138 | - 0.16 bump |
---|
139 | |
---|
140 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-2 |
---|
141 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
142 | |
---|
143 | * Mon Jan 02 2012 Petr Šabata <contyk@redhat.com> - 0.15-1 |
---|
144 | - 0.15 bump |
---|
145 | |
---|
146 | * Mon Dec 05 2011 Petr Šabata <contyk@redhat.com> - 0.13-1 |
---|
147 | - 0.13 bump |
---|
148 | |
---|
149 | * Fri Dec 02 2011 Petr Pisar <ppisar@redhat.com> - 0.12-1 |
---|
150 | - 0.12 bump |
---|
151 | |
---|
152 | * Wed Jun 15 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.11-2 |
---|
153 | - Perl mass rebuild |
---|
154 | |
---|
155 | * Fri May 20 2011 Petr Sabata <psabata@redhat.com> - 0.11-1 |
---|
156 | - 0.11 bump |
---|
157 | - Removing defattr |
---|
158 | |
---|
159 | * Wed Feb 09 2011 Petr Pisar <ppisar@redhat.com> - 0.10-1 |
---|
160 | - 0.10 bump |
---|
161 | |
---|
162 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-2 |
---|
163 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
164 | |
---|
165 | * Fri Jan 28 2011 Petr Pisar <ppisar@redhat.com> - 0.09-1 |
---|
166 | - 0.09 bump |
---|
167 | - Remove BuildRoot stuff |
---|
168 | - Migrate from Module::Build to ExtUtils::MakeMaker |
---|
169 | - Install into perl core directory |
---|
170 | |
---|
171 | * Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.08-2 |
---|
172 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
173 | |
---|
174 | * Mon Jun 21 2010 Petr Pisar <ppisar@redhat.com> - 0.08-1 |
---|
175 | - 0.08 bump (bug #606277) |
---|
176 | |
---|
177 | * Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.07-2 |
---|
178 | - Mass rebuild with perl-5.12.0 |
---|
179 | |
---|
180 | * Wed Jan 27 2010 Marcela Mašláňová <mmaslano@redhat.com> - 0.07-1 |
---|
181 | - update |
---|
182 | |
---|
183 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-2 |
---|
184 | - rebuild against perl 5.10.1 |
---|
185 | |
---|
186 | * Tue Aug 11 2009 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-1 |
---|
187 | - update |
---|
188 | |
---|
189 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.05-2 |
---|
190 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
191 | |
---|
192 | * Mon Apr 27 2009 Marcela Mašláňová <mmaslano@redhat.com> 0.05-1 |
---|
193 | - Specfile autogenerated by cpanspec 1.78. |
---|