[packages/h2o] initial spec, version 0.9.1
glen
glen at pld-linux.org
Tue Feb 10 00:45:34 CET 2015
commit 00f29360b27a29689af6fca314759f27c9a92040
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Feb 10 01:45:03 2015 +0200
initial spec, version 0.9.1
h2o.spec | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
---
diff --git a/h2o.spec b/h2o.spec
new file mode 100644
index 0000000..85210a5
--- /dev/null
+++ b/h2o.spec
@@ -0,0 +1,34 @@
+Summary: H2O - an optimized HTTP server with support for HTTP/1.x and HTTP/2
+Name: h2o
+Version: 0.9.1
+Release: 0.1
+License: MIT
+Group: Networking/Daemons/HTTP
+Source0: https://github.com/h2o/h2o/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 6e60db62200b95e0fee372887bf8a4e3
+URL: https://github.com/h2o/h2o
+BuildRequires: cmake
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+H2O is a very fast HTTP server written in C. It can also be used as a
+library.
+
+%prep
+%setup -q
+
+%build
+%cmake .
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md Changes LICENSE
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/h2o.git/commitdiff/00f29360b27a29689af6fca314759f27c9a92040
More information about the pld-cvs-commit
mailing list