Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:csbuild:DBA
dba-nghttp2-150-static
dba-nghttp2-150-static.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-nghttp2-150-static.spec of Package dba-nghttp2-150-static
%define real_name nghttp2 %define prefix /DBA/%{real_name}/%{version} %define vers 150 %define dbaxml 1 %define dbassl 1 Name: dba-%{real_name}-%{vers}-static Summary: Implementation of Hypertext Transfer Protocol version 2 in C Version: 1.5.0 Release: 1 License: MIT Group: Development/Libraries/C and C++ Url: https://nghttp2.org/ Source: https://github.com/tatsuhiro-t/%{real_name}/releases/download/v%{version}/%{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{real_name}-%{version}-build #!BuildIgnore: dba-openssl-098o dba-openssl-098r dba-openssl-098x %if 0%{?fedora_version} >= 19 %define dbassl 0 %endif BuildRequires: autoconf libtool automake pkgconfig BuildRequires: gcc-c++ BuildRequires: boost-devel python-devel BuildRequires: dba-libevent-2022-static BuildRequires: dba-jansson-27-static BuildRequires: dba-cunit-213-static %if %{dbaxml} BuildRequires: dba-libxml2-292-static %define xmldir /DBA/libxml2/2.9.2 %else BuildRequires: libxml2-devel %endif %if %{dbassl} BuildRequires: dba-openssl-102e-static %else BuildRequires: openssl-devel %endif BuildRequires: dba-zlib-128-static BuildRequires: dba-spdylay-132-static %define spdydir /DBA/spdylay/1.3.2 %define zlibdir /DBA/zlib/1.2.8 %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %if 0%{?suse_version} >= 1500 BuildRequires: libboost_system1_66_0-devel %endif %description The framing layer of HTTP/2 is implemented as a reusable C library. On top of that, we have implemented an HTTP/2 client, server and proxy. We have also developed load test and benchmarking tools for HTTP/2 and SPDY. %prep %setup -q -n %{real_name}-%{version} %build CFLAGS="%{optflags}" export ZLIB_CFLAGS="-I%{zlibdir}/include" export ZLIB_LIBS="-L%{zlibdir}/lib -lz" %if %{dbaxml} export XML2_CONFIG=%{xmldir}/bin/xml2-config %endif export LIBSPDYLAY_LIBS="-I%{spdydir}/include" export LIBSPDYLAY_CFLAGS="-L%{spdydir}/lib -lspdylay" CFLAGS="$CFLAGS -I%{zlibdir}/include" LDFLAGS="$LDFLAGS -L%{zlibdir}/lib" export CFLAGS LDFLAGS ./configure \ --prefix=%{prefix} \ --enable-asio-lib \ --disable-examples \ --disable-shared \ --disable-hpack-tools \ --enable-static \ --with-pic %{__make} %{?_smp_mflags} %install %{__make} DESTDIR=%{buildroot} install rm -f `find %{buildroot} -name *.la` %post # add nghttp2.pc to pkgconfig directory if [ -d %{_libdir}/pkgconfig ]; then cd %{_libdir}/pkgconfig if [ -e nghttp2.pc ]; then %{__rm} -f nghttp2.pc fi %{__ln_s} -f %{prefix}/lib/pkgconfig/nghttp2.pc . fi %clean # [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Tue Aug 20 2019 Dennis Hampe <dennis.hampe@bertelsmann.de> - For Sles 15 add BuildRequires libboost_system1_66_0-devel * Fri Dec 11 2015 Holger Manthey <holger.manthey@bertelsmann.de> - initial package
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor