Summary: A low-level event loop management library for POSIX-based OS'es Name: liboop Version: 1.0 Release: 1%{?dist} URL: http://liboop.org/ License: LGPL Source0: %{name}.tar.gz Group: System/Libraries BuildRequires: adns-devel BuildRequires: glib-devel BuildRequires: glib2-devel BuildRequires: tcl BuildRequires: tcl-devel Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description Liboop is a low-level event loop management library for POSIX-based operating systems. It supports the development of modular, multiplexed applications which may respond to events from several sources. It replaces the "select() loop" and allows the registration of event handlers for file and network I/O, timers and signals. Since processes use these mechanisms for almost all external communication, liboop can be used as the basis for almost any application. %package devel Summary: Development-related files for the liboop library Group: Development/C Requires: adns-devel Requires: glib-devel Requires: %{name} = %{version}-%{release} %description devel Files needed for developing apps using liboop %prep %setup -q -n %{name}-%{version} %build %configure --disable-static %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} install %{__rm} -f %{buildroot}/%{_libdir}/*.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %{_libdir}/*.so.* %files devel %defattr(-,root,root) %{_includedir}/*.h %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sun Sep 17 2006 Peter Lemenkov 1.0-1%{?dist} - Initial build for FE * Sun Jan 01 2006 Oden Eriksson 1.0-3mdk - rebuilt against soname aware deps (tcl/tk) - fix deps * Sun Dec 12 2004 Oden Eriksson 1.0-2mdk - use better catching in the _requires_exceptions macro (amd64 fix) * Sun Aug 15 2004 Oden Eriksson 1.0-1mdk - initial mandrake package