Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:rhabacker:branches:windows:mingw:win32
mingw32-libnice
mingw32-libnice.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mingw32-libnice.spec of Package mingw32-libnice
# # spec file for package mingw32-libnice # # Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: mingw32-libnice Version: 0.1.7 Release: 0 Summary: The GLib ICE implementation License: LGPL-2.1+ Group: Development/Libraries/C and C++ Url: http://nice.freedesktop.org/ Source0: libnice-%{version}.tar.gz Patch0: libnice-0.1.7.patch Patch1: libnice-0.1.7-win64.patch #!BuildIgnore: post-build-checks BuildRequires: autoconf BuildRequires: automake BuildRequires: glib2-devel >= 2.13 BuildRequires: gtk-doc BuildRequires: libtool BuildRequires: mingw32-cross-binutils BuildRequires: mingw32-cross-gcc BuildRequires: mingw32-cross-pkg-config BuildRequires: mingw32-glib2-devel >= 2.13 BuildRequires: mingw32-gstreamer-0_10-devel >= 0.10.10 BuildRequires: mingw32-gstreamer-devel >= 1.0.0 %_mingw32_package_header_debug BuildArch: noarch %description Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. %package -n mingw32-libnice10 Summary: The GLib ICE implementation Group: System/Libraries Obsoletes: %{name} Provides: %{name} %description -n mingw32-libnice10 Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. %package -n mingw32-gstreamer-libnice Summary: The GLib ICE implementation (GStreamer 1.0) Group: System/Libraries Supplements: packageand(mingw32-libnice:mingw32-gstreamer) %description -n mingw32-gstreamer-libnice Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. %package -n mingw32-gstreamer-0_10-libnice Summary: The GLib ICE implementation (GStreamer 0.10) Group: System/Libraries Supplements: packageand(mingw32-libnice:mingw32-gstreamer-0_10) %description -n mingw32-gstreamer-0_10-libnice Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. %package devel Summary: The GLib ICE implementation (development files) Group: Development/Libraries/C and C++ %description devel Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. This package contains all necessary include files and libraries needed to develop applications that require these. %package tools Summary: The GLib ICE implementation (command line tools) Group: Development/Libraries %description tools Libnice is an implementation of the IETF's Interactive Connectivity Establishment (ICE) standard (RFC 5245) and the Session Traversal Utilities for NAT (STUN) standard (RFC 5389). It provides a GLib-based library, libnice and a Glib-free library, libstun as well as GStreamer elements. This package contains command line tools. %_mingw32_debug_package %prep %setup -q -n libnice-%{version} %patch -P 0 %patch -P 1 %build NOCONFIGURE=indeed ./autogen.sh --no-configure echo "lt_cv_deplibs_check_method='pass_all'" >> %{_mingw32_cache} %if 0%{?leap_version} == 420300 # fix undefined reference to `__memmove_chk %global _mingw32_ldflags %{_mingw32_ldflags} -lssp %endif PATH="%{_mingw32_bindir}:$PATH"; export PATH; \ PKG_CONFIG_PATH="%{_mingw32_libdir}/pkgconfig:$PKG_CONFIG_PATH"; export PKG_CONFIG_PATH; \ %{_mingw32_configure} \ --disable-static --enable-shared \ --with-gstreamer-0.10=yes \ --with-gstreamer=yes %{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make} %install %{_mingw32_make} DESTDIR=%{buildroot} install rm %{buildroot}%{_mingw32_bindir}/sdp-example.exe rm %{buildroot}%{_mingw32_bindir}/simple-example.exe rm %{buildroot}%{_mingw32_bindir}/threaded-example.exe rm %{buildroot}%{_mingw32_libdir}/gstreamer-1.0/libgstnice.dll.a rm %{buildroot}%{_mingw32_libdir}/gstreamer-0.10/libgstnice010.dll.a %files -n mingw32-libnice10 %defattr(-,root,root) %{_mingw32_bindir}/libnice-10.dll %files -n mingw32-gstreamer-libnice %defattr(-,root,root) %{_mingw32_libdir}/gstreamer-1.0/libgstnice.dll %files -n mingw32-gstreamer-0_10-libnice %defattr(-,root,root) %{_mingw32_libdir}/gstreamer-0.10/libgstnice010.dll %files devel %defattr(-,root,root) %{_mingw32_includedir}/nice %{_mingw32_includedir}/stun %{_mingw32_libdir}/libnice.dll.a %{_mingw32_libdir}/pkgconfig/nice.pc %{_mingw32_datadir}/gtk-doc/html/libnice %files tools %defattr(-,root,root) %{_mingw32_bindir}/stunbdc.exe %{_mingw32_bindir}/stund.exe %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor