]> git.pld-linux.org Git - packages/h2o.git/blob - h2o.spec
85210a521c0ee76e6018f095983e5d42624d16e6
[packages/h2o.git] / h2o.spec
1 Summary:        H2O - an optimized HTTP server with support for HTTP/1.x and HTTP/2
2 Name:           h2o
3 Version:        0.9.1
4 Release:        0.1
5 License:        MIT
6 Group:          Networking/Daemons/HTTP
7 Source0:        https://github.com/h2o/h2o/archive/v%{version}/%{name}-%{version}.tar.gz
8 # Source0-md5:  6e60db62200b95e0fee372887bf8a4e3
9 URL:            https://github.com/h2o/h2o
10 BuildRequires:  cmake
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 H2O is a very fast HTTP server written in C. It can also be used as a
15 library.
16
17 %prep
18 %setup -q
19
20 %build
21 %cmake .
22 %{__make}
23
24 %install
25 rm -rf $RPM_BUILD_ROOT
26 %{__make} install \
27         DESTDIR=$RPM_BUILD_ROOT
28
29 %clean
30 rm -rf $RPM_BUILD_ROOT
31
32 %files
33 %defattr(644,root,root,755)
34 %doc README.md Changes LICENSE
This page took 0.226438 seconds and 2 git commands to generate.