Jelajahi Sumber

rtmpdump-2.4.git20140606-1

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8527 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 10 tahun lalu
induk
melakukan
99bcd0187f
1 mengubah file dengan 12 tambahan dan 6 penghapusan
  1. 12 6
      r/rtmpdump/rtmpdump-vl.spec

+ 12 - 6
r/rtmpdump/rtmpdump-vl.spec

@@ -1,5 +1,8 @@
+%define srcver 2.4
+%define gitdate 20140606
+
 Name:		rtmpdump
-Version:	2.3
+Version:	%{srcver}.git%{gitdate}
 Release:	1%{?_dist_release}
 Summary:	Toolkit for RTMP streams
 
@@ -9,10 +12,10 @@ License:	GPLv2+
 # (for which you'd probably want to make it a dynamic library) you should
 # label its licence correctly. But the _tools_ are GPLv2.
 URL:		http://rtmpdump.mplayerhq.hu/
-Source0:	http://rtmpdump.mplayerhq.hu/download/rtmpdump-%{version}.tgz
+Source0:	rtmpdump-%{srcver}-git%{gitdate}.tar.xz
 BuildRoot:	%{_tmppath}/%{name}-%{version}-root
 
-BuildRequires:	gnutls-devel zlib-devel
+BuildRequires:	gmp-devel gnutls-devel zlib-devel
 
 %description
 rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
@@ -38,11 +41,11 @@ librtmp is a suport library for RTMP streams. The librtmp-devel package
 contains include files needed to develop applications using librtmp.
 
 %prep
-%setup -q
+%setup -q -c -n rtmpdump
 
 %build
 # The fact that we have to add -ldl for gnutls is Fedora bug #611318
-%__make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl" LIBRTMP=librtmp/librtmp.so LIBS=
+%__make CRYPTO=GNUTLS SHARED=yes OPT="$RPM_OPT_FLAGS" LIB_GNUTLS="-lgnutls -lgcrypt -ldl" LIBRTMP=librtmp/librtmp.so
 
 
 %install
@@ -71,7 +74,7 @@ contains include files needed to develop applications using librtmp.
 
 %files -n librtmp
 %defattr(-,root,root,-)
-%{_libdir}/librtmp.so.0
+%{_libdir}/librtmp.so.*
 %doc librtmp/COPYING
 
 %files -n librtmp-devel
@@ -84,6 +87,9 @@ contains include files needed to develop applications using librtmp.
 
 
 %changelog
+* Thu Jun 5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.git20140606-1
+- updated sources to git master.
+
 * Sat Mar 26 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.3-1
 - initial build for VineSeed based on RPM Fusion development