source: projects/specs/trunk/h/h2o/h2o-vl.spec @ 9458

Revision 9458, 960 bytes checked in by iwaim, 6 years ago (diff)

new: h2o

Line 
1%define ver 1.1.1
2%define rel 1
3
4Summary: an optimized HTTP server with support for HTTP/1.x and HTTP/2
5Name: h2o
6Version: %{ver}
7Release: %{rel}%{?_dist_release}
8License: MIT
9Group: System Environment/Daemons
10URL: https://github.com/h2o/h2o/
11#https://github.com/h2o/h2o/archive/v%{version}.tar.gz
12Source0: %{name}-%{version}.tar.gz
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14
15BuildRequires: cmake
16BuildRequires: libyaml-devel
17BuildRequires: openssl-devel
18
19%description
20H2O is a very fast HTTP server written in C. It can also be used as a library.
21
22%prep
23%setup -q
24%cmake
25
26%build
27%__make
28
29%install
30rm -rf $RPM_BUILD_ROOT
31%makeinstall DESTDIR=$RPM_BUILD_ROOT
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%check
37#make test
38
39%files
40%defattr(-,root,root,-)
41%doc README.md Changes LICENSE examples
42%{_bindir}/h2o
43%dir %{_datadir}/h2o
44%{_datadir}/h2o/fetch-ocsp-response
45
46%changelog
47* Mon Mar 23 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 1.1.1-1
48- Initial build.
Note: See TracBrowser for help on using the repository browser.