From: Seonah Moon Date: Thu, 6 May 2021 04:27:33 +0000 (+0900) Subject: Enable nghttp2 applications X-Git-Tag: accepted/tizen/base/20210526.110342^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F33%2F258533%2F2;p=platform%2Fupstream%2Fnghttp2.git Enable nghttp2 applications Change-Id: Ibcf013a108b1caac15321d85bebd9bad8974dc1e --- diff --git a/packaging/nghttp2.spec b/packaging/nghttp2.spec index ce01362..2c78575 100644 --- a/packaging/nghttp2.spec +++ b/packaging/nghttp2.spec @@ -13,6 +13,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkgconfig >= 0.20, zlib >= 1.2.3, gcc, gcc-c++, make BuildRequires: libopenssl1.1-devel BuildRequires: libxml2-devel +BuildRequires: asio-devel +BuildRequires: libcares-devel +BuildRequires: zlib-devel +BuildRequires: libev-devel %description @@ -25,6 +29,15 @@ Requires: %{name} = %{version}-%{release} The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package tools +Summary: Tool files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description tools +The %{name}-tools package contains tool files for %{name}. + + %prep %setup -q @@ -32,13 +45,16 @@ developing applications that use %{name}. autoreconf -i %{__automake} %{__autoconf} -%configure --disable-static --disable-xmltest +%configure --disable-static --disable-xmltest --enable-asio-lib --enable-app %{__make} %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT +find %{buildroot}%{_bindir}/ -type f -not -name 'nghttpx' -delete +%{remove_docs} + %clean rm -rf $RPM_BUILD_ROOT @@ -52,9 +68,13 @@ rm -rf $RPM_BUILD_ROOT %exclude %{_libdir}/*.la %license COPYING + +%files tools +%defattr(-,root,root,-) +%{_bindir}/nghttpx + %files devel %defattr(-,root,root,-) -%doc /usr/share/doc/%{name} %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc