1 | Name: perl-WWW-Curl |
---|
2 | Version: 4.17 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Perl extension interface for libcurl |
---|
5 | License: MIT |
---|
6 | Group: Development/Libraries |
---|
7 | URL: http://search.cpan.org/dist/WWW-Curl/ |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/S/SZ/SZBALINT/WWW-Curl-%{version}.tar.gz |
---|
9 | BuildRequires: perl |
---|
10 | BuildRequires: perl(inc::Module::Install) |
---|
11 | BuildRequires: perl(Carp) |
---|
12 | BuildRequires: perl(Exporter) |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(File::Temp) |
---|
15 | %{?_with_network_tests: BuildRequires: perl(lib) } |
---|
16 | BuildRequires: perl(strict) |
---|
17 | BuildRequires: perl(Test::More) |
---|
18 | # Test::Pod is optional |
---|
19 | BuildRequires: perl(warnings) |
---|
20 | BuildRequires: perl(XSLoader) |
---|
21 | BuildRequires: curl-devel |
---|
22 | Requires: perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version)) |
---|
23 | |
---|
24 | %{?perl_default_filter} |
---|
25 | |
---|
26 | %description |
---|
27 | WWW::Curl is a Perl extension interface for libcurl. |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q -n WWW-Curl-%{version} |
---|
31 | rm -rf inc && sed -i -e '/^inc\//d' MANIFEST |
---|
32 | |
---|
33 | %build |
---|
34 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" |
---|
35 | make %{?_smp_mflags} |
---|
36 | |
---|
37 | %install |
---|
38 | make pure_install DESTDIR=$RPM_BUILD_ROOT |
---|
39 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; |
---|
40 | find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; |
---|
41 | %{_fixperms} $RPM_BUILD_ROOT/* |
---|
42 | |
---|
43 | %check |
---|
44 | # These tests require network, use "--with network_tests" to execute them |
---|
45 | %{?!_with_network_tests: rm t/01basic.t } |
---|
46 | %{?!_with_network_tests: rm t/02callbacks.t } |
---|
47 | %{?!_with_network_tests: rm t/04abort-test.t } |
---|
48 | %{?!_with_network_tests: rm t/05progress.t } |
---|
49 | %{?!_with_network_tests: rm t/08ssl.t } |
---|
50 | %{?!_with_network_tests: rm t/09times.t } |
---|
51 | %{?!_with_network_tests: rm t/14duphandle.t } |
---|
52 | %{?!_with_network_tests: rm t/15duphandle-callback.t } |
---|
53 | %{?!_with_network_tests: rm t/18twinhandles.t } |
---|
54 | %{?!_with_network_tests: rm t/19multi.t } |
---|
55 | %{?!_with_network_tests: rm t/21write-to-scalar.t } |
---|
56 | make test |
---|
57 | |
---|
58 | %files |
---|
59 | %doc Changes LICENSE README |
---|
60 | %{perl_vendorarch}/auto/* |
---|
61 | %{perl_vendorarch}/WWW* |
---|
62 | %{_mandir}/man3/* |
---|
63 | |
---|
64 | %changelog |
---|
65 | * Sun Dec 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 4.17-1 |
---|
66 | - initial build for Vine Linux |
---|
67 | |
---|
68 | |
---|
69 | * Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.17-4 |
---|
70 | - Perl 5.20 rebuild |
---|
71 | |
---|
72 | * Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.17-3 |
---|
73 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
---|
74 | |
---|
75 | * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.17-2 |
---|
76 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
---|
77 | |
---|
78 | * Wed Feb 26 2014 Petr Šabata <contyk@redhat.com> - 4.17-1 |
---|
79 | - 4.17 bump, license change |
---|
80 | |
---|
81 | * Fri Feb 21 2014 Petr Šabata <contyk@redhat.com> - 4.16-1 |
---|
82 | - 4.16 bump |
---|
83 | |
---|
84 | * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-12 |
---|
85 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
---|
86 | |
---|
87 | * Fri Aug 02 2013 Petr Pisar <ppisar@redhat.com> - 4.15-11 |
---|
88 | - Perl 5.18 rebuild |
---|
89 | |
---|
90 | * Sun Jul 14 2013 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-10 |
---|
91 | - Update dependencies |
---|
92 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
93 | - Remove buildroot cleaning |
---|
94 | |
---|
95 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-9 |
---|
96 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
---|
97 | |
---|
98 | * Thu Aug 16 2012 Jitka Plesnikova <jplesnik@redhat.com> - 4.15-8 |
---|
99 | - Specify all dependencies |
---|
100 | - Modernize spec file |
---|
101 | |
---|
102 | * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-7 |
---|
103 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
---|
104 | |
---|
105 | * Fri Jun 22 2012 Petr Pisar <ppisar@redhat.com> - 4.15-6 |
---|
106 | - Perl 5.16 rebuild |
---|
107 | |
---|
108 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-5 |
---|
109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
110 | |
---|
111 | * Sun Jul 24 2011 Iain Arnell <iarnell@gmail.com> 4.15-4 |
---|
112 | - use perl_default_filter |
---|
113 | |
---|
114 | * Wed Jun 29 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.15-3 |
---|
115 | - Perl mass rebuild |
---|
116 | |
---|
117 | * Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.15-2 |
---|
118 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
119 | |
---|
120 | * Tue Nov 30 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.15-1 |
---|
121 | - Update to 4.15 |
---|
122 | * Thu Oct 28 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.14-1 |
---|
123 | - Update to 4.14 |
---|
124 | - Add a filter provide to avoid private-shared-object-provides error |
---|
125 | * Sun Sep 5 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.13-1 |
---|
126 | - Update to 4.13 |
---|
127 | * Wed Aug 25 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.12-1 |
---|
128 | - Update to 4.12 |
---|
129 | * Thu Jun 3 2010 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-3 |
---|
130 | - Remove test 19 because it requires network |
---|
131 | * Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 4.11-2 |
---|
132 | - Mass rebuild with perl-5.12.0 |
---|
133 | * Fri Dec 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.11-1 |
---|
134 | - Update to 4.11 |
---|
135 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 4.09-3 |
---|
136 | - rebuild against perl 5.10.1 |
---|
137 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.09-2 |
---|
138 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
139 | * Sat Jul 11 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.09-1 |
---|
140 | - Rebuild for 4.09 |
---|
141 | * Mon Jun 1 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.07-1 |
---|
142 | - Rebuild for 4.07 |
---|
143 | * Sat Apr 18 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.06-1 |
---|
144 | - Step to 4.06 |
---|
145 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.05-5 |
---|
146 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
147 | * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-4 |
---|
148 | - Licence update |
---|
149 | * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-3 |
---|
150 | - README.Win32 file removed |
---|
151 | * Wed Jan 14 2009 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-2 |
---|
152 | - Timestamp preserved |
---|
153 | - changelog format fix |
---|
154 | - README.Win32 file removed |
---|
155 | * Thu Dec 11 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 4.05-1 |
---|
156 | - Initial build with cpan2spec |
---|