Skip to content

Add RPM spec file in contrib directory. #671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add RPM spec file in contrib directory.
Make it simple for people with RPM based systems to install the header files.
  • Loading branch information
hlovdal committed Jul 15, 2016
commit bafebc26b0959b50d34bcc7e4e72033a8900fec8
38 changes: 38 additions & 0 deletions contrib/cpp-netlib-devel.spec
Original file line number Diff line number Diff line change
@@ -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 <hlovdal@gmail.com> - 0.9.4-1
- Created