Author: gotar Date: Tue Jan 3 21:22:45 2012 GMT Module: packages Tag: HEAD ---- Log message: - initial PLD release
---- Files affected: packages/tstools: tstools.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/tstools/tstools.spec diff -u /dev/null packages/tstools/tstools.spec:1.1 --- /dev/null Tue Jan 3 22:22:45 2012 +++ packages/tstools/tstools.spec Tue Jan 3 22:22:40 2012 @@ -0,0 +1,56 @@ +# $Revision$, $Date$ +Summary: Command line tools for working with MPEG streams +Name: tstools +Version: 1.11 +Release: 1 +License: MPL v1.1 +Group: Applications/Networking +Source0: http://tstools.googlecode.com/files/%{name}-1_11.tgz +# Source0-md5: 2650a09f828b19bb22829a7828f13cde +URL: http://tstools.berlios.de/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +The tools are focussed on: +* Quick reporting of useful data (tsinfo, stream_type) +* Giving a quick overview of the entities in the stream (esdots, psdots) +* Reporting on TS packets (tsreport) or ES units/frames/fields (esreport) +* Simple manipulation of stream data (es2ts, esfilter, esreverse, esmerge, ts2es) +* Streaming of data, possibly with introduced errors (tsplay) + +%prep +%setup -q +%{__sed} -e 's/libtstools.a/libtstools.so/' -i Makefile +%{__sed} -e 's/$(LIB): $(LIB)($(OBJS))/$(LIB): $(OBJS)\n $(CC) -shared $(CFLAGS) $(OBJS) -o $@/' -i Makefile + +%build +%{__make} -j1 \ + OPTIMISE_FLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} + +cp -a bin/* $RPM_BUILD_ROOT%{_bindir} +cp -a lib/lib%{name}.so $RPM_BUILD_ROOT%{_libdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc data docs/* +%attr(755,root,root) %{_bindir}/* +%attr(755,root,root) %{_libdir}/lib%{name}.so + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2012/01/03 21:22:40 gotar +- initial PLD release ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
