tevent/tevent.spec

103 lines
3.4 KiB
RPMSpec
Raw Permalink Normal View History

Name: tevent
Epoch: 1
Version: 0.9.31
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
* Thu Oct 27 2016 Automatic Build System <autodist@mambasoft.it> 0.9.31-1mamba
- automatic version update by autodist
* Sat Sep 10 2016 Automatic Build System <autodist@mambasoft.it> 0.9.30-1mamba
- automatic version update by autodist
* Mon Aug 29 2016 Automatic Build System <autodist@mambasoft.it> 0.9.29-1mamba
- automatic version update by autodist
* Thu Mar 10 2016 Automatic Build System <autodist@mambasoft.it> 0.9.28-1mamba
- automatic version update by autodist
* Fri Dec 11 2015 Automatic Build System <autodist@mambasoft.it> 0.9.26-1mamba
- automatic version update by autodist
* Tue Jul 14 2015 Automatic Build System <autodist@mambasoft.it> 0.9.25-1mamba
- automatic version update by autodist
* Thu Mar 05 2015 Automatic Build System <autodist@mambasoft.it> 0.9.24-1mamba
- automatic version update by autodist
* Mon Dec 08 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.22-1mamba
- package created using the webbuild interface