71 lines
1.7 KiB
RPMSpec
71 lines
1.7 KiB
RPMSpec
#
|
|
# spec file for package libevent (Version 1.2)
|
|
#
|
|
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: libevent
|
|
URL: http://monkey.org/~provos/libevent/
|
|
Summary: Library Providing an Event Handling API
|
|
Version: 1.2
|
|
Release: 2
|
|
Group: Development/Libraries/C and C++
|
|
License: BSD License and BSD-like
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %fillup_prereq %insserv_prereq
|
|
Autoreqprov: on
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Source: http://monkey.org/~provos/libevent-%{version}.tar.gz
|
|
|
|
%description
|
|
The libevent library provides a mechanism to execute a function when a
|
|
specific event on a file descriptor occurs or after a given time has
|
|
passed.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Nils Provos <provos@citi.umich.edu>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%{?suse_update_config:%{suse_update_config -f }}
|
|
autoconf
|
|
CFLAGS="$RPM_OPT_FLAGS" ./configure \
|
|
--prefix=/usr \
|
|
--libdir=%{_libdir} \
|
|
--mandir=%{_mandir}
|
|
make
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*
|
|
%{_bindir}/event_rpcgen.py
|
|
%{_includedir}/*.h
|
|
%{_mandir}/man?/*
|
|
|
|
%changelog -n libevent
|
|
* Sun Nov 12 2006 - lmuelle@suse.de
|
|
- Update to version 1.2.
|
|
+ Support for non-blocking DNS resolution.
|
|
+ Support for lightweight HTTP clients and servers.
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Mon May 30 2005 - okir@suse.de
|
|
- Initial packaging
|