1 | #global subver 1 |
---|
2 | |
---|
3 | Name: perl-AnyEvent |
---|
4 | Version: 7.15 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | Summary: Framework for multiple event loops |
---|
7 | |
---|
8 | Group: Development/Libraries |
---|
9 | License: GPL+ or Artistic |
---|
10 | URL: http://search.cpan.org/dist/AnyEvent/ |
---|
11 | Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
13 | |
---|
14 | Vendor: Project Vine |
---|
15 | Distribution: Vine Linux |
---|
16 | |
---|
17 | #BuildArch: noarch |
---|
18 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
19 | # Needed for test |
---|
20 | BuildRequires: perl(Test::Simple) |
---|
21 | Obsoletes: perl-AnyEvent < %{version}-%{release} |
---|
22 | |
---|
23 | %if %{_dist_release} > "vl6" |
---|
24 | # RPM 4.9 style |
---|
25 | %global __requires_exclude %{?__requires_exclude:__requires_exclude|}perl\\(Tk\\) |
---|
26 | %global __requires_exclude %__requires_exclude|perl\\(EV\\) |
---|
27 | %global __requires_exclude %__requires_exclude|perl\\(Irssi\\) |
---|
28 | %global __requires_exclude %__requires_exclude|perl\\(Qt |
---|
29 | %global __requires_exclude %__requires_exclude|perl\\(AnyEvent::Impl::Qt |
---|
30 | %global __requires_exclude %__requires_exclude|perl\\(FLTK |
---|
31 | %global __requires_exclude %__requires_exclude|perl\\(Cocoa |
---|
32 | %global __requires_exclude %__requires_exclude|perl\\(UV |
---|
33 | %global __requires_exclude %__requires_exclude|perl\\(AnyEvent::AIO |
---|
34 | %global __provides_exclude %{?__provides_exclude:__provides_exclude|}perl\\(AnyEvent::Impl::Qt |
---|
35 | %endif |
---|
36 | |
---|
37 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
38 | |
---|
39 | %description |
---|
40 | AnyEvent provides an identical interface to multiple event loops. This |
---|
41 | allows module authors to utilise an event loop without forcing module users |
---|
42 | to use the same event loop (as only a single event loop can coexist |
---|
43 | peacefully at any one time). |
---|
44 | |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q -n AnyEvent-%{version}%{?subver} |
---|
48 | |
---|
49 | %if %{_dist_release} <= "vl6" |
---|
50 | cat << \EOF > %{name}-prov |
---|
51 | #!/bin/sh |
---|
52 | %{__perl_provides} $* |\ |
---|
53 | sed -e '/perl(AnyEvent::Impl::Qt/d' |
---|
54 | EOF |
---|
55 | |
---|
56 | %global __perl_provides %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-prov |
---|
57 | chmod +x %{__perl_provides} |
---|
58 | |
---|
59 | |
---|
60 | cat << \EOF > %{name}-req |
---|
61 | #!/bin/sh |
---|
62 | %{__perl_requires} $* |\ |
---|
63 | sed -e '/perl(\(EV\|Irssi\|Tk\))/d' |\ |
---|
64 | sed -e '/perl(\(Qt\|AnyEvent::Impl::Qt\)/d' |
---|
65 | EOF |
---|
66 | |
---|
67 | %global __perl_requires %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-req |
---|
68 | chmod +x %{__perl_requires} |
---|
69 | %endif |
---|
70 | |
---|
71 | %build |
---|
72 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
73 | make %{?_smp_mflags} |
---|
74 | |
---|
75 | |
---|
76 | %install |
---|
77 | rm -rf %{buildroot} |
---|
78 | make pure_install PERL_INSTALL_ROOT=%{buildroot} |
---|
79 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
80 | |
---|
81 | |
---|
82 | %check |
---|
83 | # PERL_ANYEVENT_NET_TESTS shoudn't be set to avoid network tests |
---|
84 | # on our builder. |
---|
85 | make test |
---|
86 | |
---|
87 | |
---|
88 | %clean |
---|
89 | rm -rf %{buildroot} |
---|
90 | |
---|
91 | |
---|
92 | %files |
---|
93 | %defattr(-,root,root,-) |
---|
94 | %license COPYING |
---|
95 | %doc Changes README |
---|
96 | %{perl_vendorarch}/AE.pm |
---|
97 | %{perl_vendorarch}/AnyEvent* |
---|
98 | %{_mandir}/man3/*.3* |
---|
99 | |
---|
100 | |
---|
101 | %changelog |
---|
102 | * Fri May 17 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.15-1 |
---|
103 | - new upstream release. |
---|
104 | - rebuilt with perl-5.26. |
---|
105 | - made arch-dependent (since 5.3). |
---|
106 | |
---|
107 | * Fri Jun 27 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 5.27-2 |
---|
108 | - build with Perl 5.16 |
---|
109 | |
---|
110 | * Fri Mar 02 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.27-1 |
---|
111 | - initial build for Vine Linux |
---|
112 | |
---|
113 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.27-7 |
---|
114 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
115 | |
---|
116 | * Fri Jul 22 2011 Petr Pisar <ppisar@redhat.com> - 5.27-6 |
---|
117 | - RPM 4.9 dependency filtering added |
---|
118 | |
---|
119 | * Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 5.27-5 |
---|
120 | - Perl mass rebuild |
---|
121 | |
---|
122 | * Thu Feb 10 2011 Nicolas Chauvet <kwizart@gmail.com> - 5.27-4 |
---|
123 | - Rewritten to new filtering rules |
---|
124 | http://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering#Perl |
---|
125 | |
---|
126 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.27-3 |
---|
127 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
128 | |
---|
129 | * Tue Dec 14 2010 Marcela Maslanova <mmaslano@redhat.com> - 5.27-2 |
---|
130 | - 661697 rebuild for fixing problems with vendorach/lib |
---|
131 | |
---|
132 | * Sun Aug 22 2010 Nicolas Chauvet <kwizart@gmail.com> - 5.27-1 |
---|
133 | - Update to 5.271 (rpm version : 5.27) |
---|
134 | |
---|
135 | * Thu Apr 29 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 5.26-1 |
---|
136 | - Update to 5.261 (rpm version : 5.26) |
---|
137 | |
---|
138 | * Thu Apr 29 2010 Marcela Maslanova <mmaslano@redhat.com> - 5.24-2 |
---|
139 | - Mass rebuild with perl-5.12.0 |
---|
140 | |
---|
141 | * Tue Jan 19 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 5.24-1 |
---|
142 | - Update to 5.24 (rpm version : 5.24) |
---|
143 | |
---|
144 | * Mon Dec 7 2009 Nicolas Chauvet <kwizart@fedoraproject.org> - 5.22-1 |
---|
145 | - Update to 5.22 (rpm version : 5.22) |
---|
146 | |
---|
147 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 5.11-3 |
---|
148 | - rebuild against perl 5.10.1 |
---|
149 | |
---|
150 | * Mon Aug 31 2009 kwizart < kwizart at gmail.com > - 5.11-2 |
---|
151 | - Update to 5.112 (rpm version : 5.11 ) |
---|
152 | |
---|
153 | * Mon Jul 27 2009 kwizart < kwizart at gmail.com > - 4.870-1 |
---|
154 | - Update to 4.87 (rpm version : 4.870 ) |
---|
155 | - Add more filter requires to workaround rhbz#512553 |
---|
156 | |
---|
157 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.820-2 |
---|
158 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
159 | |
---|
160 | * Wed Jul 15 2009 kwizart < kwizart at gmail.com > - 4.820-1 |
---|
161 | - Update to 4.82 (rpm version : 4.820 ) |
---|
162 | |
---|
163 | * Fri May 29 2009 kwizart < kwizart at gmail.com > - 4.410-1 |
---|
164 | - Update to 4.41 (rpm version : 4.41 ) |
---|
165 | |
---|
166 | * Wed Apr 22 2009 kwizart < kwizart at gmail.com > - 4.352-1 |
---|
167 | - Update to 4.352 (rpm version : same ) |
---|
168 | |
---|
169 | * Fri Apr 3 2009 kwizart < kwizart at gmail.com > - 4.350-1 |
---|
170 | - Update to 4.35 (rpm version : 4.350 ) |
---|
171 | |
---|
172 | * Thu Mar 5 2009 kwizart < kwizart at gmail.com > - 4.340-1 |
---|
173 | - Update to 4.34 (rpm version : 4.340 ) |
---|
174 | |
---|
175 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.331-2 |
---|
176 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
177 | |
---|
178 | * Mon Jan 12 2009 kwizart < kwizart at gmail.com > - 4.331-1 |
---|
179 | - Update to 4.331 (rpm version : same ) |
---|
180 | |
---|
181 | * Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 4.300-1 |
---|
182 | - Update to 4.3 (rpm version : 4.300 ) |
---|
183 | |
---|
184 | * Tue Oct 14 2008 kwizart < kwizart at gmail.com > - 4.3-1 |
---|
185 | - Update to 4.3 |
---|
186 | |
---|
187 | * Mon Aug 4 2008 kwizart < kwizart at gmail.com > - 4.231-1 |
---|
188 | - Update to 4.231 (rpm version : match ) |
---|
189 | |
---|
190 | * Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 4.220-1 |
---|
191 | - Update to 4.22 (rpm version : 4.220 ) |
---|
192 | |
---|
193 | * Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 4.21-1 |
---|
194 | - Update to 4.21 |
---|
195 | |
---|
196 | * Fri Jul 4 2008 kwizart < kwizart at gmail.com > - 4.161-1 |
---|
197 | - Update to 4.161 |
---|
198 | |
---|
199 | * Mon Jun 23 2008 kwizart < kwizart at gmail.com > - 4.152-1 |
---|
200 | - Update to 4.152 |
---|
201 | |
---|
202 | * Mon Jun 9 2008 kwizart < kwizart at gmail.com > - 4.151-1 |
---|
203 | - Update to 4.151 |
---|
204 | |
---|
205 | * Thu Jun 5 2008 kwizart < kwizart at gmail.com > - 4.13-1 |
---|
206 | - Update to 4.13 |
---|
207 | |
---|
208 | * Tue Jun 3 2008 kwizart < kwizart at gmail.com > - 4.12-1 |
---|
209 | - Update to 4.12 |
---|
210 | |
---|
211 | * Thu May 29 2008 kwizart < kwizart at gmail.com > - 4.1-1 |
---|
212 | - Update to 4.1 |
---|
213 | |
---|
214 | * Tue May 27 2008 kwizart < kwizart at gmail.com > - 3.5-1 |
---|
215 | - Update to 3.5 |
---|
216 | |
---|
217 | * Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 3.3-1 |
---|
218 | - Initial package for Fedora |
---|
219 | |
---|