File asio.spec of Package asio
#
# spec file for package asio (Version 1.4.1)
#
# 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/
#
# nodebuginfo
Summary: A cross-platform C++ library for network and low-level I/O programming
Name: asio
Version: 1.4.1
Release: 1
Url: http://asio.sourceforge.net/
Source0: http://downloads.sourceforge.net/asio/asio-%{version}.tar.bz2
License: BSD 3-Clause
Group: Development/Libraries/C and C++
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++
# disable openssl support
#BuildRequires: libopenssl-devel
BuildRequires: boost-devel
%description
Asio is a cross-platform C++ library for network and low-level I/O
programming that provides developers with a consistent asynchronous I/O
model using a modern C++ approach.
Authors:
--------
Christopher M. Kohlhoff
%package devel
License: BSD 3-Clause
Group: Development/Libraries/C and C++
Summary: A cross-platform C++ library for network and low-level I/O programming
Requires: openssl-devel
Requires: boost-devel
%description devel
Asio is a cross-platform C++ library for network and low-level I/O
programming that provides developers with a consistent asynchronous I/O
model using a modern C++ approach.
Authors:
--------
Christopher M. Kohlhoff
%prep
%setup -q
%build
%configure
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%check
make %{?_smp_mflags}
%clean
rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(-,root,root,-)
%doc COPYING LICENSE_1_0.txt doc/*
%dir %{_includedir}/asio
%{_includedir}/asio/*
%{_includedir}/asio.hpp
%changelog
* Fri May 22 2009 vuntz@novell.com
- Update to version 1.4.1. There's no NEWS/ChangeLog, but the 1.3
development cycle brought those new features:
+ Enhanced CompletionCondition concept.
+ Wrapper class for Windows overlapped I/O.
+ Eventfd support on Linux.
+ Const overloads of lowest_layer().
+ Thread-safe synchronous socket operations.
+ Lazy initialisation of the io_service reactor task.
+ Bounds checking in ip::address_v4 and ip::address_v6.
- Drop asio-gcc43.patch: fixed upstream.
* Wed Apr 29 2009 ro@suse.de
- fix build (add missing includes)
* Wed Jan 14 2009 hfiguiere@suse.de
- Update to 1.2.0
* Support for UNIX domain sockets.
* Wrapper classes for POSIX stream-oriented file descriptors.
* Reactor-style ready-to-read/write operations.
* Add the ability to disable uses of the typeid keyword in asio by
defining BOOST_NO_TYPEID or (BOOST_)ASIO_NO_TYPEID.
* Add a new "porthopper" example illustrating mixed synchronous and
asynchronous operations, and how to use Boost.Lambda with asio.
* Rework the "invocation" example to better show how handler
invocation hooks can be used with a variety of asynchronous
operations.
* Improved efficiency of basic_streambuf::consume()
* Fixed infinite recursion in ssl::stream's shutdown()
* Fixed a memory leak in use_tmp_dh_file().
* Fixed a tight spin on epoll (or /dev/poll) that occurs when both
EPOLLERR and EPOLLHUP events are reported for a descriptor and there
are no pending operations.
* Included CREAD and CLOCAL in the default flags for serial ports.
* Various documentation improvements.
* Mon Aug 11 2008 ro@suse.de
- do not redefine debug_package
- use nodebuginfo instead and set debuginfo to no in PDB
* Sun Apr 06 2008 hfiguiere@suse.de
- Initial checkin