2009-08-31 14:23:57 +00:00
|
|
|
%global subver 2
|
2008-07-24 16:23:19 +00:00
|
|
|
|
2008-07-04 21:48:21 +00:00
|
|
|
Name: perl-AnyEvent
|
2009-08-31 14:23:57 +00:00
|
|
|
Version: 5.11
|
2009-12-07 14:46:52 +00:00
|
|
|
Release: 3%{?dist}
|
2008-07-04 21:48:21 +00:00
|
|
|
Summary: Framework for multiple event loops
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: http://search.cpan.org/dist/AnyEvent/
|
2009-08-31 14:23:57 +00:00
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-%{version}%{?subver}.tar.gz
|
2008-07-04 21:48:21 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
# Needed for test
|
|
|
|
BuildRequires: perl(Test::Simple)
|
|
|
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
%description
|
2009-07-27 15:17:30 +00:00
|
|
|
AnyEvent provides an identical interface to multiple event loops. This
|
|
|
|
allows module authors to utilise an event loop without forcing module users
|
|
|
|
to use the same event loop (as only a single event loop can coexist
|
|
|
|
peacefully at any one time).
|
2008-07-04 21:48:21 +00:00
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2009-08-31 14:23:57 +00:00
|
|
|
%setup -q -n AnyEvent-%{version}%{?subver}
|
2008-07-04 21:48:21 +00:00
|
|
|
|
|
|
|
# Filter unwanted Requires:
|
|
|
|
cat << \EOF > %{name}-req
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_requires} $* |\
|
|
|
|
sed -e '/perl(Tk)/d' | \
|
|
|
|
sed -e '/perl(EV)/d' | \
|
2009-07-27 15:32:58 +00:00
|
|
|
sed -e '/perl(Irssi)/d' | \
|
2008-07-04 21:48:21 +00:00
|
|
|
sed -e '/^perl(Qt/d' | \
|
|
|
|
sed -e '/^perl(AnyEvent::Impl::Qt/d'
|
|
|
|
|
|
|
|
EOF
|
2009-08-31 14:23:57 +00:00
|
|
|
%define __perl_requires %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-req
|
2008-07-04 21:48:21 +00:00
|
|
|
chmod +x %{name}-req
|
|
|
|
|
|
|
|
# Filter unwanted Provides:
|
|
|
|
cat << \EOF > %{name}-prov
|
|
|
|
#!/bin/sh
|
|
|
|
%{__perl_provides} $* |\
|
|
|
|
sed -e '/^perl(AnyEvent::Impl::Qt/d'
|
|
|
|
|
|
|
|
EOF
|
2009-08-31 14:23:57 +00:00
|
|
|
%define __perl_provides %{_builddir}/AnyEvent-%{version}%{?subver}/%{name}-prov
|
2008-07-04 21:48:21 +00:00
|
|
|
chmod +x %{name}-prov
|
|
|
|
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
# PERL_ANYEVENT_NET_TESTS shoudn't be set to avoid network tests
|
|
|
|
# on our builder.
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc Changes COPYING README
|
2009-08-31 14:23:57 +00:00
|
|
|
%{perl_vendorlib}/AE.pm
|
2009-07-27 15:32:58 +00:00
|
|
|
%{perl_vendorlib}/AnyEvent*
|
2008-07-04 21:48:21 +00:00
|
|
|
%{_mandir}/man3/*.3*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-12-07 14:46:52 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 5.11-3
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-08-31 14:34:45 +00:00
|
|
|
* Mon Aug 31 2009 kwizart < kwizart at gmail.com > - 5.11-2
|
2009-08-31 14:34:20 +00:00
|
|
|
- Update to 5.112 (rpm version : 5.11 )
|
|
|
|
|
2009-07-27 15:17:30 +00:00
|
|
|
* Mon Jul 27 2009 kwizart < kwizart at gmail.com > - 4.870-1
|
|
|
|
- Update to 4.87 (rpm version : 4.870 )
|
2009-07-27 15:32:58 +00:00
|
|
|
- Add more filter requires to workaround rhbz#512553
|
2009-07-27 15:17:30 +00:00
|
|
|
|
2009-07-26 01:36:59 +00:00
|
|
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.820-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-15 10:03:44 +00:00
|
|
|
* Thu Jul 15 2009 kwizart < kwizart at gmail.com > - 4.820-1
|
2009-07-27 15:17:30 +00:00
|
|
|
- Update to 4.82 (rpm version : 4.820 )
|
2009-07-15 10:03:44 +00:00
|
|
|
|
2009-05-29 08:35:10 +00:00
|
|
|
* Fri May 29 2009 kwizart < kwizart at gmail.com > - 4.410-1
|
2009-05-29 08:33:16 +00:00
|
|
|
- Update to 4.41 (rpm version : 4.41 )
|
|
|
|
|
2009-04-22 12:48:23 +00:00
|
|
|
* Wed Apr 22 2009 kwizart < kwizart at gmail.com > - 4.352-1
|
|
|
|
- Update to 4.352 (rpm version : same )
|
|
|
|
|
2009-04-03 21:20:12 +00:00
|
|
|
* Fri Apr 3 2009 kwizart < kwizart at gmail.com > - 4.350-1
|
|
|
|
- Update to 4.35 (rpm version : 4.350 )
|
|
|
|
|
2009-03-05 17:20:19 +00:00
|
|
|
* Thu Mar 5 2009 kwizart < kwizart at gmail.com > - 4.340-1
|
|
|
|
- Update to 4.34 (rpm version : 4.340 )
|
|
|
|
|
2009-02-26 10:49:32 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.331-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-01-12 21:26:28 +00:00
|
|
|
* Mon Jan 12 2009 kwizart < kwizart at gmail.com > - 4.331-1
|
|
|
|
- Update to 4.331 (rpm version : same )
|
|
|
|
|
2008-10-17 08:48:21 +00:00
|
|
|
* Fri Oct 17 2008 kwizart < kwizart at gmail.com > - 4.300-1
|
|
|
|
- Update to 4.3 (rpm version : 4.300 )
|
|
|
|
|
2008-10-14 18:04:51 +00:00
|
|
|
* Tue Oct 14 2008 kwizart < kwizart at gmail.com > - 4.3-1
|
|
|
|
- Update to 4.3
|
|
|
|
|
2008-08-04 10:51:47 +00:00
|
|
|
* Mon Aug 4 2008 kwizart < kwizart at gmail.com > - 4.231-1
|
|
|
|
- Update to 4.231 (rpm version : match )
|
|
|
|
|
2008-07-24 16:23:19 +00:00
|
|
|
* Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 4.220-1
|
2008-07-24 16:16:13 +00:00
|
|
|
- Update to 4.22 (rpm version : 4.220 )
|
|
|
|
|
2008-07-18 11:28:37 +00:00
|
|
|
* Fri Jul 18 2008 kwizart < kwizart at gmail.com > - 4.21-1
|
|
|
|
- Update to 4.21
|
|
|
|
|
2008-07-04 21:48:21 +00:00
|
|
|
* Fri Jul 4 2008 kwizart < kwizart at gmail.com > - 4.161-1
|
|
|
|
- Update to 4.161
|
|
|
|
|
|
|
|
* Mon Jun 23 2008 kwizart < kwizart at gmail.com > - 4.152-1
|
|
|
|
- Update to 4.152
|
|
|
|
|
|
|
|
* Mon Jun 9 2008 kwizart < kwizart at gmail.com > - 4.151-1
|
|
|
|
- Update to 4.151
|
|
|
|
|
|
|
|
* Thu Jun 5 2008 kwizart < kwizart at gmail.com > - 4.13-1
|
|
|
|
- Update to 4.13
|
|
|
|
|
|
|
|
* Tue Jun 3 2008 kwizart < kwizart at gmail.com > - 4.12-1
|
|
|
|
- Update to 4.12
|
|
|
|
|
|
|
|
* Thu May 29 2008 kwizart < kwizart at gmail.com > - 4.1-1
|
|
|
|
- Update to 4.1
|
|
|
|
|
|
|
|
* Tue May 27 2008 kwizart < kwizart at gmail.com > - 3.5-1
|
|
|
|
- Update to 3.5
|
|
|
|
|
|
|
|
* Wed Apr 30 2008 kwizart < kwizart at gmail.com > - 3.3-1
|
|
|
|
- Initial package for Fedora
|
|
|
|
|