Blame SPECS/libtevent.spec

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