forked from pool/liboop
102 lines
2.8 KiB
RPMSpec
102 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package liboop (Version 1.0)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: liboop
|
|
Version: 1.0
|
|
Release: 138
|
|
License: LGPL v2.1 or later
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://liboop.org/
|
|
AutoReqProv: on
|
|
Summary: Low-Level Event Loop Management Library
|
|
Source: http://download.ofb.net/liboop/liboop.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Liboop is a low-level event loop management library for POSIX-based
|
|
operating systems. It supports the development of modular, multiplexed
|
|
applications that 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. Because
|
|
processes use these mechanisms for almost all external communication,
|
|
liboop can be used as the basis for almost any application.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dan Egnor <egnor at ofb dot net>
|
|
|
|
%package devel
|
|
License: LGPL v2.1 or later
|
|
Group: Development/Libraries/C and C++
|
|
Summary: Development Libraries and Header Files of liboop
|
|
Requires: %{name} = %{version}
|
|
|
|
%description devel
|
|
This package contains the static libraries and header files needed to
|
|
develop programs which make use of the liboop programming interface.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Dan Egnor <egnor at ofb dot net>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
%configure --disable-static --with-pic
|
|
%{__make} all check
|
|
|
|
%install
|
|
%{__make} DESTDIR=${RPM_BUILD_ROOT} install
|
|
|
|
%clean
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/liboop.so.*
|
|
%doc COPYING INSTALL
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/oop*
|
|
%{_libdir}/liboop.so
|
|
%{_libdir}/pkgconfig/liboop*
|
|
%exclude %{_libdir}/liboop.la
|
|
|
|
%changelog
|
|
* Thu Dec 27 2007 crrodriguez@suse.de
|
|
- fix library-without-ldconfig-post* errors
|
|
- remove useless "la" file
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Feb 09 2005 lmuelle@suse.de
|
|
- Update to version 1.0.
|
|
- Split off liboop-devel sub package.
|