apply tizen patches 46/227346/5 accepted/tizen/unified/20200315.214835 submit/tizen/20200313.010239
authorHyunil <hyunil46.park@samsung.com>
Wed, 11 Mar 2020 09:44:02 +0000 (18:44 +0900)
committerHyunil <hyunil46.park@samsung.com>
Thu, 12 Mar 2020 08:44:34 +0000 (17:44 +0900)
Change-Id: Ibe72223c8c7e17954f45fdee220febd164a4fd1d

autogen.sh
nice/nice.pc.in
packaging/libnice.manifest [new file with mode: 0644]
packaging/libnice.spec [new file with mode: 0644]

index b6efba6..abadb9a 100755 (executable)
@@ -23,7 +23,6 @@ if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
 fi
 
 aclocal --install || exit 1
-gtkdocize --copy || exit 1
 autoreconf --verbose --force --install || exit 1
 
 cd "$olddir"
index 8805f0d..03d8b6b 100644 (file)
@@ -8,6 +8,5 @@ Name: libnice
 Description: ICE library
 Version: @VERSION@
 Requires: @NICE_PACKAGES_PUBLIC@ @GUPNP_PACKAGES_PUBLIC@
-Requires.private: @NICE_PACKAGES_PRIVATE@ @GUPNP_PACKAGES_PRIVATE@
 Libs: -L${libdir} -lnice
 Cflags: -I${includedir}/nice -I${includedir}
diff --git a/packaging/libnice.manifest b/packaging/libnice.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/libnice.spec b/packaging/libnice.spec
new file mode 100644 (file)
index 0000000..3e0e5d7
--- /dev/null
@@ -0,0 +1,62 @@
+Name:       libnice
+Summary:    Library for implementing Interactive Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445)
+Version:    0.1.16
+Release:    1
+Group:      Multimedia/Libraries
+License:    LGPL-2.1
+Source0:    %{name}-%{version}.tar.gz
+Source1001: %{name}.manifest
+Requires(post): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
+BuildRequires: pkgconfig(openssl1.1)
+
+%description
+Library for implementing Interactive Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445)
+
+%package devel
+Summary:    nice headers and libraries for development.
+Group:      Development/Libraries
+Requires:   %{name} = %{version}-%{release}
+
+%description devel
+nice headers and libraries for development.
+
+%prep
+%setup -q -n %{name}-%{version}
+cp %{SOURCE1001} .
+
+%build
+%autogen
+%configure \
+       --disable-static \
+       --disable-gtk-doc \
+       --disable-gtk-doc-html \
+       --disable-gtk-doc-pdf
+
+make %{?jobs:-j%jobs}
+
+%install
+rm -rf %{buildroot}
+%make_install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root,-)
+%{_bindir}/*
+%{_libdir}/*.so.*
+%license COPYING.LGPL
+
+%files devel
+%manifest %{name}.manifest
+%{_libdir}/*.so
+%{_libdir}/pkgconfig/*.pc
+%{_includedir}/nice/*.h
+%{_includedir}/stun/*.h
+%{_includedir}/stun/usages/*.h
+%exclude /usr/share/gtk-doc/*
+%exclude /usr/include/stun/win32_common.h