You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
perl-EV/perl-EV.spec

146 lines
5.0 KiB

Name: perl-EV
11 years ago
Version: 4.17
11 years ago
Release: 3%{?dist}
Summary: Wrapper for the libev high-performance event loop library
# Note: The source archive includes a libev/ folder which contents are licensed
# as "BSD or GPLv2+". However, those are removed at build-time and
# perl-EV is instead built against the system-provided libev.
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/EV/
Source0: http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/EV-%{version}.tar.gz
Patch0: perl-EV-4.03-Don-t-ask-questions-at-build-time.patch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(common::sense)
BuildRequires: gdbm-devel
BuildRequires: libev-source >= 4.15
BuildRequires: perl(AnyEvent) => 2.6
13 years ago
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module provides an interface to libev
(<http://software.schmorp.de/pkg/libev.html>). While the included documentation
is comprehensive, one might also consult the documentation of libev itself
(<http://cvs.schmorp.de/libev/ev.html>) for more subtle details on watcher
semantics or some discussion on the available backends, or how to force a
specific backend with "LIBEV_FLAGS", or just about in any case because it has
much more detailed information.
%prep
%setup -q -n EV-%{version}
%patch0 -p1
# remove all traces of the bundled libev
rm -fr ./libev
# use the sources from the system libev
mkdir -p ./libev
cp -r /usr/share/libev-source/* ./libev/
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
13 years ago
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes COPYING README
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/EV.pm
%{perl_vendorarch}/EV
%{_mandir}/man3/*.3*
%changelog
11 years ago
* Wed Sep 03 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.17-3
- Perl 5.20 rebuild
* Wed Sep 03 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-2
- Downgrade requirement of libev-source to 4.15
- Truncate RPM Changelog to the 4.xx
11 years ago
* Sun Aug 31 2014 Emmanuel Seyman <emmanuel@seyman.fr> - 4.17-1
- Update to 4.17
11 years ago
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 4.11-7
- Perl 5.20 rebuild
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
12 years ago
* Tue Jul 23 2013 Petr Pisar <ppisar@redhat.com> - 4.11-3
- Perl 5.18 rebuild
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
13 years ago
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
- Update to 4.11
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
13 years ago
* Thu Jun 14 2012 Petr Pisar <ppisar@redhat.com> - 4.03-9
- Perl 5.16 rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.03-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Thu Dec 01 2011 Petr Pisar <ppisar@redhat.com> - 4.03-7
- Build-require exact or higher version of libev-source (bug #759021)
14 years ago
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 4.03-6
- Perl mass rebuild
* Tue Apr 12 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-5
- Add the correct Obsoletes/Provides to avoid broken deps from the -devel
subpackage removal.
* Thu Apr 07 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-4
- Readded the header file to the main package, as per guidelines:
-> http://fedoraproject.org/wiki/Packaging/Perl#.h_files_in_module_packages
* Tue Mar 08 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-3
- Some more fixes as part of the review process:
- Fix the license tag to be only the license of perl-EV, and add a note about
the included libev sources.
- Removed manual cleaning of the buildroot since it has been useless since
Fedora 10 and even EPEL (>=6) doesn't need it now.
* Wed Feb 23 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-2
- Fixes asked during the review process:
- Filter the private shared EV.so out of the automatic Provides
- Put the header files in a -devel package
- Removed the Buildroot line since it's useless for newer versions of Fedora
and this package can only go in Fedora >= 15 due to its libev dependency)
* Mon Jan 24 2011 Mathieu Bridon <bochecha@fedoraproject.org> - 4.03-1
- Update to 4.03.
- Use the system libev instead of the bundled one.