Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.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) 2013 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/ # %define _so 3 %define lbase libmediastreamer_base%{_so} %define lvoip libmediastreamer_voip%{_so} Name: mediastreamer2 Version: 2.9.0 Release: 0 Summary: Audio/Video real-time streaming License: GPL-2.0+ Group: Productivity/Telephony/Utilities Url: http://www.mediastreamer2.com Source0: mediastreamer-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: intltool BuildRequires: libgsm-devel BuildRequires: libtool BuildRequires: libv4l-devel BuildRequires: pkg-config BuildRequires: spandsp-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libpulse) BuildRequires: pkgconfig(ortp) >= 0.22.0 BuildRequires: pkgconfig(speex) BuildRequires: pkgconfig(theora) BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(xv) %if 0%{?packman_bs} BuildRequires: libffmpeg-devel BuildRequires: vim BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glu) %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %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. %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 mediastreamer-%{version} %build export CFLAGS="%{optflags}" export CXXFLAGS="%{optflags}" %configure \ --enable-shared \ %if 0%{?packman_bs} --enable-video %else --disable-video %endif make %{?_smp_mflags} %install %makeinstall %find_lang mediastreamer rm -f "%{buildroot}/%{_libdir}"/*.la %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 -f mediastreamer.lang %defattr(-,root,root,-) %doc AUTHORS COPYING ChangeLog NEWS README %{_bindir}/mediastream %dir %{_datadir}/images %{_datadir}/images/nowebcamCIF.jpg %files -n %{lbase} %defattr(-,root,root) %{_libdir}/libmediastreamer_base.so.%{_so}* %files -n %{lvoip} %defattr(-,root,root) %{_libdir}/libmediastreamer_voip.so.%{_so}* %files devel %defattr(-,root,root,-) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/mediastreamer2 %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