]> git.pld-linux.org Git - packages/h2o.git/blob - h2o.spec
update BR, add BC, package files
[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 BuildRequires:  yaml-devel
12 # 1.0.2+ recommended
13 BuildRequires:  openssl-devel
14 # conflicting headers
15 BuildConflicts: libuv-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 H2O is a very fast HTTP server written in C. It can also be used as a
20 library.
21
22 %prep
23 %setup -q
24
25 %build
26 %cmake .
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 %{__make} install \
32         DESTDIR=$RPM_BUILD_ROOT
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37 %files
38 %defattr(644,root,root,755)
39 %doc README.md Changes LICENSE
40 %attr(755,root,root) %{_bindir}/h2o
41 %dir %{_datadir}/%{name}
42 %attr(755,root,root) %{_datadir}/%{name}/fetch-ocsp-response
This page took 0.055826 seconds and 3 git commands to generate.