# HG changeset patch # User Michael Schloh von Bennewitz # Date 1235230408 -3600 # Node ID 974f3946908a58f02c75f2173f90f29211e5e949 # Parent ee379de11fd76835093edfbc9f6a5c99520417e3 Import custom package specs to build for undistributed platforms. This allows installation of twinkle and its dependencies on some operating systems not providing it in default package repositories. diff -r ee379de11fd7 -r 974f3946908a ccrtp/ccrtp.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ccrtp/ccrtp.spec Sat Feb 21 16:33:28 2009 +0100 @@ -0,0 +1,84 @@ +%{!?release: %define release 0} +%{!?version: %define version 1.7.1} + +%define _libname libccrtp +%define _devname libccrtp-devel + +Summary: "ccrtp" - a Common C++ class framework for RTP/RTCP +Name: ccrtp +Version: %{version} +Release: %{release}%{?dist} +License: LGPL v2 or later +Group: Development/Libraries +URL: http://www.gnu.org/software/ccrtp/ +Source0: ftp://ftp.gnu.org/gnu/cccrtp/ccrtp-%{PACKAGE_VERSION}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Packager: Michael Schloh von Bennewitz +BuildRequires: commoncpp2-devel >= 1.4.0 +BuildRequires: pkgconfig +BuildRequires: libstdc++-devel +BuildRequires: libgcrypt-devel + +%description +ccRTP is a generic, extensible and efficient C++ framework for +developing applications based on the Real-Time Transport Protocol +(RTP) from the IETF. It is based on Common C++ and provides a full +RTP/RTCP stack for sending and receiving of realtime data by the use +of send and receive packet queues. ccRTP supports unicast, +multi-unicast and multicast, manages multiple sources, handles RTCP +automatically, supports different threading models and is generic as +for underlying network and transport protocols. + +%package -n %{_libname} +Group: System/Libraries +Summary: Runtime library for GNU RTP Stack +Provides: %{name} = %{version}-%{release} + +%package -n %{_devname} +Group: Development/Libraries +Summary: Headers and static link library for ccrtp. +Requires: %{_libname} = %{version} +Requires: commoncpp2-devel >= 1.4.0 +Requires: libgcrypt-devel +Provides: %{name}-devel = %{version}-%{release} + +%description -n %{_libname} +This package contains the runtime library needed by applications that use +the GNU RTP stack. + +%description -n %{_devname} +This package provides the header files, link libraries, and +documentation for building applications that use GNU ccrtp. + +%prep +%setup +%build +%configure + +make %{?_smp_mflags} LDFLAGS="-s" CXXFLAGS="$RPM_OPT_FLAGS" + +%install + +%makeinstall +rm -rf %{buildroot}/%{_infodir} + +%clean +rm -rf %{buildroot} + +%files -n %{_libname} +%defattr(-,root,root,0755) +%doc AUTHORS COPYING ChangeLog README COPYING.addendum +%{_libdir}/*.so.* + +%files -n %{_devname} +%defattr(-,root,root,0755) +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/*.la +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/ccrtp +%{_includedir}/ccrtp/*.h + +%post -n %{_libname} -p /sbin/ldconfig + +%postun -n %{_libname} -p /sbin/ldconfig diff -r ee379de11fd7 -r 974f3946908a libzrtpcpp/libzrtpcpp.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libzrtpcpp/libzrtpcpp.spec Sat Feb 21 16:33:28 2009 +0100 @@ -0,0 +1,109 @@ +%define _libname libzrtpcpp +%define _devname libzrtpcpp-devel + +Summary: A ccrtp extension for zrtp/zfone support +Name: zrtpcpp +Version: 1.4.3 +Release: 0 +License: GPL +Group: Development/Libraries +URL: http://www.gnutelephony.org/index.php/GNU_ZRTP +Source0: ftp://ftp.gnu.org/gnu/ccrtp/libzrtpcpp-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +Packager: Michael Schloh von Bennewitz +BuildRequires: libccrtp-devel >= 1.5.0 +BuildRequires: pkgconfig +BuildRequires: libstdc++-devel + +%description +This library is a GPL licensed extension to the GNU RTP Stack (GNU ccrtp). +This extension offers a C++ implementation of Phil Zimmermann's ZRTP +specification. The current release is based on +draft-zimmermann-avt-zrtp-12.txt which is intended to become the +RFC. Phil's Zfone site provides more +information, see http://zfoneproject.com/index.html + +This implementation was tested to work with Phil's Zfone implementation +of the ZRTP spefication. + +Applications that use GNU ccrtp can use this library to use ZRTP and to +encrypt any RTP (not RTCP) communication. See the demo programs how to +use this. + +This release supports the basic ZRTP features, it does not support +preshared specified in the draft. Also the specified Asterisk PBX mode +is not supported. + +%package -n %{_libname} +Group: System/Libraries +Summary: Runtime library for GNU ZRTP Stack +Requires: libccrtp >= 1.5.0 +Provides: %{name} = %{version}-%{release} + +%package -n %{_devname} +Group: Development/Libraries +Summary: Headers and static link library for libzrtpcpp. +Requires: %{name} = %{version} +Requires: libccrtp-devel >= 1.5.0 +Provides: %{name}-devel = %{version}-%{release} + +%description -n %{_libname} +This package contains the runtime library needed by applications that use +the GNU ZRTP stack. + +%description -n %{_devname} +This package provides the header files, link libraries, and +documentation for building applications that use libzrtpcpp. + +%prep +%setup -n libzrtpcpp-%{version} +%build +%configure +%{__make} %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS" + +%install + +%makeinstall +%{__strip} %{buildroot}/%{_libdir}/lib*.so.*.* +%{__rm} -rf %{buildroot}/%{_infodir} + +%clean +%{__rm} -rf %{buildroot} + +%files -n %{_libname} +%defattr(-,root,root) +%doc AUTHORS COPYING README NEWS INSTALL +%{_libdir}/*.so.* + +%files -n %{_devname} +%defattr(-,root,root) +%{_libdir}/*.a +%{_libdir}/*.so +%{_libdir}/*.la +%{_libdir}/pkgconfig/*.pc +%{_includedir}/libzrtpcpp/*.h + +%post -n %{_libname} -p /sbin/ldconfig + +%postun -n %{_devname} -p /sbin/ldconfig + +%changelog +* Wed Feb 18 2009 - michael@schloh.com +- Update to version 1.4.3 and reformat packaging + +* Fri Jan 26 2009 - werner.dittmann@t-online.de +- Update to version 1.4.2 to support the latest ZRTP + specification draft-zimmermann-avt-zrtp-12 + +* Fri Aug 22 2008 - dyfet@gnutelephony.org +- Adapted for newer library naming conventions. + +* Tue Dec 11 2007 - werner.dittmann@t-online.de +- this is the first spec file for version 1.x.x +- remove the .la file in devel package +- use default file atttribute instead of 755 + +* Sat Apr 18 2007 - werner.dittmann@t-online.de +- set version to 1.1.0 +- GNU ZRTP is compatible with the latest Zfone Beta + from April 2 2007 diff -r ee379de11fd7 -r 974f3946908a twinkle/twinkle.spec --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/twinkle/twinkle.spec Sat Feb 21 16:33:28 2009 +0100 @@ -0,0 +1,70 @@ +Summary: A SIP Soft Phone +Name: twinkle +Version: 1.4.1 +Release: 1 +License: GPL +Group: Productivity/Telephony/SIP/Clients +Source: %{name}-%{version}.tar.gz +Prefix: %{_prefix} +#BuildArch: i586 +BuildArch: x86_64 +BuildRoot: %{_tmppath}/making_of_%{name}_%{version} +Packager: Michael Schloh von Bennewitz +URL: http://www.twinklephone.com/ +Requires: alsa +Requires: commoncpp2 >= 1.6.0 +Requires: libccrtp >= 1.6.0 +Requires: libzrtpcpp >= 1.3.0 +Requires: kdelibs3 >= 3.2.0 +Requires: libsndfile +Requires: libspeex +Requires: libxml2 +Requires: file +Requires: readline +BuildRequires: alsa-devel +BuildRequires: qt3-devel +BuildRequires: qt3-devel-tools +BuildRequires: update-desktop-files +BuildRequires: commoncpp2-devel +BuildRequires: libccrtp-devel +BuildRequires: libzrtpcpp-devel +BuildRequires: kdelibs3-devel +BuildRequires: libsndfile-devel +BuildRequires: speex-devel +BuildRequires: boost-devel +BuildRequires: libxml2-devel +BuildRequires: file-devel +BuildRequires: readline-devel + +%description +Twinkle is a SIP based softphone for making telephone calls +and instant messaging over IP networks. + +%prep + +%setup -q + +%build +#autoreconf -fi +QTDIR=/usr/lib/qt3 \ +%configure --without-ilbc --enable-libsuffix=64 +%{__make} %{?_smp_mflags} %{?mflags} + +%install +rm -rf %{buildroot} +%makeinstall +install -d 755 %{buildroot}%{_datadir}/pixmaps +install -m 644 src/gui/images/twinkle48.png %{buildroot}%{_datadir}/pixmaps/twinkle.png +%suse_update_desktop_file -c twinkle Twinkle "A SIP softphone" twinkle twinkle Network Telephony + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%doc AUTHORS COPYING README ChangeLog +%{_bindir}/%{name} +%{_datadir}/%{name} +%{_datadir}/pixmaps/twinkle.png +%{_datadir}/applications/twinkle.desktop +