Merge tag 'upstream/1.31.1' into tizen_base 13/183513/2 accepted/tizen_5.0_base tizen_5.0_base accepted/tizen/5.0/base/20181101.090746 accepted/tizen/base/20180713.194607 submit/tizen_5.0_base/20181101.000001 submit/tizen_base/20180709.071535
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 6 Jul 2018 06:19:23 +0000 (15:19 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 6 Jul 2018 06:20:02 +0000 (15:20 +0900)
Change-Id: I26aa3e9d402e19bc53195f0c1a4b714fa6ce3a43

1  2 
packaging/nghttp2.spec

index 69297bc,0000000..c79fbc8
mode 100644,000000..100644
--- /dev/null
@@@ -1,61 -1,0 +1,61 @@@
- Version: 1.20.0
 +%define _unpackaged_files_terminate_build 0
 +Prefix: %{_usr}
 +Name: nghttp2
++Version: 1.31.1
 +Release: 1
 +Summary: This is an experimental implementation of Hypertext Transfer Protocol version 2.
 +Group: System Environment/Libraries
 +License: MIT
 +URL: https://nghttp2.org/
 +Source0: %{name}-%{version}.tar.gz
 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 +
 +BuildRequires: pkgconfig >= 0.20, zlib >= 1.2.3, gcc, gcc-c++, make
 +BuildRequires: openssl-devel
 +BuildRequires: libxml2-devel
 +
 +%description
 +
 +%package devel
 +Summary: Development files for %{name}
 +Group: Development/Libraries
 +Requires: %{name} = %{version}-%{release}
 +
 +%description devel
 +The %{name}-devel package contains libraries and header files for
 +developing applications that use %{name}.
 +
 +%prep
 +%setup -q
 +
 +%build
 +autoreconf -i
 +%{__automake}
 +%{__autoconf}
 +%configure --disable-static --disable-xmltest
 +%{__make} %{?_smp_mflags}
 +
 +%install
 +rm -rf $RPM_BUILD_ROOT
 +%{__make} install DESTDIR=$RPM_BUILD_ROOT
 +
 +%clean
 +rm -rf $RPM_BUILD_ROOT
 +
 +%post -p /sbin/ldconfig
 +
 +%postun -p /sbin/ldconfig
 +
 +%files
 +%defattr(-,root,root,-)
 +%{_libdir}/*.so*
 +%exclude %{_libdir}/*.la
 +#%{_includedir}/*
 +%license COPYING
 +
 +%files devel
 +%defattr(-,root,root,-)
 +%doc /usr/share/doc/%{name}
 +%{_includedir}/*
 +%{_libdir}/*.so
 +%{_libdir}/pkgconfig/*.pc