Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
mediastreamer2
mediastreamer2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mediastreamer2.spec of Package mediastreamer2
# # spec file for package mediastreamer2 # # Copyright (c) 2015 SUSE LINUX 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/ # %define _name mediastreamer %define lbase libmediastreamer_base4 %define lvoip libmediastreamer_voip4 %bcond_with ffmpeg Name: mediastreamer2 Version: 2.11.2 Release: 0 Summary: Audio/Video real-time streaming License: GPL-2.0+ Group: Productivity/Telephony/Utilities Url: http://linphone.org/eng/documentation/dev/mediastreamer2.html Source: http://download.savannah.gnu.org/releases/linphone/%{_name}/%{_name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: libgsm-devel BuildRequires: libpcap-devel BuildRequires: libsrtp-devel BuildRequires: libtool BuildRequires: libv4l-devel BuildRequires: pkg-config BuildRequires: spandsp-devel BuildRequires: vim BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libbzrtp) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(libupnp) BuildRequires: pkgconfig(opus) BuildRequires: pkgconfig(ortp) >= 0.24.1 BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(speexdsp) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xv) Recommends: %{name}-lang %if 0%{?suse_version} > 1320 || (0%{?suse_version} == 1315 && 0%{?is_opensuse}) || %{with ffmpeg} BuildRequires: pkgconfig(libavcodec) >= 51.0.0 BuildRequires: pkgconfig(libswscale) >= 0.7.0 BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glu) %endif %description Mediastreamer2 is a GPL licensed library to make audio and video real-time streaming and processing. Written in pure C, it is based upon the oRTP library. %lang_package %package -n %{lbase} Summary: Audio/video real-time streaming library, base part Group: System/Libraries %description -n %{lbase} Mediastreamer2 is a GPL licensed library to make audio and video real-time streaming and processing. Written in pure C, it is based upon the oRTP library. %package -n %{lvoip} Summary: Audio/video real-time streaming library, voip part Group: System/Libraries %description -n %{lvoip} Mediastreamer2 is a GPL licensed library to make audio and video real-time streaming and processing. Written in pure C, it is based upon the oRTP library. %package devel Summary: Headers, libraries and docs for the mediastreamer2 library Group: Development/Libraries/C and C++ Requires: %{lbase} = %{version} Requires: %{lvoip} = %{version} Requires: %{name} = %{version} %description devel Mediastreamer2 is a GPL licensed library to make audio and video real-time streaming and processing. Written in pure C, it is based upon the ortp library. This package contains header files and development libraries needed to develop programs using the mediastreamer2 library. %prep %setup -q -n %{_name}-%{version} %build %configure \ --enable-external-ortp \ --enable-zrtp \ %if 0%{?suse_version} <= 1320 && !(0%{?suse_version} == 1315 && 0%{?is_opensuse}) && !%{with ffmpeg} --disable-non-free-codecs \ --disable-video \ %endif --disable-strict \ --disable-static make %{?_smp_mflags} %install %make_install %find_lang %{_name} find %{buildroot} -type f -name "*.la" -delete -print %post -n %{lbase} -p /sbin/ldconfig %post -n %{lvoip} -p /sbin/ldconfig %postun -n %{lbase} -p /sbin/ldconfig %postun -n %{lvoip} -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYING NEWS README %{_bindir}/mediastream %{_bindir}/msaudiocmp %dir %{_datadir}/images/ %{_datadir}/images/nowebcamCIF.jpg %files lang -f %{_name}.lang %defattr(-,root,root) %files -n %{lbase} %defattr(-,root,root) %{_libdir}/libmediastreamer_base.so.* %files -n %{lvoip} %defattr(-,root,root) %{_libdir}/libmediastreamer_voip.so.* %files devel %defattr(-,root,root,-) %{_includedir}/mediastreamer2/ %{_libdir}/libmediastreamer_*.so %{_libdir}/pkgconfig/*.pc %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