Merge branch upstream into tizen_base 61/87661/1 accepted/tizen_3.0.m2_base tizen_3.0.m2_base accepted/tizen/3.0.m2/base/20170104.082015 accepted/tizen/3.0/base/20161028.102921 accepted/tizen/base/20160923.170250 submit/tizen_3.0.m2_base/20170104.073748 submit/tizen_3.0_base/20161028.062323 submit/tizen_base/20160912.021531
authorSeonah Moon <seonah1.moon@samsung.com>
Fri, 9 Sep 2016 04:44:39 +0000 (13:44 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Fri, 9 Sep 2016 04:51:56 +0000 (13:51 +0900)
Change-Id: If8a92762396141574c7f95e7feba7eb13212f04d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
1  2 
packaging/nghttp2.spec

index 9684719,0000000..9dc8161
mode 100644,000000..100644
--- /dev/null
@@@ -1,63 -1,0 +1,63 @@@
- Version: 0.7.3
 +%define _unpackaged_files_terminate_build 0
 +Prefix: %{_usr}
 +Name: nghttp2
- %{_includedir}/*
++Version: 1.0.0
 +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
 +mkdir -p $RPM_BUILD_ROOT/usr/share/license
 +cp COPYING $RPM_BUILD_ROOT/usr/share/license/%{name}
 +%{__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}/*
 +/usr/share/license/%{name}
 +
 +%files devel
 +%defattr(-,root,root,-)
 +%doc /usr/share/doc/%{name}
 +%{_includedir}/*
 +%{_libdir}/*.so
 +%{_libdir}/pkgconfig/*.pc