Search
SailfishOS Open Build Service
>
Projects
>
home:plfiorini
:
maui:devel
:
x86_64
>
libnice
> _service:tar_git:libnice.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:libnice.spec of Package libnice
# # Do NOT Edit the Auto-generated Part! # Generated by: spectacle version 0.26 # Name: libnice # >> macros # << macros Summary: GLib ICE implementation Version: 0.1.4 Release: 1 Group: System/Libraries License: LGPLv2 and MPLv1.1 URL: http://nice.freedesktop.org/wiki/ Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz Source1: mktests.sh Source2: INSIGNIFICANT Source3: gtk-doc.m4 Patch0: nemo-tests-install.patch Patch1: disable-gtkdoc.patch Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig BuildRequires: pkgconfig(glib-2.0) >= 2.13 BuildRequires: pkgconfig(gobject-2.0) >= 2.13 BuildRequires: pkgconfig(gthread-2.0) >= 2.13 BuildRequires: pkgconfig(gio-2.0) >= 2.13 BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.0 BuildRequires: pkgconfig(gstreamer-base-0.10) >= 0.10.0 %description libnice is an implementation of the IETF draft Interactive Connectivity Establishment standard (ICE). ICE is useful for applications that want to establish peer-to-peer UDP data streams. It automates the process of traversing NATs and provides security against some attacks. Existing standards that use ICE include the Session Initiation Protocol (SIP) and Jingle, XMPP extension for audio/video calls. %package devel Summary: Development files for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: glib2-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %if 0%{?with_docs} %package docs Summary: Documentation for development with libnice Group: Documentation Requires: %{name} = %{version}-%{release} %description docs %{summary}. %endif %package tests Summary: Tests and tests.xml for %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description tests The %{name}-tests package contains tests and a tests.xml file %{name}. %package examples Summary: Examples for libnice Group: Development/Libraries Requires: %{name} = %{version}-%{release} %description examples %{summary}. %prep %setup -q -n %{name}-%{version}/%{name} # nemo-tests-install.patch %patch0 -p1 # disable-gtkdoc.patch %patch1 -p1 # >> setup %__cp $RPM_SOURCE_DIR/mktests.sh tests/ %__chmod 0755 tests/mktests.sh %__cp $RPM_SOURCE_DIR/INSIGNIFICANT tests/ %__mkdir m4 %__cp $RPM_SOURCE_DIR/gtk-doc.m4 m4/ # << setup %build # >> build pre %autogen --no-configure --disable-gtk-doc # << build pre %configure --disable-static # >> build post sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool make %{?jobs:-j%jobs} tests/mktests.sh > tests/tests.xml # << build post %install rm -rf %{buildroot} # >> install pre # << install pre # >> install post %make_install install -m 0644 tests/tests.xml $RPM_BUILD_ROOT/opt/tests/%{name}/tests.xml # << install post %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) # >> files %doc NEWS README COPYING COPYING.LGPL COPYING.MPL %{_bindir}/stunbdc %{_bindir}/stund %{_libdir}/gstreamer-0.10/libgstnice010.so %{_libdir}/*.so.* # << files %files devel %defattr(-,root,root,-) # >> files devel %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/nice.pc # << files devel %if 0%{?with_docs} %files docs %defattr(-,root,root,-) # >> files docs %{_datadir}/gtk-doc/html/%{name}/ # << files docs %endif %files tests %defattr(-,root,root,-) /opt/tests/%{name}/* # >> files tests # << files tests %files examples %defattr(-,root,root,-) # >> files examples %{_bindir}/sdp-example %{_bindir}/simple-example %{_bindir}/threaded-example # << files examples