File asio.spec of Package asio

#
# spec file for package asio (Version 1.0.0)
#
# Copyright (c) 2008 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 programming

Name:           asio
Version:        1.0.0
Release:        4
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
The asio package contains a cross-platform C++ library for network
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 programming
Requires:       openssl-devel
Requires:       boost-devel

%description devel
The asio package contains a cross-platform C++ library for network
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
* 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
openSUSE Build Service is sponsored by