From 7ec7d2635ef63d73e34b603b1920278af38e21f4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 25 Jul 2013 14:36:03 +0200 Subject: libevent rename to libevent-last for remi repo --- Makefile | 4 + libevent-last.spec | 205 ++++++++++++++++++++++++++++++++++++++++++++++++++ libevent.spec | 215 ----------------------------------------------------- 3 files changed, 209 insertions(+), 215 deletions(-) create mode 100644 Makefile create mode 100644 libevent-last.spec delete mode 100644 libevent.spec diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..1e65467 --- /dev/null +++ b/Makefile @@ -0,0 +1,4 @@ +SRCDIR := $(shell pwd) +NAME := $(shell basename $(SRCDIR)) +include ../common/Makefile + diff --git a/libevent-last.spec b/libevent-last.spec new file mode 100644 index 0000000..95dc29e --- /dev/null +++ b/libevent-last.spec @@ -0,0 +1,205 @@ +%global libname libevent + +Name: libevent-last +Version: 2.0.18 +Release: 1%{?dist} +Summary: Abstract asynchronous event notification library + +Group: System Environment/Libraries +License: BSD +URL: http://sourceforge.net/projects/levent/ +Source0: http://downloads.sourceforge.net/levent/%{libname}-%{version}-stable.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: openssl-devel + +Patch00: libevent-2.0.10-stable-configure.patch + + +%description +The libevent API provides a mechanism to execute a callback function +when a specific event occurs on a file descriptor or after a timeout +has been reached. libevent is meant to replace the asynchronous event +loop found in event driven network servers. An application just needs +to call event_dispatch() and can then add or remove events dynamically +without having to change the event loop. + + +%package devel +Summary: Header files, libraries and development documentation for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} +Conflicts: %{libname}-devel < %{version} +Provides: %{libname}-devel = %{version} + +%description devel +This package contains the header files, static libraries and development +documentation for %{name}. If you like to develop programs using %{name}, +you will need to install %{name}-devel. + + +%prep +%setup -q -n libevent-%{version}-stable + +# 477685 - libevent-devel multilib conflict +%patch00 -p1 + + +%build +%configure \ + --disable-dependency-tracking --disable-static +make %{?_smp_mflags} all + + +%install +rm -rf $RPM_BUILD_ROOT +make DESTDIR=$RPM_BUILD_ROOT install +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,0755) +%doc README +%{_libdir}/libevent-*.so.* +%{_libdir}/libevent_core-*.so.* +%{_libdir}/libevent_extra-*.so.* +%{_libdir}/libevent_openssl-*.so.* +%{_libdir}/libevent_pthreads-*.so.* + +%files devel +%defattr(-,root,root,0755) +%{_includedir}/event.h +%{_includedir}/evdns.h +%{_includedir}/evhttp.h +%{_includedir}/evrpc.h +%{_includedir}/evutil.h +%{_includedir}/event2/*.h +%{_libdir}/libevent.so +%{_libdir}/libevent_core.so +%{_libdir}/libevent_extra.so +%{_libdir}/libevent_openssl.so +%{_libdir}/libevent_pthreads.so +%{_libdir}/pkgconfig/libevent.pc +%{_libdir}/pkgconfig/libevent_openssl.pc +%{_libdir}/pkgconfig/libevent_pthreads.pc + +%{_bindir}/event_rpcgen.* + + +%changelog +* Thu Jul 25 2013 Remi Collet - 2.0.18-3 +- rename to libevent-last +- drop -doc sub-package + +* Thu Feb 14 2013 Fedora Release Engineering - 2.0.18-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 2.0.18-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Apr 4 2012 Steve Dickson 2.0.18-1 +- Updated to latest stable upstream version: 2.0.18-stable +- Moved documentation into its own rpm (bz 810138) + +* Mon Mar 12 2012 Steve Dickson 2.0.17-1 +- Updated to latest stable upstream version: 2.0.17-stable + +* Fri Jan 13 2012 Fedora Release Engineering - 2.0.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Aug 10 2011 Steve Dickson 2.0.14-1 +- Updated to latest stable upstream version: 2.0.14-stable (bz 727129) +- Removed the installion of the outdate man pages and the latex raw docs. +- Corrected where the other doc are installed. + +* Wed Aug 10 2011 Steve Dickson 2.0.13-1 +- Updated to latest stable upstream version: 2.0.13-stable (bz 727129) + +* Tue Aug 2 2011 Steve Dickson 2.0.12-1 +- Updated to latest stable upstream version: 2.0.12-stable + +* Wed Feb 09 2011 Rahul Sundaram - 2.0.10-2 +- Fix build +- Update spec to match current guidelines +- drop no longer needed patch + +* Tue Feb 8 2011 Steve Dickson 2.0.10-1 +- Updated to latest stable upstream version: 2.0.10-stable + +* Mon Feb 07 2011 Fedora Release Engineering - 1.4.14b-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Jun 22 2010 Steve Dickson 1.4.14b-1 +- Updated to latest stable upstream version: 1.4.14b + +* Fri May 21 2010 Tom "spot" Callaway 1.4.13-2 +- disable static libs (bz 556067) + +* Tue Dec 15 2009 Steve Dickson 1.4.13-1 +- Updated to latest stable upstream version: 1.4.13 + +* Tue Aug 18 2009 Steve Dickson 1.4.12-1 +- Updated to latest stable upstream version: 1.4.12 +- API documentation is now installed (bz 487977) +- libevent-devel multilib conflict (bz 477685) +- epoll backend allocates too much memory (bz 517918) + +* Fri Jul 24 2009 Fedora Release Engineering - 1.4.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Apr 20 2009 Steve Dickson 1.4.10-1 +- Updated to latest stable upstream version: 1.4.10 + +* Wed Feb 25 2009 Fedora Release Engineering - 1.4.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Tue Jul 1 2008 Steve Dickson 1.4.5-1 +- Updated to latest stable upstream version 1.4.5-stable + +* Mon Jun 2 2008 Steve Dickson 1.4.4-1 +- Updated to latest stable upstream version 1.4.4-stable + +* Tue Feb 19 2008 Fedora Release Engineering - 1.3e-2 +- Autorebuild for GCC 4.3 + +* Tue Jan 22 2008 Steve Dickson 1.3e-1 +- Updated to latest stable upstream version 1.3e + +* Fri Mar 9 2007 Steve Dickson 1.3b-1 +- Updated to latest upstream version 1.3b +- Incorporated Merge Review comments (bz 226002) +- Increased the polling timeout (bz 204990) + +* Tue Feb 20 2007 Steve Dickson 1.2a-1 +- Updated to latest upstream version 1.2a + +* Wed Jul 12 2006 Jesse Keating +- rebuild + +* Fri Feb 10 2006 Jesse Keating - 1.1a-3.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 1.1a-3.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Tue Jan 24 2006 Warren Togami - 1.1a-3 +- rebuild (#177697) + +* Mon Jul 04 2005 Ralf Ertzinger - 1.1a-2 +- Removed unnecessary -r from rm + +* Fri Jun 17 2005 Ralf Ertzinger - 1.1a-1 +- Upstream update + +* Wed Jun 08 2005 Ralf Ertzinger - 1.1-2 +- Added some docs +- Moved "make verify" into %%check + +* Mon Jun 06 2005 Ralf Ertzinger - 1.1-1 +- Initial build for Fedora Extras, based on the package + by Dag Wieers diff --git a/libevent.spec b/libevent.spec deleted file mode 100644 index fc457e8..0000000 --- a/libevent.spec +++ /dev/null @@ -1,215 +0,0 @@ -Name: libevent -Version: 2.0.18 -Release: 3%{?dist} -Summary: Abstract asynchronous event notification library - -Group: System Environment/Libraries -License: BSD -URL: http://sourceforge.net/projects/levent/ -Source0: http://downloads.sourceforge.net/levent/%{name}-%{version}-stable.tar.gz - -BuildRequires: doxygen openssl-devel - -Patch00: libevent-2.0.10-stable-configure.patch - -%description -The libevent API provides a mechanism to execute a callback function -when a specific event occurs on a file descriptor or after a timeout -has been reached. libevent is meant to replace the asynchronous event -loop found in event driven network servers. An application just needs -to call event_dispatch() and can then add or remove events dynamically -without having to change the event loop. - -%package devel -Summary: Header files, libraries and development documentation for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} - -%description devel -This package contains the header files, static libraries and development -documentation for %{name}. If you like to develop programs using %{name}, -you will need to install %{name}-devel. - -%package doc -Summary: Development documentation for %{name} -Group: Development/Libraries -Requires: %{name}-devel = %{version}-%{release} -BuildArch: noarch - -%description doc -This package contains the development documentation for %{name}. -If you like to develop programs using %{name}-devel, you will -need to install %{name}-doc. - -%prep -%setup -q -n libevent-%{version}-stable - -# 477685 - libevent-devel multilib conflict -%patch00 -p1 - -%build -%configure \ - --disable-dependency-tracking --disable-static -make %{?_smp_mflags} all - -# Create the docs -make doxygen - -%install -rm -rf $RPM_BUILD_ROOT -make DESTDIR=$RPM_BUILD_ROOT install -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la - -mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/html -(cd doxygen/html; \ - install -p -m 644 *.* $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/html) - -mkdir -p $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample -(cd sample; \ - install -p -m 644 *.c Makefile* $RPM_BUILD_ROOT/%{_docdir}/%{name}-devel-%{version}/sample) - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root,0755) -%doc README -%{_libdir}/libevent-*.so.* -%{_libdir}/libevent_core-*.so.* -%{_libdir}/libevent_extra-*.so.* -%{_libdir}/libevent_openssl-*.so.* -%{_libdir}/libevent_pthreads-*.so.* - -%files devel -%defattr(-,root,root,0755) -%{_includedir}/event.h -%{_includedir}/evdns.h -%{_includedir}/evhttp.h -%{_includedir}/evrpc.h -%{_includedir}/evutil.h -%{_includedir}/event2/*.h -%{_libdir}/libevent.so -%{_libdir}/libevent_core.so -%{_libdir}/libevent_extra.so -%{_libdir}/libevent_openssl.so -%{_libdir}/libevent_pthreads.so -%{_libdir}/pkgconfig/libevent.pc -%{_libdir}/pkgconfig/libevent_openssl.pc -%{_libdir}/pkgconfig/libevent_pthreads.pc - -%{_bindir}/event_rpcgen.* - -%files doc -%defattr(-,root,root,0644) -%{_docdir}/%{name}-devel-%{version}/html/* -%{_docdir}/%{name}-devel-%{version}/sample/* - -%changelog -* Thu Feb 14 2013 Fedora Release Engineering - 2.0.18-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 2.0.18-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Wed Apr 4 2012 Steve Dickson 2.0.18-1 -- Updated to latest stable upstream version: 2.0.18-stable -- Moved documentation into its own rpm (bz 810138) - -* Mon Mar 12 2012 Steve Dickson 2.0.17-1 -- Updated to latest stable upstream version: 2.0.17-stable - -* Fri Jan 13 2012 Fedora Release Engineering - 2.0.14-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Wed Aug 10 2011 Steve Dickson 2.0.14-1 -- Updated to latest stable upstream version: 2.0.14-stable (bz 727129) -- Removed the installion of the outdate man pages and the latex raw docs. -- Corrected where the other doc are installed. - -* Wed Aug 10 2011 Steve Dickson 2.0.13-1 -- Updated to latest stable upstream version: 2.0.13-stable (bz 727129) - -* Tue Aug 2 2011 Steve Dickson 2.0.12-1 -- Updated to latest stable upstream version: 2.0.12-stable - -* Wed Feb 09 2011 Rahul Sundaram - 2.0.10-2 -- Fix build -- Update spec to match current guidelines -- drop no longer needed patch - -* Tue Feb 8 2011 Steve Dickson 2.0.10-1 -- Updated to latest stable upstream version: 2.0.10-stable - -* Mon Feb 07 2011 Fedora Release Engineering - 1.4.14b-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jun 22 2010 Steve Dickson 1.4.14b-1 -- Updated to latest stable upstream version: 1.4.14b - -* Fri May 21 2010 Tom "spot" Callaway 1.4.13-2 -- disable static libs (bz 556067) - -* Tue Dec 15 2009 Steve Dickson 1.4.13-1 -- Updated to latest stable upstream version: 1.4.13 - -* Tue Aug 18 2009 Steve Dickson 1.4.12-1 -- Updated to latest stable upstream version: 1.4.12 -- API documentation is now installed (bz 487977) -- libevent-devel multilib conflict (bz 477685) -- epoll backend allocates too much memory (bz 517918) - -* Fri Jul 24 2009 Fedora Release Engineering - 1.4.10-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Mon Apr 20 2009 Steve Dickson 1.4.10-1 -- Updated to latest stable upstream version: 1.4.10 - -* Wed Feb 25 2009 Fedora Release Engineering - 1.4.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Tue Jul 1 2008 Steve Dickson 1.4.5-1 -- Updated to latest stable upstream version 1.4.5-stable - -* Mon Jun 2 2008 Steve Dickson 1.4.4-1 -- Updated to latest stable upstream version 1.4.4-stable - -* Tue Feb 19 2008 Fedora Release Engineering - 1.3e-2 -- Autorebuild for GCC 4.3 - -* Tue Jan 22 2008 Steve Dickson 1.3e-1 -- Updated to latest stable upstream version 1.3e - -* Fri Mar 9 2007 Steve Dickson 1.3b-1 -- Updated to latest upstream version 1.3b -- Incorporated Merge Review comments (bz 226002) -- Increased the polling timeout (bz 204990) - -* Tue Feb 20 2007 Steve Dickson 1.2a-1 -- Updated to latest upstream version 1.2a - -* Wed Jul 12 2006 Jesse Keating -- rebuild - -* Fri Feb 10 2006 Jesse Keating - 1.1a-3.2 -- bump again for double-long bug on ppc(64) - -* Tue Feb 07 2006 Jesse Keating - 1.1a-3.1 -- rebuilt for new gcc4.1 snapshot and glibc changes - -* Tue Jan 24 2006 Warren Togami - 1.1a-3 -- rebuild (#177697) - -* Mon Jul 04 2005 Ralf Ertzinger - 1.1a-2 -- Removed unnecessary -r from rm - -* Fri Jun 17 2005 Ralf Ertzinger - 1.1a-1 -- Upstream update - -* Wed Jun 08 2005 Ralf Ertzinger - 1.1-2 -- Added some docs -- Moved "make verify" into %%check - -* Mon Jun 06 2005 Ralf Ertzinger - 1.1-1 -- Initial build for Fedora Extras, based on the package - by Dag Wieers -- cgit