Use dyfet github repo for libccrtp
diff --git a/jni/libccrtp/sources/ccrtp.spec.cmake b/jni/libccrtp/sources/ccrtp.spec.cmake
index eae5e2d..75ffbd9 100644
--- a/jni/libccrtp/sources/ccrtp.spec.cmake
+++ b/jni/libccrtp/sources/ccrtp.spec.cmake
@@ -1,19 +1,28 @@
+# Copyright (c) 2014 David Sugar, Tycho Softworks.
+# This file is free software; as a special exception the author gives
+# unlimited permission to copy and/or distribute it, with or without
+# modifications, as long as this notice is preserved.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
%{!?release: %define release 0}
%{!?version: %define version @VERSION@}
-%define _libname libccrtp2
-%define _devname libccrtp-devel
+%define libname libccrtp2
Summary: A Common C++ Class Framework for RTP Packets
Name: libccrtp
-Version: %{version}
-Release: %{release}%{?dist}
+Version: @VERSION@
+Release: 0
License: LGPL v2 or later
Group: Development/Libraries/C and C++
URL: http://www.gnu.org/software/commoncpp/commoncpp.html
Source0: http://www.gnutelephony.org/dist/tarballs/ccrtp-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-BuildRequires: ucommon-devel >= 5.0.0
+BuildRequires: ucommon-devel >= 6.0.0
BuildRequires: pkgconfig libstdc++-devel libgcrypt-devel gcc-c++ cmake
%define srcdirname %{name}-%{version}
@@ -28,14 +37,14 @@
automatically, supports different threading models and is generic as
for underlying network and transport protocols.
-%package -n %{_devname}
+%package devel
Group: Development/Libraries/C and C++
Summary: Headers and static link library for ccrtp
-Requires: %{name} = %{version}-%{release}
-Requires: ucommon-devel >= 5.0.0
+Requires: %{libname} = %{version}-%{release}
+Requires: ucommon-devel >= 6.0.0
Requires: libgcrypt-devel
-%description -n %{_devname}
+%description devel
This package provides the header files, link libraries, and
documentation for building applications that use GNU ccrtp
@@ -63,22 +72,22 @@
%clean
%{__rm} -rf %{buildroot}
-%files
-%defattr(-,root,root,0755)
+%files -n %libname
+%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog README COPYING.addendum
%{_libdir}/*.so.*
-%files -n %{_devname}
-%defattr(-,root,root,0755)
+%files devel
+%defattr(-,root,root,-)
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%dir %{_includedir}/ccrtp
%{_includedir}/ccrtp/*.h
%{_infodir}/ccrtp.info*
-%post -p /sbin/ldconfig
+%post -n %libname -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%postun -n %libname -p /sbin/ldconfig
%post devel
%install_info --info-dir=%{_infodir} %{_infodir}/ccrtp.info.gz