Projects
Games
cpp-netlib
cpp-netlib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cpp-netlib.spec of Package cpp-netlib
# # spec file for package cpp-netlib # # Copyright (c) 2016 SUSE LINUX 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/ # %define so_suffix 0 Name: cpp-netlib Version: 0.13.0 Release: 0 Summary: High level network programming libraries License: BSL-1.0 Group: Development/Libraries/C and C++ Url: http://cpp-netlib.org Source: http://downloads.cpp-netlib.org/%{version}/%{name}-%{version}-rc1.tar.bz2 BuildRequires: libboost_atomic-devel >= 1.58 BuildRequires: libboost_chrono-devel BuildRequires: libboost_date_time-devel BuildRequires: libboost_system-devel BuildRequires: libboost_thread-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: openssl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description The project aims to build upon the latest C++ standard (currently C++11) to provide easy to use libraries for network programming. We use the latest compiler versions and features with an eye on pushing the boundaries on leveraging what's available in C++. Currently the library contains an HTTP client and server implementation, a stand-alone URI library, a network message framework, and some concurrency tools. %package devel Summary: Development files for cpp-netlib Requires: libcppnetlib-client-connections%{so_suffix} Requires: libcppnetlib-server-parsers%{so_suffix} Requires: libcppnetlib-uri%{so_suffix} %description devel Development files for cpp-netlib, cpp-netlib is a collection of high level network programming libraries. %package -n libcppnetlib-client-connections%{so_suffix} Summary: Provides client part of cpp-netlib %description -n libcppnetlib-client-connections%{so_suffix} Client library of cpp-netlib, cpp-netlib is a collection of high level network programming libraries. %package -n libcppnetlib-server-parsers%{so_suffix} Summary: Provides server part of cpp-netlib %description -n libcppnetlib-server-parsers%{so_suffix} Server library of cpp-netlib, cpp-netlib is a collection of high level network programming libraries. %package -n libcppnetlib-uri%{so_suffix} Summary: Provides URI library of cpp-netlib %description -n libcppnetlib-uri%{so_suffix} URI library of cpp-netlib, cpp-netlib is a collection of high level network programming libraries. %prep %setup -q -n %{name}-%{version}-rc1 %build %cmake \ -DCPP-NETLIB_BUILD_SHARED_LIBS=ON \ -DCPP-NETLIB_ENABLE_HTTPS=ON \ -DCPP-NETLIB_BUILD_EXPERIMENTS=OFF \ -DCPP-NETLIB_BUILD_TESTS=OFF \ -DCPP-NETLIB_BUILD_EXAMPLES=OFF # Memory exhausting if threads are more then one on OBS make -j1 VERBOSE=1 %check cd build # does not work on OBS # make test %install %cmake_install mkdir -p %{buildroot}%{_docdir}/%{name}/ cp README.rst %{buildroot}%{_docdir}/%{name}/README cp LICENSE_1_0.txt %{buildroot}%{_docdir}/%{name}/LICENSE %post -n libcppnetlib-client-connections%{so_suffix} -p /sbin/ldconfig %postun -n libcppnetlib-client-connections%{so_suffix} -p /sbin/ldconfig %post -n libcppnetlib-server-parsers%{so_suffix} -p /sbin/ldconfig %postun -n libcppnetlib-server-parsers%{so_suffix} -p /sbin/ldconfig %post -n libcppnetlib-uri%{so_suffix} -p /sbin/ldconfig %postun -n libcppnetlib-uri%{so_suffix} -p /sbin/ldconfig %files -n libcppnetlib-client-connections%{so_suffix} %defattr(-,root,root) %{_libdir}/libcppnetlib-client-connections.so.* %files -n libcppnetlib-server-parsers%{so_suffix} %defattr(-,root,root) %{_libdir}/libcppnetlib-server-parsers.so.* %files -n libcppnetlib-uri%{so_suffix} %defattr(-,root,root) %{_libdir}/libcppnetlib-uri.so.* %files devel %defattr(-,root,root) %doc %{_docdir}/%{name} %{_includedir}/boost/network/ %{_includedir}/boost/mime.hpp %{_includedir}/boost/network.hpp %{_libdir}/cmake/cppnetlib %{_libdir}/libcppnetlib-client-connections.so %{_libdir}/libcppnetlib-server-parsers.so %{_libdir}/libcppnetlib-uri.so %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.