2007-03-03 14:30:32 +01:00
|
|
|
#
|
2008-04-02 22:20:22 +02:00
|
|
|
# spec file for package libzrtpcpp (Version 1.0.1)
|
2007-03-03 14:30:32 +01:00
|
|
|
#
|
2008-04-02 22:20:22 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-03-03 14:30:32 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-02 22:20:22 +02:00
|
|
|
|
2007-03-03 14:30:32 +01:00
|
|
|
Name: libzrtpcpp
|
|
|
|
Summary: a ccrtp extension for zrtp/Zfone support
|
2008-05-13 12:35:00 +02:00
|
|
|
BuildRequires: ccrtp-devel >= 1.5.0 gcc-c++ libgcc libgcrypt-devel pkgconfig
|
2008-04-02 22:20:22 +02:00
|
|
|
Version: 1.0.1
|
2008-05-13 12:35:00 +02:00
|
|
|
Release: 2
|
2008-04-02 22:20:22 +02:00
|
|
|
License: GPL v3 or later
|
2007-03-03 14:30:32 +01:00
|
|
|
Group: Development/Libraries/Other
|
2008-04-02 22:20:22 +02:00
|
|
|
Url: http://www.gnu.org/software/commoncpp/commoncpp.html
|
2007-03-03 14:30:32 +01:00
|
|
|
Source0: ftp://ftp.gnu.org/gnu/cccrtp/%{name}-%{version}.tar.bz2
|
2008-05-13 12:35:00 +02:00
|
|
|
Patch1: %name-1.0.1-compiler_warnings.patch
|
|
|
|
Patch2: libzrtpcpp-1.0.1-no-return-in-nonvoid-function.patch
|
2007-03-03 14:30:32 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-04-02 22:20:22 +02:00
|
|
|
%package -n libzrtpcpp1
|
|
|
|
License: GPL v2 or later; LGPL v2.1 or later
|
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Summary: a ccrtp extension for zrtp/Zfone support
|
|
|
|
Provides: %{name} = %{version}
|
|
|
|
Obsoletes: %{name} <= %{version}
|
|
|
|
|
|
|
|
%description -n libzrtpcpp1
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-03-03 14:30:32 +01:00
|
|
|
%package devel
|
2008-04-02 22:20:22 +02:00
|
|
|
License: GPL v3 or later
|
2007-03-03 14:30:32 +01:00
|
|
|
Group: Development/Libraries/Other
|
|
|
|
Summary: Headers and static link library for libzrtpcpp
|
2008-05-13 12:35:00 +02:00
|
|
|
Requires: libzrtpcpp1 = %{version} ccrtp-devel
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package provides the header files, link libraries, and
|
|
|
|
documentation for building applications that use libzrtpcpp.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
2008-04-02 22:20:22 +02:00
|
|
|
%setup -q
|
2007-03-28 02:23:38 +02:00
|
|
|
%patch1
|
2008-05-13 12:35:00 +02:00
|
|
|
%patch2
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%build
|
2008-05-13 12:35:00 +02:00
|
|
|
%configure --disable-static --with-pic
|
|
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make check
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2008-05-13 12:35:00 +02:00
|
|
|
rm -f %{buildroot}%{_libdir}/*.la
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2008-04-02 22:20:22 +02:00
|
|
|
%files -n libzrtpcpp1
|
2007-03-03 14:30:32 +01:00
|
|
|
%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
|
|
|
|
|
2008-04-02 22:20:22 +02:00
|
|
|
%post -n libzrtpcpp1 -p /sbin/ldconfig
|
2007-03-03 14:30:32 +01:00
|
|
|
|
2008-04-02 22:20:22 +02:00
|
|
|
%postun -n libzrtpcpp1 -p /sbin/ldconfig
|
2007-03-03 14:30:32 +01:00
|
|
|
|
|
|
|
%changelog
|
2008-05-13 12:35:00 +02:00
|
|
|
* Mon May 12 2008 crrodriguez@suse.de
|
|
|
|
- fix no-return-in-nonvoid-function errors
|
|
|
|
- fix both buildRequires and -devel package dependencies
|
|
|
|
- remove static libraries and "la" files
|
2008-04-02 22:20:22 +02:00
|
|
|
* Wed Apr 02 2008 hvogel@suse.de
|
|
|
|
- update to version 1.0.1
|
|
|
|
* various bugfixes
|
|
|
|
- add libzrtpcpp1 sub-package
|
|
|
|
* Tue Mar 27 2007 mskibbe@suse.de
|
2007-03-28 02:23:38 +02:00
|
|
|
- fix compiler warnings
|
|
|
|
- fix changlog date problems
|
2008-04-02 22:20:22 +02:00
|
|
|
* Fri Mar 02 2007 mskibbe@suse.de
|
2007-03-03 14:30:32 +01:00
|
|
|
- libzrtpcpp-devel has a broken epoch and packaging bugs (#249532)
|
2008-04-02 22:20:22 +02:00
|
|
|
* Thu Feb 15 2007 mskibbe@suse.de
|
2007-03-03 14:30:32 +01:00
|
|
|
- change package for SuSE
|
2008-04-02 22:20:22 +02:00
|
|
|
* Sun Oct 15 2006 cs@linux-administrator.com
|
2007-03-28 02:23:38 +02:00
|
|
|
- initial package build for SuSE 10.1
|