auto-import libevent-1.1a-2 on branch devel from libevent-1.1a-2.src.rpm
This commit is contained in:
parent
d44a5bb0f9
commit
56958f5df7
@ -0,0 +1 @@
|
||||
libevent-1.1a.tar.gz
|
||||
87
libevent.spec
Normal file
87
libevent.spec
Normal file
@ -0,0 +1,87 @@
|
||||
Name: libevent
|
||||
Version: 1.1a
|
||||
Release: 2%{?dist}
|
||||
Summary: Abstract asynchronous event notification library
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://monkey.org/~provos/libevent/
|
||||
Source0: http://monkey.org/~provos/libevent-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
|
||||
%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.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--disable-dependency-tracking
|
||||
make %{?_smp_mflags}
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
|
||||
%check
|
||||
make verify
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,0755)
|
||||
%doc README
|
||||
%{_libdir}/libevent-%{version}.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,0755)
|
||||
%doc sample/*.c
|
||||
%{_includedir}/event.h
|
||||
%{_libdir}/libevent.so
|
||||
%{_libdir}/libevent.a
|
||||
%{_mandir}/man3/*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Jul 04 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-2%{?dist}
|
||||
- Removed unnecessary -r from rm
|
||||
|
||||
* Fri Jun 17 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1a-1%{?dist}
|
||||
- Upstream update
|
||||
|
||||
* Wed Jun 08 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-2%{?dist}
|
||||
- Added some docs
|
||||
- Moved "make verify" into %%check
|
||||
|
||||
* Mon Jun 06 2005 Ralf Ertzinger <ralf@skytale.net> - 1.1-1%{?dist}
|
||||
- Initial build for Fedora Extras, based on the package
|
||||
by Dag Wieers
|
||||
Loading…
Reference in New Issue
Block a user