|
|
d9c0b4 |
%global source_dir %{_datadir}/%{name}-source
|
|
|
d9c0b4 |
%global inst_srcdir %{buildroot}/%{source_dir}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
Name: libev
|
|
|
d9c0b4 |
Summary: High-performance event loop/event model with lots of features
|
|
|
d9c0b4 |
Version: 4.15
|
|
|
d9c0b4 |
Release: 4%{?dist}
|
|
|
d9c0b4 |
License: BSD or GPLv2+
|
|
|
d9c0b4 |
URL: http://software.schmorp.de/pkg/libev.html
|
|
|
d9c0b4 |
Source0: http://dist.schmorp.de/libev/Attic/%{name}-%{version}.tar.gz
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
BuildRequires: autoconf automake libtool
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
Patch0: libev-4.15-Modernize-the-configure.ac.patch
|
|
|
d9c0b4 |
Patch1: libev-4.15-Respect-the-CFLAGS-if-defined.patch
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%description
|
|
|
d9c0b4 |
Libev is modeled (very loosely) after libevent and the Event Perl
|
|
|
d9c0b4 |
module, but is faster, scales better and is more correct, and also more
|
|
|
d9c0b4 |
featureful. And also smaller.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%package devel
|
|
|
d9c0b4 |
Summary: Development headers for libev
|
|
|
d9c0b4 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%description devel
|
|
|
d9c0b4 |
This package contains the development headers and libraries for libev.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%package libevent-devel
|
|
|
d9c0b4 |
Summary: Compatibility development header with libevent for %{name}.
|
|
|
d9c0b4 |
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
# The event.h file actually conflicts with the one from libevent-devel
|
|
|
d9c0b4 |
Conflicts: libevent-devel
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%description libevent-devel
|
|
|
d9c0b4 |
This package contains a development header to make libev compatible with
|
|
|
d9c0b4 |
libevent.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%package source
|
|
|
d9c0b4 |
Summary: High-performance event loop/event model with lots of features
|
|
|
d9c0b4 |
%if 0%{?fedora} >= 12 || 0%{?rhel} > 5
|
|
|
d9c0b4 |
BuildArch: noarch
|
|
|
d9c0b4 |
%endif
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%description source
|
|
|
d9c0b4 |
This package contains the source code for libev.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%prep
|
|
|
d9c0b4 |
%setup -q
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%patch0 -p1
|
|
|
d9c0b4 |
%patch1 -p1
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
autoreconf -i
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%build
|
|
|
d9c0b4 |
%configure --disable-static --with-pic
|
|
|
d9c0b4 |
make %{?_smp_mflags}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%check
|
|
|
d9c0b4 |
make check
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%install
|
|
|
d9c0b4 |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
rm -rf %{buildroot}%{_libdir}/%{name}.la
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
# Make the source package
|
|
|
d9c0b4 |
mkdir -p %{inst_srcdir}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
find . -type f | grep -E '.*\.(c|h|am|ac|inc|m4|h.in|man.pre|pl|txt)$' | xargs tar cf - | (cd %{inst_srcdir} && tar xf -)
|
|
|
d9c0b4 |
install -p -m 0644 Changes ev.pod LICENSE README %{inst_srcdir}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%post -p /sbin/ldconfig
|
|
|
d9c0b4 |
%postun -p /sbin/ldconfig
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%files
|
|
|
d9c0b4 |
%doc Changes LICENSE README
|
|
|
d9c0b4 |
%{_libdir}/%{name}.so.4
|
|
|
d9c0b4 |
%{_libdir}/%{name}.so.4.0.0
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%files devel
|
|
|
d9c0b4 |
%{_includedir}/ev++.h
|
|
|
d9c0b4 |
%{_includedir}/ev.h
|
|
|
d9c0b4 |
%{_libdir}/%{name}.so
|
|
|
d9c0b4 |
%{_mandir}/man?/*
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%files libevent-devel
|
|
|
d9c0b4 |
%{_includedir}/event.h
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%files source
|
|
|
d9c0b4 |
%{source_dir}
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
%changelog
|
|
|
d9c0b4 |
* Thu Apr 17 2014 Lokesh Mandvekar <lsm5@redhat.com> - 4.15-4
|
|
|
d9c0b4 |
- Rebuilt for RHEL-7
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Tue Nov 26 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.15-3
|
|
|
d9c0b4 |
- Get the package closer to what upstream intended:
|
|
|
d9c0b4 |
- Do not move the headers into a subfolder of /usr/include
|
|
|
d9c0b4 |
- Make a libev-libevent-devel subpackage to contain the libevent
|
|
|
d9c0b4 |
compatibility header, so that only this subpackage conflicts with
|
|
|
d9c0b4 |
libevent-devel, not all of libev-devel
|
|
|
d9c0b4 |
- Drop the pkgconfig file, as upstream rejected it several times already.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sun Sep 8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-2
|
|
|
d9c0b4 |
- Bump (koji was broken)
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sun Sep 8 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 4.15-1
|
|
|
d9c0b4 |
- Update to 4.15 (rhbz 987489)
|
|
|
d9c0b4 |
- Fix dates in spec
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-3
|
|
|
d9c0b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Feb 08 2013 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-2
|
|
|
d9c0b4 |
- Make a patch out of Michal's pkgconfig support.
|
|
|
d9c0b4 |
- Modernize the configure.ac file for Automake >= 1.13.
|
|
|
d9c0b4 |
- Respect the Fedora CFLAGS
|
|
|
d9c0b4 |
https://bugzilla.redhat.com/show_bug.cgi?id=908096
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Sep 28 2012 Mathieu Bridon <bochecha@fedoraproject.org> - 4.11-1
|
|
|
d9c0b4 |
- Update to 4.11
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-3
|
|
|
d9c0b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.04-2
|
|
|
d9c0b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Tue Aug 9 2011 Tom Callaway <spot@fedoraproject.org> - 4.04-1
|
|
|
d9c0b4 |
- move man page
|
|
|
d9c0b4 |
- cleanup spec
|
|
|
d9c0b4 |
- update to 4.04
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Jun 13 2011 Matěj Cepl <mcepl@redhat.com> - 4.03-2
|
|
|
d9c0b4 |
- EL5 cannot have noarch subpackages.
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sat Feb 5 2011 Michal Nowak <mnowak@redhat.com> - 4.03-1
|
|
|
d9c0b4 |
- 4.03; RHBZ#674022
|
|
|
d9c0b4 |
- add a -source subpackage (Mathieu Bridon); RHBZ#672153
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Jan 10 2011 Michal Nowak <mnowak@redhat.com> - 4.01-1
|
|
|
d9c0b4 |
- 4.01
|
|
|
d9c0b4 |
- fix grammar in %%description
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sat Jan 2 2010 Michal Nowak <mnowak@redhat.com> - 3.90-1
|
|
|
d9c0b4 |
- 3.9
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Aug 10 2009 Michal Nowak <mnowak@redhat.com> - 3.80-1
|
|
|
d9c0b4 |
- 3.8
|
|
|
d9c0b4 |
- always use the most recent automake
|
|
|
d9c0b4 |
- BuildRequires now libtool
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.70-3
|
|
|
d9c0b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-2
|
|
|
d9c0b4 |
- spec file change, which prevented uploading most recent tarball
|
|
|
d9c0b4 |
so the RPM was "3.70" but tarball was from 3.60
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Fri Jul 17 2009 Michal Nowak <mnowak@redhat.com> - 3.70-1
|
|
|
d9c0b4 |
- v3.7
|
|
|
d9c0b4 |
- list libev soname explicitly
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Jun 29 2009 Michal Nowak <mnowak@redhat.com> - 3.60-1
|
|
|
d9c0b4 |
- previous version was called "3.6" but this is broken update
|
|
|
d9c0b4 |
path wrt version "3.53" -- thus bumping to "3.60"
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Thu Apr 30 2009 Michal Nowak <mnowak@redhat.com> - 3.6-1
|
|
|
d9c0b4 |
- 3.60
|
|
|
d9c0b4 |
- fixed few mixed-use-of-spaces-and-tabs warnings in spec file
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Thu Mar 19 2009 Michal Nowak <mnowak@redhat.com> - 3.53-1
|
|
|
d9c0b4 |
- 3.53
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.52-2
|
|
|
d9c0b4 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Wed Jan 07 2009 Michal Nowak <mnowak@redhat.com> - 3.52-1
|
|
|
d9c0b4 |
- 3.52
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Wed Dec 24 2008 Michal Nowak <mnowak@redhat.com> - 3.51-1
|
|
|
d9c0b4 |
- 3.51
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Thu Nov 20 2008 Michal Nowak <mnowak@redhat.com> - 3.49-1
|
|
|
d9c0b4 |
- version bump: 3.49
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Sun Nov 9 2008 Michal Nowak <mnowak@redhat.com> - 3.48-1
|
|
|
d9c0b4 |
- version bump: 3.48
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Oct 6 2008 kwizart <kwizart at gmail.com> - 3.44-1
|
|
|
d9c0b4 |
- bump to 3.44
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Tue Sep 2 2008 kwizart <kwizart at gmail.com> - 3.43-4
|
|
|
d9c0b4 |
- Fix pkgconfig support
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Tue Aug 12 2008 Michal Nowak <mnowak@redhat.com> - 3.43-2
|
|
|
d9c0b4 |
- removed libev.a
|
|
|
d9c0b4 |
- installing with "-p"
|
|
|
d9c0b4 |
- event.h is removed intentionaly, because is there only for
|
|
|
d9c0b4 |
backward compatibility with libevent
|
|
|
d9c0b4 |
|
|
|
d9c0b4 |
* Mon Aug 04 2008 Michal Nowak <mnowak@redhat.com> - 3.43-1
|
|
|
d9c0b4 |
- initial package
|
|
|
d9c0b4 |
|