1
0
forked from pool/libzrtpcpp
libzrtpcpp/libzrtpcpp.spec

83 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libzrtpcpp (Version 0.9.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# 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/
#
Name: libzrtpcpp
Summary: a ccrtp extension for zrtp/Zfone support
Requires: ccrtp >= 1.5.0
BuildRequires: ccrtp-devel >= 1.5.0 gcc gcc-c++ libgcc libgcrypt-devel libstdc++-devel openssl-devel pkgconfig
Version: 0.9.0
Release: 3
License: GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group: Development/Libraries/Other
URL: http://www.gnu.org/software/commoncpp/commoncpp.html
Source0: ftp://ftp.gnu.org/gnu/cccrtp/%{name}-%{version}.tar.bz2
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.
%package devel
Group: Development/Libraries/Other
Summary: Headers and static link library for libzrtpcpp
Requires: %{name} = %{version}
Requires: ccrtp-devel >= 1.5.0
Requires: libgcrypt-devel
%description devel
This package provides the header files, link libraries, and
documentation for building applications that use libzrtpcpp.
%prep
%setup
%build
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,0755)
%doc AUTHORS COPYING README
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root,0755)
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
%{_includedir}/libzrtpcpp/*.h
%dir %{_includedir}/libzrtpcpp
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Mon Oct 15 2007 - cs@linux-administrator.com
- initial package build for SuSE 10.1
* Fri Mar 02 2007 - mskibbe@suse.de
- libzrtpcpp-devel has a broken epoch and packaging bugs (#249532)
* Thu Feb 15 2007 - mskibbe@suse.de
- change package for SuSE