forked from pool/libzrtpcpp
c948e68c7f
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libzrtpcpp?expand=0&rev=14
114 lines
3.1 KiB
RPMSpec
114 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package libzrtpcpp (Version 1.6.0)
|
|
#
|
|
# 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
|
|
# 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/
|
|
#
|
|
|
|
|
|
|
|
Name: libzrtpcpp
|
|
Summary: A ccrtp extension for ZRTP support
|
|
BuildRequires: cmake gcc-c++ libgcrypt-devel pkgconfig
|
|
BuildRequires: libccrtp-devel >= 1.8.0
|
|
Version: 1.6.0
|
|
Release: 1
|
|
License: GPLv3+
|
|
Group: Development/Libraries/Other
|
|
Url: http://www.gnu.org/software/commoncpp/commoncpp.html
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source1: rpmlintrc
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
%description -n libzrtpcpp
|
|
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.
|
|
|
|
|
|
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+
|
|
Group: Development/Libraries/Other
|
|
Summary: Headers and static link library for libzrtpcpp
|
|
Requires: libzrtpcpp = %{version} libccrtp-devel
|
|
|
|
%description devel
|
|
This package provides the header files, link libraries, and
|
|
documentation for building applications that use libzrtpcpp.
|
|
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
|
-DSYSCONFDIR=%{_sysconfdir} \
|
|
-DMANDIR=%{_mandir} \
|
|
-DCMAKE_VERBOSE_MAKEFILE=TRUE \
|
|
-DCMAKE_C_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
|
|
-DCMAKE_CXX_FLAGS_RELEASE:STRING="$RPM_OPT_FLAGS" \
|
|
..
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
cd build
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
%files -n libzrtpcpp
|
|
%defattr(-,root,root,0755)
|
|
%doc AUTHORS COPYING README
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,0755)
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%{_includedir}/libzrtpcpp/*.h
|
|
%dir %{_includedir}/libzrtpcpp
|
|
|
|
%post -n libzrtpcpp -p /sbin/ldconfig
|
|
|
|
%postun -n libzrtpcpp -p /sbin/ldconfig
|
|
|
|
%changelog
|