OBS User unknown 2008-09-23 22:19:19 +00:00 committed by Git OBS Bridge
parent f77cbd6ea9
commit 81711d65b9
3 changed files with 81 additions and 14 deletions

View File

@ -1,4 +0,0 @@
#in the meanwhile..
addFilter("devel-file-in-non-devel-package")
# libevent does not have proper SONAME in place..
addFilter("shlib-policy-name-error")

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 16 17:54:14 CEST 2008 - mrueckert@suse.de
- split out devel and shared library package.
- drop static libs
-------------------------------------------------------------------
Thu Jul 3 11:57:22 CEST 2008 - meissner@suse.de

View File

@ -2,9 +2,16 @@
# spec file for package libevent (Version 1.4.5)
#
# Copyright (c) 2008 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.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -15,14 +22,13 @@ Name: libevent
Url: http://monkey.org/~provos/libevent/
Summary: Library Providing an Event Handling API
Version: 1.4.5
Release: 1
Release: 24
Group: Development/Libraries/C and C++
License: BSD 3-Clause
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %fillup_prereq %insserv_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source: http://monkey.org/~provos/libevent-%{version}-stable.tar.bz2
Source1: libevent-1.3e-rpmlintrc
%description
The libevent library provides a mechanism to execute a function when a
@ -31,6 +37,53 @@ passed.
Authors:
--------
Nils Provos <provos@citi.umich.edu>
%define library_name libevent-1_4-2
%define debug_package_requires %{library_name} = %{version}-%{release}
%package -n libevent-1_4-2
License: BSD 3-Clause
Group: Development/Libraries/C and C++
Provides: %{name} = %{version}-%{release}
Obsoletes: %{name} <= %{version}
#
Summary: Shared libraries from libevent
%description -n libevent-1_4-2
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.
This package holds the shared libraries for libevent.
Authors:
--------
Nils Provos <provos@citi.umich.edu>
%package devel
License: BSD 3-Clause
Group: Development/Libraries/C and C++
Requires: %{library_name} = %{version}
Provides: %{name}:/usr/include/event.h
# both have /usr/include/event.h
Conflicts: libev-devel
#
Summary: Development files for libevent
%description devel
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.
This package holds the development files for libevent.
Authors:
--------
Nils Provos <provos@citi.umich.edu>
@ -40,27 +93,39 @@ Authors:
%build
autoreconf -i -f
%configure
%configure --disable-static
make
%install
make DESTDIR=$RPM_BUILD_ROOT install
%{__rm} -v %{buildroot}%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%post -n %{library_name} -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n %{library_name} -p /sbin/ldconfig
%files
%files -n %{library_name}
%defattr(-,root,root,-)
%{_libdir}/libevent-1.4.so.2*
%{_libdir}/libevent_core-1.4.so.2*
%{_libdir}/libevent_extra-1.4.so.2*
%files devel
%defattr(-,root,root)
%{_libdir}/lib*
%{_bindir}/event_rpcgen.py
%{_includedir}/*.h
%{_mandir}/man?/*
%{_mandir}/man3/*
%{_libdir}/libevent.so
%{_libdir}/libevent_core.so
%{_libdir}/libevent_extra.so
%changelog
* Tue Sep 16 2008 mrueckert@suse.de
- split out devel and shared library package.
- drop static libs
* Thu Jul 03 2008 meissner@suse.de
- upgraded to version 1.4.5-stable:
o Fix connection keep-alive behavior for HTTP/1.0