- Rename package to tevent and add an independent libtevent0 subpackage.
- Enhance and polish the package descriptions and summaries. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tevent?expand=0&rev=8
This commit is contained in:
parent
dad2fb6535
commit
bc37eb6120
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 15:46:14 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Rename package to tevent and add an independent libtevent0 subpackage.
|
||||
- Enhance and polish the package descriptions and summaries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 00:04:43 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
53
tevent.spec
53
tevent.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libtevent0 (Version 0.9.15)
|
||||
# spec file for package tevent (Version 0.9.15)
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -22,7 +22,8 @@
|
||||
|
||||
%define talloc_version 2.0.7
|
||||
|
||||
Name: libtevent0
|
||||
|
||||
Name: tevent
|
||||
BuildRequires: doxygen
|
||||
#!BuildIgnore: libtalloc
|
||||
BuildRequires: libtalloc-devel >= %{talloc_version}
|
||||
@ -43,18 +44,36 @@ Group: System/Libraries
|
||||
Url: http://tevent.samba.org/
|
||||
Version: 0.9.15
|
||||
Release: 0
|
||||
PreReq: /sbin/ldconfig
|
||||
Summary: Samba tevent Library
|
||||
Summary: An event system based on the talloc memory management library
|
||||
Source: http://download.samba.org/pub/tevent/tevent-%{version}.tar.gz
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Tevent is an event system based on the talloc memory management library.
|
||||
Tevent has support for many event types, including timers, signals, and
|
||||
the classic file descriptor events.
|
||||
Tevent is an event system based on the talloc memory management library. It
|
||||
is the core event system used in Samba.
|
||||
|
||||
The low level tevent has support for many event types, including timers,
|
||||
signals, and the classic file descriptor events.
|
||||
|
||||
Tevent also provide helpers to deal with asynchronous code providing the
|
||||
tevent_req (Tevent Request) functions.
|
||||
tevent_req (tevent request) functions.
|
||||
|
||||
|
||||
%package -n libtevent0
|
||||
License: LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
PreReq: /sbin/ldconfig
|
||||
Summary: Samba tevent Library
|
||||
|
||||
%description -n libtevent0
|
||||
Tevent is an event system based on the talloc memory management library. It
|
||||
is the core event system used in Samba.
|
||||
|
||||
The low level tevent has support for many event types, including timers,
|
||||
signals, and the classic file descriptor events.
|
||||
|
||||
This package contains the tevent0 library.
|
||||
|
||||
|
||||
%package -n libtevent-devel
|
||||
@ -70,8 +89,8 @@ Requires: pkgconfig
|
||||
%endif
|
||||
|
||||
%description -n libtevent-devel
|
||||
Tevent is an event system based on the talloc memory management library. It is
|
||||
the core event system used in Samba.
|
||||
Tevent is an event system based on the talloc memory management library. It
|
||||
is the core event system used in Samba.
|
||||
|
||||
The low level tevent has support for many event types, including timers,
|
||||
signals, and the classic file descriptor events.
|
||||
@ -79,15 +98,17 @@ signals, and the classic file descriptor events.
|
||||
Tevent also provide helpers to deal with asynchronous code providing the
|
||||
tevent_req (tevent request) functions.
|
||||
|
||||
This package contains libraries and header files need for development.
|
||||
|
||||
|
||||
%package -n python-tevent
|
||||
License: LGPL-3.0+
|
||||
Summary: Python bindings for the Tevent library
|
||||
Group: Development/Libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: libtevent0 = %{version}
|
||||
|
||||
%description -n python-tevent
|
||||
Python bindings for libtevent
|
||||
This package contains the python bindings for the Tevent library.
|
||||
|
||||
%prep
|
||||
%setup -n tevent-%{version} -q
|
||||
@ -119,15 +140,15 @@ DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
# include them in debuginfo
|
||||
find ${RPM_BUILD_ROOT} -name "*.so*" -exec chmod -c +x {} \;
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libtevent0 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libtevent0 -p /sbin/ldconfig
|
||||
|
||||
%post -n python-tevent -p /sbin/ldconfig
|
||||
|
||||
%postun -n python-tevent -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libtevent0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtevent.so.*
|
||||
|
||||
@ -139,7 +160,7 @@ find ${RPM_BUILD_ROOT} -name "*.so*" -exec chmod -c +x {} \;
|
||||
|
||||
%files -n python-tevent
|
||||
%defattr(-,root,root)
|
||||
%{python_sitelib}/tevent.py*
|
||||
%attr(0755,root,root) %{python_sitelib}/tevent.py*
|
||||
%{python_sitearch}/_tevent.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user