|
@@ -1,31 +1,28 @@
|
|
|
%define cvs 20080211
|
|
|
|
|
|
Name: ortp
|
|
|
-Version: 0.14.2
|
|
|
-Release: 0.%{cvs}.1%{?_dist_release}
|
|
|
Summary: A C library implementing the RTP protocol (RFC3550)
|
|
|
+Version: 0.16.3
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+#Release: 0.%{cvs}.1%{?_dist_release}
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
License: LGPLv2+ and VSL
|
|
|
URL: http://www.linphone.org/index.php/code_review/ortp
|
|
|
-#Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-%{version}.tar.gz
|
|
|
+
|
|
|
+Source0: http://download.savannah.nongnu.org/releases/linphone/ortp/sources/ortp-%{version}.tar.gz
|
|
|
|
|
|
# git clone http://jcollie.fedorapeople.org/ortp.git ortp.git
|
|
|
# cd ortp.git
|
|
|
# git archive --format=tar --prefix=ortp-%{version}/ ortp-%{version}-%{cvs} > ortp-%{version}-%{cvs}.tar
|
|
|
# bzip2 ortp-%{version}-%{cvs}.tar
|
|
|
-Source0: ortp-%{version}-%{cvs}.tar.bz2
|
|
|
-Patch0: ortp-0.14.1-nowerror.patch
|
|
|
+#Source0: ortp-%{version}-%{cvs}.tar.bz2
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-
|
|
|
+BuildRequires: openssl-devel
|
|
|
BuildRequires: doxygen
|
|
|
BuildRequires: graphviz
|
|
|
|
|
|
-BuildRequires: autoconf
|
|
|
-BuildRequires: automake
|
|
|
-BuildRequires: libtool
|
|
|
-
|
|
|
%description
|
|
|
oRTP is a C library that implements RTP (RFC3550).
|
|
|
|
|
@@ -33,6 +30,7 @@ oRTP is a C library that implements RTP (RFC3550).
|
|
|
Summary: Development libraries for ortp
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
+Requires: openssl-devel
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
%description devel
|
|
@@ -40,16 +38,10 @@ Libraries and headers required to develop software with ortp.
|
|
|
|
|
|
%prep
|
|
|
%setup0 -q
|
|
|
-%patch0 -p1
|
|
|
|
|
|
%{__perl} -pi.dot -e 's/^(HAVE_DOT\s+=)\s+NO$/\1 YES/;s/^(CALL_GRAPH\s+=)\s+NO$/\1 YES/;s/^(CALLER_GRAPH\s+=)\s+NO$/\1 YES/' ortp.doxygen.in
|
|
|
|
|
|
%build
|
|
|
-libtoolize --copy --force
|
|
|
-aclocal
|
|
|
-autoheader
|
|
|
-automake --add-missing --copy
|
|
|
-autoconf
|
|
|
%configure --disable-static --enable-ipv6
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
@@ -57,8 +49,9 @@ make %{?_smp_mflags}
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
find $RPM_BUILD_ROOT -name \*.la -exec rm {} \;
|
|
|
+
|
|
|
rm doc/html/html.tar
|
|
|
-rm -r %{buildroot}%{_datadir}/doc/ortp
|
|
|
+rm -r $RPM_BUILD_ROOT%{_datadir}/doc/ortp
|
|
|
|
|
|
%clean
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
@@ -79,6 +72,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_libdir}/pkgconfig/ortp.pc
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.16.3-1
|
|
|
+- new upstream release
|
|
|
+- added BR: openssl-devel
|
|
|
+
|
|
|
* Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.14.2-0.20080211.1
|
|
|
- Initial build for Vine Linux
|
|
|
|