|
|
098c00 |
Name: libtevent
|
|
|
098c00 |
Version: 0.9.39
|
|
|
098c00 |
Release: 1%{?dist}
|
|
|
098c00 |
Group: System Environment/Daemons
|
|
|
098c00 |
Summary: The tevent library
|
|
|
098c00 |
License: LGPLv3+
|
|
|
098c00 |
URL: http://tevent.samba.org/
|
|
|
098c00 |
Source: http://samba.org/ftp/tevent/tevent-%{version}.tar.gz
|
|
|
098c00 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
098c00 |
|
|
|
098c00 |
BuildRequires: libtalloc-devel >= 2.1.1
|
|
|
098c00 |
BuildRequires: python-devel
|
|
|
098c00 |
BuildRequires: pytalloc-devel >= 2.1.1
|
|
|
098c00 |
BuildRequires: doxygen
|
|
|
098c00 |
BuildRequires: docbook-style-xsl
|
|
|
098c00 |
BuildRequires: libxslt
|
|
|
098c00 |
|
|
|
098c00 |
Provides: bundled(libreplace)
|
|
|
098c00 |
|
|
|
098c00 |
# Patches
|
|
|
098c00 |
|
|
|
098c00 |
%description
|
|
|
098c00 |
Tevent is an event system based on the talloc memory management library.
|
|
|
098c00 |
Tevent has support for many event types, including timers, signals, and
|
|
|
098c00 |
the classic file descriptor events.
|
|
|
098c00 |
Tevent also provide helpers to deal with asynchronous code providing the
|
|
|
098c00 |
tevent_req (Tevent Request) functions.
|
|
|
098c00 |
|
|
|
098c00 |
%package devel
|
|
|
098c00 |
Group: Development/Libraries
|
|
|
098c00 |
Summary: Developer tools for the Tevent library
|
|
|
098c00 |
Requires: libtevent%{?_isa} = %{version}-%{release}
|
|
|
098c00 |
Requires: libtalloc-devel%{?_isa} >= 2.0.7
|
|
|
098c00 |
Requires: pkgconfig
|
|
|
098c00 |
|
|
|
098c00 |
%description devel
|
|
|
098c00 |
Header files needed to develop programs that link against the Tevent library.
|
|
|
098c00 |
|
|
|
098c00 |
|
|
|
098c00 |
%package -n python-tevent
|
|
|
098c00 |
Group: Development/Libraries
|
|
|
098c00 |
Summary: Python bindings for the Tevent library
|
|
|
098c00 |
Requires: libtevent%{?_isa} = %{version}-%{release}
|
|
|
098c00 |
|
|
|
098c00 |
%description -n python-tevent
|
|
|
098c00 |
Python bindings for libtevent
|
|
|
098c00 |
|
|
|
098c00 |
%prep
|
|
|
098c00 |
# Update timestamps on the files touched by a patch, to avoid non-equal
|
|
|
098c00 |
# .pyc/.pyo files across the multilib peers within a build, where "Level"
|
|
|
098c00 |
# is the patch prefix option (e.g. -p1)
|
|
|
098c00 |
# Taken from specfile for python-simplejson
|
|
|
098c00 |
UpdateTimestamps() {
|
|
|
098c00 |
Level=$1
|
|
|
098c00 |
PatchFile=$2
|
|
|
098c00 |
|
|
|
098c00 |
# Locate the affected files:
|
|
|
098c00 |
for f in $(diffstat $Level -l $PatchFile); do
|
|
|
098c00 |
# Set the files to have the same timestamp as that of the patch:
|
|
|
098c00 |
touch -r $PatchFile $f
|
|
|
098c00 |
done
|
|
|
098c00 |
}
|
|
|
098c00 |
|
|
|
098c00 |
%setup -q -n tevent-%{version}
|
|
|
098c00 |
|
|
|
098c00 |
for p in %patches ; do
|
|
|
098c00 |
%__patch -p3 -i $p
|
|
|
098c00 |
UpdateTimestamps -p3 $p
|
|
|
098c00 |
done
|
|
|
098c00 |
|
|
|
098c00 |
%build
|
|
|
098c00 |
export PYTHON=/usr/bin/python2
|
|
|
098c00 |
%configure --disable-rpath \
|
|
|
098c00 |
--bundled-libraries=NONE \
|
|
|
098c00 |
--builtin-libraries=replace
|
|
|
098c00 |
|
|
|
098c00 |
make %{?_smp_mflags} V=1
|
|
|
098c00 |
|
|
|
098c00 |
doxygen doxy.config
|
|
|
098c00 |
|
|
|
098c00 |
%install
|
|
|
098c00 |
rm -rf $RPM_BUILD_ROOT
|
|
|
098c00 |
|
|
|
098c00 |
export PYTHON=/usr/bin/python2
|
|
|
098c00 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
098c00 |
|
|
|
098c00 |
# Shared libraries need to be marked executable for
|
|
|
098c00 |
# rpmbuild to strip them and include them in debuginfo
|
|
|
098c00 |
find $RPM_BUILD_ROOT -name "*.so*" -exec chmod -c +x {} \;
|
|
|
098c00 |
|
|
|
098c00 |
rm -f $RPM_BUILD_ROOT%{_libdir}/libtevent.a
|
|
|
098c00 |
|
|
|
098c00 |
# Install API docs
|
|
|
098c00 |
rm -f doc/man/man3/todo*
|
|
|
098c00 |
mkdir -p $RPM_BUILD_ROOT/%{_mandir}
|
|
|
098c00 |
cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
|
|
|
098c00 |
|
|
|
098c00 |
%clean
|
|
|
098c00 |
rm -rf $RPM_BUILD_ROOT
|
|
|
098c00 |
|
|
|
098c00 |
%files
|
|
|
098c00 |
%defattr(-,root,root,-)
|
|
|
098c00 |
%{_libdir}/libtevent.so.*
|
|
|
098c00 |
|
|
|
098c00 |
%files devel
|
|
|
098c00 |
%defattr(-,root,root,-)
|
|
|
098c00 |
%{_includedir}/tevent.h
|
|
|
098c00 |
%{_libdir}/libtevent.so
|
|
|
098c00 |
%{_libdir}/pkgconfig/tevent.pc
|
|
|
098c00 |
%{_mandir}/man3/tevent*.gz
|
|
|
098c00 |
|
|
|
098c00 |
%files -n python-tevent
|
|
|
098c00 |
%defattr(-,root,root,-)
|
|
|
098c00 |
%{python_sitearch}/tevent.py*
|
|
|
098c00 |
%{python_sitearch}/_tevent.so
|
|
|
098c00 |
|
|
|
098c00 |
%post -p /sbin/ldconfig
|
|
|
098c00 |
|
|
|
098c00 |
%postun -p /sbin/ldconfig
|
|
|
098c00 |
|
|
|
098c00 |
%changelog
|
|
|
098c00 |
* Fri Aug 2 2019 Jakub Hrozek <jhrozek@redhat.com> - 0.9.39-1
|
|
|
098c00 |
- Resolves: #1736006 - Rebase libtevent to version 0.9.39 for Samba
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Jan 16 2019 Jakub Hrozek <jhrozek@redhat.com> - 0.9.37-1
|
|
|
098c00 |
- Resolves: #1658748 - Rebase libtevent to version 0.9.37 for Samba
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Apr 10 2018 Jakub Hrozek <jhrozek@redhat.com> - 0.9.36
|
|
|
098c00 |
- Resolves: #1558494 - Rebase tevent to the latest available upstream release
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Nov 16 2017 Jakub Hrozek <jhrozek@redhat.com> - 0.9.34-1
|
|
|
098c00 |
- Resolves: #1512414 - tevent can cause a Samba file corruption bug under
|
|
|
098c00 |
heavy threaded load
|
|
|
098c00 |
|
|
|
098c00 |
* Sun Oct 15 2017 Jakub Hrozek <jhrozek@redhat.com> - 0.9.33-1
|
|
|
098c00 |
- Resolves: #1470054 - Rebase libtevent to enable samba rebase to version
|
|
|
098c00 |
4.7.x
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Feb 14 2017 Jakub Hrozek <jhrozek@redhat.com> - 0.9.31-1
|
|
|
098c00 |
- Resolves: #1393812 - Rebase libtevent in RHEL-7.4 to version 4.6.x
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Jun 9 2016 Jakub Hrozek <jhrozek@redhat.com> - 0.9.28-1
|
|
|
098c00 |
- Resolves: #1320247 - Rebase libtevent to version 0.9.28
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Apr 4 2016 Jakub Hrozek <jhrozek@redhat.com> - 0.9.26-2
|
|
|
098c00 |
- Resolves: #1309439 - libtevent leaks memory during signal handling
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Apr 1 2016 Jakub Hrozek <jhrozek@redhat.com> - 0.9.26-1
|
|
|
098c00 |
- Rebase libtevent to 0.9.26
|
|
|
098c00 |
- Related: rhbz#1322691
|
|
|
098c00 |
|
|
|
098c00 |
* Sun Jun 14 2015 Jakub Hrozek <jhrozek@redhat.com> - 0.9.25-1
|
|
|
098c00 |
- Resolves: rhbz#1226049 - Rebase libtevent to at least 0.9.22 in RHEL-7.2
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Jun 3 2015 Jakub Hrozek <jhrozek@redhat.com> - 0.9.24-1
|
|
|
098c00 |
- Resolves: rhbz#1226049 - Rebase libtevent to at least 0.9.22 in RHEL-7.2
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Nov 24 2014 Jakub Hrozek <jhrozek@redhat.com> - 0.9.21-3
|
|
|
098c00 |
- BuildRequire the minimal applicable libtalloc version
|
|
|
098c00 |
- Resolves: rhbz#1133919 - Rebase libtevent to version 0.9.21 or newer
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Nov 24 2014 Jakub Hrozek <jhrozek@redhat.com> - 0.9.21-2
|
|
|
098c00 |
- Allow building with RHEL-7.0 libtalloc
|
|
|
098c00 |
- Resolves: rhbz#1133919 - Rebase libtevent to version 0.9.21 or newer
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Sep 04 2014 Jakub Hrozek <jhrozek@redhat.com> - 0.9.21-1
|
|
|
098c00 |
- Resolves: rhbz#1133919 - Rebase libtevent to version 0.9.21 or newer
|
|
|
098c00 |
- removes upstreamed patches
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.9.18-6
|
|
|
098c00 |
- Mass rebuild 2014-01-24
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.9.18-5
|
|
|
098c00 |
- Mass rebuild 2013-12-27
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Aug 08 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.9.18-4
|
|
|
098c00 |
- Resolves: rhbz#994015 - tevent_loop_wait() never finishes
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Jul 01 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.9.18-3
|
|
|
098c00 |
- Make the dependency requirements arch-specific
|
|
|
098c00 |
- Remove ancient, unused patches
|
|
|
098c00 |
- Remove python variables that are not needed on modern systems
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Jun 19 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.9.18-2
|
|
|
098c00 |
- Apply a patch from upstream to fix tevent_poll's additional_flags
|
|
|
098c00 |
on 32bit architectures
|
|
|
098c00 |
- Resolves: rhbz#975490
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Mar 18 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.9.18-1
|
|
|
098c00 |
- New upstream release 0.9.18
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.17-4
|
|
|
098c00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Aug 20 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.9.17-3
|
|
|
098c00 |
- Dropping the workaround dropped even the doxygen command itself..
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Aug 20 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.9.17-2
|
|
|
098c00 |
- Drop the workaround for building man pages, it has already been
|
|
|
098c00 |
included upstream
|
|
|
098c00 |
|
|
|
098c00 |
* Mon Aug 20 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.9.17-1
|
|
|
098c00 |
- New upstream release 0.9.17
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Aug 03 2012 Jakub Hrozek <jhrozek@redhat.com> - 0.9.16-3
|
|
|
098c00 |
- Own the individual manual pages, not the top-level directory
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.16-2
|
|
|
098c00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Jun 20 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.16-1
|
|
|
098c00 |
- New upstream release 0.9.16
|
|
|
098c00 |
- Adds tevent_*_trace_*() and tevent_context_init_ops()
|
|
|
098c00 |
- Move tevent.py to the arch-specific directory
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Feb 10 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.9.15-1
|
|
|
098c00 |
- New upstream release 0.9.15
|
|
|
098c00 |
- Properly re-sets the nested.level flag in the ev.ctx when reinitializing
|
|
|
098c00 |
after a fork()
|
|
|
098c00 |
- Allow tevent_signal events to be freed during their handler
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.14-6
|
|
|
098c00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Dec 06 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-4
|
|
|
098c00 |
- Include missing patch file
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Dec 06 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-4
|
|
|
098c00 |
- Build pytevent properly
|
|
|
098c00 |
|
|
|
098c00 |
* Thu Dec 01 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-3
|
|
|
098c00 |
- Add patch to ignore --disable-silent-rules
|
|
|
098c00 |
- Include API documentation
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Nov 23 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-2
|
|
|
098c00 |
- Add explicit mention of the bundled libreplace
|
|
|
098c00 |
- https://fedorahosted.org/fpc/ticket/120
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Nov 09 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.14-1
|
|
|
098c00 |
- New upstream release
|
|
|
098c00 |
- Required for building more recent versions of samba4
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Aug 2 2011 Simo Sorce <ssorce@redhat.com> - 0.9.13-1
|
|
|
098c00 |
- New upstream release
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Mar 15 2011 Simo Sorce <ssorce@redhat.com> - 0.9.11-1
|
|
|
098c00 |
- New upstream release
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.10-4
|
|
|
098c00 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
098c00 |
|
|
|
098c00 |
* Tue Jan 18 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.10-3
|
|
|
098c00 |
- Add missing Buildrequires for pytalloc-devel
|
|
|
098c00 |
|
|
|
098c00 |
* Fri Jan 14 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.10-2
|
|
|
098c00 |
- Let rpmbuild strip binaries, make build more verbose.
|
|
|
098c00 |
- Original patch by Ville Skyttä <ville.skytta@iki.fi>
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Jan 12 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.9.10-1
|
|
|
098c00 |
- New upstream release
|
|
|
098c00 |
- Convert to new WAF build-system
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7.1
|
|
|
098c00 |
- Bump revision to chain-build libtevent, samba4 and sssd
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Feb 24 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.9.8-7
|
|
|
098c00 |
- Drop ABI compatibility patch (no longer needed)
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Sep 23 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-5
|
|
|
098c00 |
- Add patch to fix a segfault case
|
|
|
098c00 |
|
|
|
098c00 |
* Wed Sep 16 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-2
|
|
|
098c00 |
- Fix abi compatibility with 0.9.3
|
|
|
098c00 |
|
|
|
098c00 |
* Sat Sep 8 2009 Simo Sorce <ssorce@redhat.com> - 0.9.8-1
|
|
|
098c00 |
- First independent release for tevent 0.9.8
|