Blame SPECS/libevent.spec

82ae42
Name:           libevent
82ae42
Version:        2.0.21
d261aa
Release:        4%{?dist}
82ae42
Summary:        Abstract asynchronous event notification library
82ae42
82ae42
Group:          System Environment/Libraries
82ae42
License:        BSD
82ae42
URL:            http://sourceforge.net/projects/levent/        
82ae42
Source0:        http://downloads.sourceforge.net/levent/%{name}-%{version}-stable.tar.gz
82ae42
82ae42
BuildRequires: doxygen openssl-devel
82ae42
82ae42
Patch00: libevent-2.0.10-stable-configure.patch
82ae42
# Disable network tests
82ae42
Patch01: libevent-nonettests.patch
82ae42
82ae42
%description
82ae42
The libevent API provides a mechanism to execute a callback function
82ae42
when a specific event occurs on a file descriptor or after a timeout
82ae42
has been reached. libevent is meant to replace the asynchronous event
82ae42
loop found in event driven network servers. An application just needs
82ae42
to call event_dispatch() and can then add or remove events dynamically
82ae42
without having to change the event loop.
82ae42
82ae42
%package devel
82ae42
Summary: Header files, libraries and development documentation for %{name}
82ae42
Group: Development/Libraries
82ae42
Requires: %{name} = %{version}-%{release}
82ae42
82ae42
%description devel
82ae42
This package contains the header files, static libraries and development
82ae42
documentation for %{name}. If you like to develop programs using %{name},
82ae42
you will need to install %{name}-devel.
82ae42
82ae42
%package doc
82ae42
Summary: Development documentation for %{name}
82ae42
Group: Development/Libraries
82ae42
Requires: %{name}-devel = %{version}-%{release}
82ae42
BuildArch: noarch
82ae42
82ae42
%description doc
82ae42
This package contains the development documentation for %{name}.
82ae42
If you like to develop programs using %{name}-devel, you will
82ae42
need to install %{name}-doc.
82ae42
82ae42
%prep
82ae42
%setup -q -n libevent-%{version}-stable
82ae42
82ae42
# 477685 -  libevent-devel multilib conflict
82ae42
%patch00 -p1
82ae42
%patch01 -p1 -b .nonettests
82ae42
82ae42
%build
82ae42
%configure \
82ae42
    --disable-dependency-tracking --disable-static
82ae42
make %{?_smp_mflags} all
82ae42
82ae42
# Create the docs
82ae42
make doxygen
82ae42
82ae42
%install
82ae42
rm -rf $RPM_BUILD_ROOT
82ae42
make DESTDIR=$RPM_BUILD_ROOT install
82ae42
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
82ae42
82ae42
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/html
82ae42
(cd doxygen/html; \
82ae42
	install -p -m 644 *.* $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/html)
82ae42
82ae42
mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample
82ae42
(cd sample; \
82ae42
	install -p -m 644 *.c Makefile* $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample)
82ae42
82ae42
%clean
82ae42
rm -rf $RPM_BUILD_ROOT
82ae42
82ae42
%check
82ae42
make check
82ae42
82ae42
%post -p /sbin/ldconfig
82ae42
82ae42
%postun -p /sbin/ldconfig
82ae42
82ae42
%files
82ae42
%defattr(-,root,root,-)
82ae42
%doc ChangeLog LICENSE README
82ae42
%{_libdir}/libevent-*.so.*
82ae42
%{_libdir}/libevent_core-*.so.*
82ae42
%{_libdir}/libevent_extra-*.so.*
82ae42
%{_libdir}/libevent_openssl-*.so.*
82ae42
%{_libdir}/libevent_pthreads-*.so.*
82ae42
82ae42
%files devel
82ae42
%defattr(-,root,root,-)
82ae42
%{_includedir}/event.h
82ae42
%{_includedir}/evdns.h
82ae42
%{_includedir}/evhttp.h
82ae42
%{_includedir}/evrpc.h
82ae42
%{_includedir}/evutil.h
82ae42
%{_includedir}/event2/*.h
82ae42
%{_libdir}/libevent.so
82ae42
%{_libdir}/libevent_core.so
82ae42
%{_libdir}/libevent_extra.so
82ae42
%{_libdir}/libevent_openssl.so
82ae42
%{_libdir}/libevent_pthreads.so
82ae42
%{_libdir}/pkgconfig/libevent.pc
82ae42
%{_libdir}/pkgconfig/libevent_openssl.pc
82ae42
%{_libdir}/pkgconfig/libevent_pthreads.pc
82ae42
%{_bindir}/event_rpcgen.*
82ae42
82ae42
%files doc
82ae42
%defattr(-,root,root,-)
82ae42
%{_docdir}/%{name}-devel-%{version}/html/*
82ae42
%{_docdir}/%{name}-devel-%{version}/sample/*
82ae42
82ae42
%changelog
d261aa
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.0.21-4
d261aa
- Mass rebuild 2014-01-24
d261aa
d261aa
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.0.21-3
d261aa
- Mass rebuild 2013-12-27
d261aa
82ae42
* Wed Aug 21 2013 Steve Dickson <steved@redhat.com> 2.0.21-2
82ae42
- Removed rpmlint warnings
82ae42
82ae42
* Thu May  2 2013 Orion Poplawski <orion@cora.nwra.com> - 2.0.21-1
82ae42
- Update to 2.0.21
82ae42
- Add %%check
82ae42
82ae42
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-3
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
82ae42
82ae42
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-2
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
82ae42
82ae42
* Wed Apr  4 2012 Steve Dickson <steved@redhat.com> 2.0.18-1
82ae42
- Updated to latest stable upstream version: 2.0.18-stable
82ae42
- Moved documentation into its own rpm (bz 810138)
82ae42
82ae42
* Mon Mar 12 2012 Steve Dickson <steved@redhat.com> 2.0.17-1
82ae42
- Updated to latest stable upstream version: 2.0.17-stable
82ae42
82ae42
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.14-2
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
82ae42
82ae42
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.14-1
82ae42
- Updated to latest stable upstream version: 2.0.14-stable (bz 727129)
82ae42
- Removed the installion of the outdate man pages and the latex raw docs.
82ae42
- Corrected where the other doc are installed.
82ae42
82ae42
* Wed Aug 10 2011 Steve Dickson <steved@redhat.com> 2.0.13-1
82ae42
- Updated to latest stable upstream version: 2.0.13-stable (bz 727129)
82ae42
82ae42
* Tue Aug  2 2011 Steve Dickson <steved@redhat.com> 2.0.12-1
82ae42
- Updated to latest stable upstream version: 2.0.12-stable
82ae42
82ae42
* Wed Feb 09 2011 Rahul Sundaram <sundaram@fedoraproject.org> - 2.0.10-2
82ae42
- Fix build
82ae42
- Update spec to match current guidelines
82ae42
- drop no longer needed patch
82ae42
82ae42
* Tue Feb  8 2011 Steve Dickson <steved@redhat.com> 2.0.10-1
82ae42
- Updated to latest stable upstream version: 2.0.10-stable
82ae42
82ae42
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.14b-2
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82ae42
82ae42
* Tue Jun 22 2010 Steve Dickson <steved@redhat.com> 1.4.14b-1
82ae42
- Updated to latest stable upstream version: 1.4.14b
82ae42
82ae42
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> 1.4.13-2
82ae42
- disable static libs (bz 556067)
82ae42
82ae42
* Tue Dec 15 2009 Steve Dickson <steved@redhat.com> 1.4.13-1
82ae42
- Updated to latest stable upstream version: 1.4.13
82ae42
82ae42
* Tue Aug 18 2009 Steve Dickson <steved@redhat.com> 1.4.12-1
82ae42
- Updated to latest stable upstream version: 1.4.12
82ae42
- API documentation is now installed (bz 487977)
82ae42
- libevent-devel multilib conflict (bz 477685)
82ae42
- epoll backend allocates too much memory (bz 517918)
82ae42
82ae42
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.10-2
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
82ae42
82ae42
* Mon Apr 20 2009 Steve Dickson <steved@redhat.com> 1.4.10-1
82ae42
- Updated to latest stable upstream version: 1.4.10
82ae42
82ae42
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
82ae42
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
82ae42
82ae42
* Tue Jul  1 2008 Steve Dickson <steved@redhat.com> 1.4.5-1
82ae42
- Updated to latest stable upstream version 1.4.5-stable
82ae42
82ae42
* Mon Jun  2 2008 Steve Dickson <steved@redhat.com> 1.4.4-1
82ae42
- Updated to latest stable upstream version 1.4.4-stable
82ae42
82ae42
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.3e-2
82ae42
- Autorebuild for GCC 4.3
82ae42
82ae42
* Tue Jan 22 2008 Steve Dickson <steved@redhat.com> 1.3e-1
82ae42
- Updated to latest stable upstream version 1.3e
82ae42
82ae42
* Fri Mar  9 2007 Steve Dickson <steved@redhat.com> 1.3b-1
82ae42
- Updated to latest upstream version 1.3b
82ae42
- Incorporated Merge Review comments (bz 226002)
82ae42
- Increased the polling timeout (bz 204990)
82ae42
82ae42
* Tue Feb 20 2007 Steve Dickson <steved@redhat.com> 1.2a-1
82ae42
- Updated to latest upstream version 1.2a
82ae42
82ae42
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> 
82ae42
- rebuild
82ae42
82ae42
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.2
82ae42
- bump again for double-long bug on ppc(64)
82ae42
82ae42
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.1a-3.1
82ae42
- rebuilt for new gcc4.1 snapshot and glibc changes
82ae42
82ae42
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> - 1.1a-3
82ae42
- rebuild (#177697)
82ae42
82ae42
* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2
82ae42
- Removed unnecessary -r from rm
82ae42
82ae42
* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1
82ae42
- Upstream update
82ae42
82ae42
* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2
82ae42
- Added some docs
82ae42
- Moved "make verify" into %%check
82ae42
82ae42
* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1
82ae42
- Initial build for Fedora Extras, based on the package
82ae42
  by Dag Wieers