package created using the webbuild interface [release 0.9.22-1mamba;Mon Dec 08 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 18:27:10 +01:00
parent 654b346b2c
commit fe90a173f3
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,6 @@
# tevent
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.

81
tevent.spec Normal file
View File

@ -0,0 +1,81 @@
Name: tevent
Epoch: 1
Version: 0.9.22
Release: 1mamba
Summary: An event system based on the talloc memory management library.
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://tevent.samba.org/
Source: http://www.samba.org/ftp/tevent/tevent-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libattr-devel
BuildRequires: libbsd-devel
BuildRequires: libpython-devel
BuildRequires: libtalloc-devel
## AUTOBUILDREQ-END
BuildRequires: pytalloc-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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.
%package -n lib%{name}
Group: System/Libraries
Summary: An event system based on the talloc memory management library.
%description -n lib%{name}
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.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libtevent.so.*
%{python27_sitearch}/_tevent.so
%{python27_sitearch}/tevent.py
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/tevent.h
%{_libdir}/libtevent.so
%{_libdir}/pkgconfig/tevent.pc
%changelog
* Mon Dec 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-1mamba
- package created using the webbuild interface