From bafebc26b0959b50d34bcc7e4e72033a8900fec8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20L=C3=B8vdal?= Date: Fri, 15 Jul 2016 02:43:41 +0200 Subject: [PATCH] Add RPM spec file in contrib directory. Make it simple for people with RPM based systems to install the header files. --- contrib/cpp-netlib-devel.spec | 38 +++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 contrib/cpp-netlib-devel.spec diff --git a/contrib/cpp-netlib-devel.spec b/contrib/cpp-netlib-devel.spec new file mode 100644 index 000000000..8c138cb05 --- /dev/null +++ b/contrib/cpp-netlib-devel.spec @@ -0,0 +1,38 @@ +Name: cpp-netlib-devel +Version: 0.9.4 +Release: 1%{?dist} +Summary: The C++ Network Library Project +License: Boost +URL: http://cpp-netlib.org/ +Source: https://github.com/downloads/cpp-netlib/cpp-netlib/cpp-netlib-%{version}.tar.gz +BuildArch: noarch + +%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. + +%prep +%setup -q -n cpp-netlib-%{version} + +%build + +# The source file will contain the header files needed, so there is no need to build anything + +%install +mkdir -p %{buildroot}%{_includedir} +tar cf - boost | (cd %{buildroot}%{_includedir}; tar xf -) + +%files +%doc RATIONALE.txt README.rst +%license LICENSE_1_0.txt +%{_includedir}/boost + +%changelog +* Fri Jul 15 2016 Håkon Løvdal - 0.9.4-1 +- Created