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