LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ortp.spec of Package ortp (Project home:computersalat:devel:tel)

#
# spec file for package ortp (Version 0.16.1)
#
# Copyright (c) 2010 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/
#

# norootforbuild

Name:           ortp
Summary:        Real-time Transport Protocol Stack
Version:        0.16.1
Release:        1
License:        LGPL
Group:	        Applications/Communications
URL:            http://linphone.org/
#Source:        http://mirrors.zerg.biz/nongnu/linphone/ortp/sources/ortp-0.16.1.tar.gz
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  openssl-devel
BuildRequires:  srtp-devel

%description
oRTP is a LGPL licensed C library implementing the RTP protocol
(rfc1889). It is available for most unix clones (primilarly Linux and
HP-UX), and Microsoft Windows.

%package -n libortp8
Summary:        Shared libraries of oRTP
Group:          Development/Libraries/Other

%description -n libortp8
This package contains shared libraries.

oRTP is a LGPL licensed C library implementing the RTP protocol
(rfc1889). It is available for most unix clones (primilarly Linux and
HP-UX), and Microsoft Windows.


%package devel
Summary:        Headers, libraries and docs for the oRTP library
Group:          Development/Libraries
Requires:       libortp8 = %{version} srtp-devel
Provides:       libortp-devel = %{version}
Obsoletes:      libortp-devel < %{version}

%description devel
This package contains header files and development libraries needed to
develop programs using the oRTP library.

oRTP is a LGPL licensed C library implementing the RTP protocol
(rfc1889). It is available for most unix clones (primilarly Linux and
HP-UX), and Microsoft Windows.


%prep
%setup -q -n %{name}-%{version}

%build
export CFLAGS="$RPM_OPT_FLAGS -fPIC"
%configure \
	--disable-static \
	--with-pic

%{__make} %{?jobs:-j%jobs}

%install
%makeinstall

%post -n libortp8 -p /sbin/ldconfig

%postun -n libortp8 -p /sbin/ldconfig

%clean
%{__rm} -rf $RPM_BUILD_ROOT

#%files
#%defattr(-,root,root,-)
#%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

%files -n libortp8
%defattr(-,root,root,-)
%{_libdir}/*.so.8*

%files devel
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
%{_libdir}/*.so
#%exclude %{_libdir}/*.la
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/ortp
%{_includedir}/ortp/*.h

%changelog