Author: dwmw2
Update of /cvs/free/rpms/rtmpdump/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv6685
Modified Files:
.cvsignore rtmpdump.spec sources
Log Message:
update to 2.3, enable shared library
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/devel/.cvsignore,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- .cvsignore 30 Apr 2010 09:58:43 -0000 1.3
+++ .cvsignore 4 Jul 2010 20:29:51 -0000 1.4
@@ -1 +1 @@
-rtmpdump-2.2d.tgz
+rtmpdump-2.3.tgz
Index: rtmpdump.spec
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/devel/rtmpdump.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- rtmpdump.spec 30 Apr 2010 09:58:43 -0000 1.3
+++ rtmpdump.spec 4 Jul 2010 20:29:51 -0000 1.4
@@ -1,5 +1,5 @@
Name: rtmpdump
-Version: 2.2d
+Version: 2.3
Release: 1%{?dist}
Summary: Toolkit for RTMP streams
@@ -18,23 +18,36 @@
rtmpdump is a toolkit for RTMP streams. All forms of RTMP are supported,
including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
+%package -n librtmp
+Summary: Support library for RTMP streams
+Group: Applications/Internet
+License: LGPLv2+
+
+%description -n librtmp
+librtmp is a suport library for RTMP streams. All forms of RTMP are supported,
+including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps://.
+
+%package -n librtmp-devel
+Summary: Files for librtmp development
+Group: Applications/Internet
+License: LGPLv2+
+
+%description -n librtmp-devel
+librtmp is a suport library for RTMP streams. The librtmp-devel package
+contains include files needed to develop applications using librtmp.
+
%prep
%setup -q
%build
-make CRYPTO=GNUTLS OPT="$RPM_OPT_FLAGS" progs
+# 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=
%install
rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-for FILE in rtmpdump rtmpgw rtmpsrv rtmpsuck; do
- install -m 0755 $FILE $RPM_BUILD_ROOT%{_bindir}
-done
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-install -m 0644 rtmpdump.1 $RPM_BUILD_ROOT%{_mandir}/man1
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8
-install -m 0644 rtmpgw.8 $RPM_BUILD_ROOT%{_mandir}/man8
+make CRYPTO=GNUTLS SHARED=yes DESTDIR=$RPM_BUILD_ROOT prefix=/usr mandir=%{_mandir}
libdir=%{_libdir} install
+rm -f $RPM_BUILD_ROOT/%{_libdir}/librtmp.a
%clean
rm -rf $RPM_BUILD_ROOT
@@ -43,17 +56,30 @@
%files
%defattr(-,root,root,-)
%{_bindir}/rtmpdump
-%{_bindir}/rtmpsrv
-%{_bindir}/rtmpgw
-%{_bindir}/rtmpsuck
-%{_mandir}/man1/rtmpdump.1.*
-%{_mandir}/man8/rtmpgw.8.*
-
-%doc COPYING ChangeLog README
+%{_sbindir}/rtmpsrv
+%{_sbindir}/rtmpgw
+%{_sbindir}/rtmpsuck
+%{_mandir}/man1/rtmpdump.1*
+%{_mandir}/man8/rtmpgw.8*
+%doc COPYING README
+%files -n librtmp
+%defattr(-,root,root,-)
+%{_libdir}/librtmp.so.0
+%doc librtmp/COPYING
+%files -n librtmp-devel
+%defattr(-,root,root,-)
+/usr/include/librtmp
+%{_libdir}/librtmp.so
+%{_libdir}/pkgconfig/librtmp.pc
+%{_mandir}/man3/librtmp.3*
+%doc ChangeLog
%changelog
+* Sun Jul 04 2010 David Woodhouse <dwmw2(a)infradead.org> 2.3-1
+- Update to 2.3; build shared library
+
* Fri Apr 30 2010 David Woodhouse <dwmw2(a)infradead.org> 2.2d-1
- Update to 2.2d
Index: sources
===================================================================
RCS file: /cvs/free/rpms/rtmpdump/devel/sources,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sources 30 Apr 2010 09:58:43 -0000 1.3
+++ sources 4 Jul 2010 20:29:51 -0000 1.4
@@ -1 +1 @@
-f12086283002c27e0fa11e33e83b7647 rtmpdump-2.2d.tgz
+eb961f31cd55f0acf5aad1a7b900ef59 rtmpdump-2.3.tgz
Show replies by date