SHA256
1
0
forked from pool/libzrtpcpp
Stephan Kulow 2011-09-27 07:52:56 +00:00 committed by Git OBS Bridge
parent b2ce4fa130
commit 2a114ceb7f

View File

@ -1,7 +1,7 @@
#
# spec file for package libzrtpcpp (Version 2.0.0)
# spec file for package libzrtpcpp
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,7 +15,10 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libzrtpcpp2
Name: libzrtpcpp
%define lname libzrtpcpp2
Version: 2.0.0
Release: 0
License: GPLv3+
@ -36,19 +39,28 @@ that offers compatibility with Phil Zimmermann's zrtp/Zfone voice
encryption, and which can be directly embedded into telephony
applications.
%package -n %lname
Summary: A ccrtp extension for ZRTP support
%description -n %lname
This library is a GPL licensed extension to the GNU RTP Stack, ccrtp,
that offers compatibility with Phil Zimmermann's zrtp/Zfone voice
encryption, and which can be directly embedded into telephony
applications.
%package devel
License: GPLv3+
Summary: Headers and link library for libzrtpcpp
Group: Development/Libraries/Other
Requires: libccrtp2-devel >= 2.0.0
Requires: %{name} = %{version}
Requires: ccrtp-devel >= 2.0.0
Requires: %{lname} = %{version}
%description devel
This package provides the header files, link libraries, and
documentation for building applications that use libzrtpcpp.
%prep
%setup -q -n libzrtpcpp-%{version}
%setup -q
%build
mkdir build
@ -64,7 +76,6 @@ cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
make %{?_smp_mflags}
%install
cd build
rm -rf %{buildroot}
@ -73,7 +84,7 @@ rm -rf %{buildroot}
%clean
rm -rf %{buildroot}
%files -n libzrtpcpp2
%files -n %lname
%defattr(-,root,root,0755)
%doc AUTHORS COPYING README
%{_libdir}/*.so.*
@ -85,8 +96,8 @@ rm -rf %{buildroot}
%{_includedir}/libzrtpcpp/*.h
%dir %{_includedir}/libzrtpcpp
%post -p /sbin/ldconfig
%post -p /sbin/ldconfig -n %lname
%postun -p /sbin/ldconfig
%postun -p /sbin/ldconfig -n %lname
%changelog