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 mkdir -p $RPM_BUILD_ROOT/usr/share/license
41 cp COPYING $RPM_BUILD_ROOT/usr/share/license/%{name}
42 %{__make} install DESTDIR=$RPM_BUILD_ROOT
45 rm -rf $RPM_BUILD_ROOT
47 %post -p /sbin/ldconfig
49 %postun -p /sbin/ldconfig
52 %defattr(-,root,root,-)
55 %exclude %{_libdir}/*.la
57 /usr/share/license/%{name}
60 %defattr(-,root,root,-)
61 %doc %{_docdir}/%{name}
64 %{_libdir}/pkgconfig/*.pc