Browse Source

added tstools-vl.spec

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2368 ec354946-7b23-47d6-9f5a-488ba84defc7
munepi 13 years ago
parent
commit
c980454ea9
1 changed files with 75 additions and 0 deletions
  1. 75 0
      t/tstools/tstools-vl.spec

+ 75 - 0
t/tstools/tstools-vl.spec

@@ -0,0 +1,75 @@
+%define pkgversion %(echo %version | %__sed s/\\\\\./_/)
+
+Summary: Cross-platform command line tools for working with MPEG data (TS, PS and ES)
+Name: tstools
+Version: 1.11
+Release: 1%{?_dist_release}
+License: MPLv1.1
+Group: Applications/Multimedia
+URL: http://code.google.com/p/tstools/
+Source0: http://tstools.googlecode.com/files/%{name}-%{pkgversion}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+
+Distribution:	Vine
+Vendor:		Project Vine
+Packager:	munepi
+
+%description
+tstools is a set of cross-platform command line tools for working with MPEG 
+data.
+
+The emphasis is on relatively simple tools which concentrate on MPEG 
+(H.264 and H.262) data packaged according to H.222 (i.e., TS or PS), 
+with a particular interest in checking for conformance.
+
+Transport Stream (TS) is typically used for distribution of cable and 
+satellite data. Program Stream (PS) is typically used to store data on DVDs.
+
+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
+
+%build
+%__make %{?_smp_mflags}
+
+%install
+%__rm -rf $RPM_BUILD_ROOT
+
+%__mkdir_p ${RPM_BUILD_ROOT}/%{_bindir}
+%__install -m0755 bin/* ${RPM_BUILD_ROOT}/%{_bindir}
+
+%clean
+%__rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc docs/*
+%{_bindir}/es2ts
+%{_bindir}/esdots
+%{_bindir}/esfilter
+%{_bindir}/esmerge
+%{_bindir}/esreport
+%{_bindir}/esreverse
+%{_bindir}/m2ts2ts
+%{_bindir}/pcapreport
+%{_bindir}/ps2ts
+%{_bindir}/psdots
+%{_bindir}/psreport
+%{_bindir}/stream_type
+%{_bindir}/ts2es
+%{_bindir}/ts_packet_insert
+%{_bindir}/tsinfo
+%{_bindir}/tsplay
+%{_bindir}/tsreport
+%{_bindir}/tsserve
+
+%changelog
+* Sun Dec 19 2010 Munehiro Yamamoto <munepi@vinelinux.org> 1.11-1
+- Initial build.