1 %define _unpackaged_files_terminate_build 0
6 Summary: This is an experimental implementation of Hypertext Transfer Protocol version 2.
7 Group: System Environment/Libraries
9 URL: https://nghttp2.org/
10 Source0: %{name}-%{version}.tar.gz
11 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13 BuildRequires: pkgconfig >= 0.20, zlib >= 1.2.3, gcc, gcc-c++, make
14 BuildRequires: openssl-devel
15 BuildRequires: libxml2-devel
20 Summary: Development files for %{name}
21 Group: Development/Libraries
22 Requires: %{name} = %{version}-%{release}
25 The %{name}-devel package contains libraries and header files for
26 developing applications that use %{name}.
35 %configure --disable-static --disable-xmltest
36 %{__make} %{?_smp_mflags}
39 rm -rf $RPM_BUILD_ROOT
40 %{__make} install DESTDIR=$RPM_BUILD_ROOT
43 rm -rf $RPM_BUILD_ROOT
45 %post -p /sbin/ldconfig
47 %postun -p /sbin/ldconfig
50 %defattr(-,root,root,-)
52 %exclude %{_libdir}/*.la
57 %defattr(-,root,root,-)
58 %doc /usr/share/doc/%{name}
61 %{_libdir}/pkgconfig/*.pc