File asio.spec of Package asio
#
# spec file for package asio
#
# Copyright (c) 2014 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
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Name: asio
Version: 1.10.6
Release: 0
Url: http://asio.sourceforge.net/
Source0: http://downloads.sourceforge.net/asio/asio-%{version}.tar.bz2
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.
%package devel
Summary: A cross-platform C++ library for network and low-level I/O programming
Group: Development/Libraries/C and C++
Requires: boost-devel
Requires: openssl-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.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
%files devel
%defattr(-,root,root,-)
%doc COPYING LICENSE_1_0.txt doc/*
%dir %{_includedir}/asio
%{_includedir}/asio/*
%{_includedir}/asio.hpp
%changelog