]>
Commit | Line | Data |
---|---|---|
644aa8a1 AM |
1 | Summary: Boost ASIO - a cross-platform C++ library for network programming |
2 | Name: boost-asio | |
3 | Version: 0.3.7 | |
4 | Release: 1 | |
5 | License: Boost Software License | |
6 | Group: Libraries | |
7 | Source0: http://dl.sourceforge.net/asio/asio-%{version}.tar.bz2 | |
8 | # Source0-md5: 5481c9764ece613d8e099c1a9b32ded2 | |
9 | URL: http://asio.sourceforge.net/ | |
10 | BuildRequires: boost-devel | |
11 | BuildRequires: doxygen | |
12 | BuildRequires: openssl-devel | |
13 | Requires: boost-devel | |
14 | Requires: openssl-devel | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | asio is a cross-platform C++ library for network programming that | |
19 | provides developers with a consistent asynchronous I/O model using a | |
20 | modern C++ approach. | |
21 | ||
22 | %prep | |
23 | %setup -q -n asio-%{version} | |
24 | ||
25 | %build | |
26 | cp -a src src-example | |
27 | %configure | |
28 | %{__make} | |
29 | ||
30 | %install | |
31 | rm -rf $RPM_BUILD_ROOT | |
32 | ||
33 | %{__make} install \ | |
34 | DESTDIR=$RPM_BUILD_ROOT | |
35 | ||
36 | %clean | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %files | |
40 | %defattr(644,root,root,755) | |
41 | %doc COPYING LICENSE* THANKS TODO doc/* | |
42 | %doc src-example/examples | |
43 | %{_includedir}/asio | |
44 | %{_includedir}/*.hpp |