packages: rtmpdump/rtmpdump.spec (NEW) - NEW, NFY, still working no it

sparky sparky at pld-linux.org
Sun Jun 27 15:37:30 CEST 2010


Author: sparky                       Date: Sun Jun 27 13:37:30 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- NEW, NFY, still working no it

---- Files affected:
packages/rtmpdump:
   rtmpdump.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/rtmpdump/rtmpdump.spec
diff -u /dev/null packages/rtmpdump/rtmpdump.spec:1.1
--- /dev/null	Sun Jun 27 15:37:30 2010
+++ packages/rtmpdump/rtmpdump.spec	Sun Jun 27 15:37:25 2010
@@ -0,0 +1,96 @@
+# $Revision$, $Date$
+#
+Summary:	A utility for getting files from RTMP servers
+Name:		rtmpdump
+Version:	2.2e
+Release:	0.1
+License:	GPL v2
+Group:		Applications/Networking
+Source0:	http://rtmpdump.mplayerhq.hu/download/%{name}-%{version}.tar.gz
+# Source0-md5:	10681c2fe41194a97d508d0e6bbfe74f
+#Patch0:		%{name}-libtool.patch
+URL:		http://rtmpdump.mplayerhq.hu/
+Requires:	librtmp = %{version}-%{release}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+rtmpdump is a toolkit for RTMP streams. All forms of RTMP are
+supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://
+and rtmps://.
+
+%package -n librtmp
+Summary:	rtmp library
+Group:		Libraries
+
+%description -n librtmp
+rtmp library.
+
+%package -n librtmp-devel
+Summary:	Header files and development documentation for rtmp library
+Group:		Development/Libraries
+Requires:	librtmp = %{version}-%{release}
+
+%description -n librtmp-devel
+Header files and development documentation for rtmp library.
+
+%package -n librtmp-static
+Summary:	Static version of rtmp library
+Group:		Development/Libraries
+Requires:	librtmp-devel = %{version}-%{release}
+
+%description -n librtmp-static
+Static version of rtmp library.
+
+%prep
+%setup -q
+#%%patch0 -p1
+
+%build
+%{__make} \
+	libdir=%{_libdir} \
+	CC="%{__cc}" \
+	OPT="%{rpmcppflags} %{rpmcflags}" \
+	XLDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-n librtmp -p /sbin/ldconfig
+%postun -n librtmp -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%attr(755,root,root) %{_bindir}/rtmp*
+
+%files -n librtmp
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/librtmp.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/librtmp.so.0
+
+%files -n librtmp-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/librtmp.so
+%{_libdir}/librtmp.la
+%{_includedir}/rtmp
+%{_pkgconfigdir}/librtmp.pc
+
+%files -n librtmp-static
+%defattr(644,root,root,755)
+%{_libdir}/librtmp.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/06/27 13:37:25  sparky
+- NEW, NFY, still working no it
+
================================================================


More information about the pld-cvs-commit mailing list