You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

105 lines
4.0 KiB

# Note that this is NOT a relocatable package
Name: @PACKAGE@
Version: @VERSION@
Release: 1
Summary: A video stream processing utility
URL: http://www.transcoding.org/
License: GPL
Group: Applications/Multimedia
Packager: Lenz Grimmer <lenz@grimmer.com>
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
transcode is a text-console utility for video stream processing,
running on a platform that supports shared libraries and threads. Decoding
and encoding is done by loading modules that are responsible for feeding
transcode with raw video/audio streams (import modules) and encoding the
frames (export modules). It supports elementary video and audio frame
transformations, including de-interlacing or fast resizing of video frames
and loading of external filters.
A number of modules are included to enable import of DVDs on-the-fly, MPEG
elementary (ES) or program streams (VOB), MPEG video, Digital Video (DV),
YUV4MPEG streams, NuppelVideo file format and raw or compressed
(pass-through) video frames and export modules for writing DivX;-), DivX
4.02/5.xx, XviD, Digital Video, MPEG-1/2 or uncompressed AVI files with
MPEG, AC3 (pass-through) or PCM audio. More file formats and codecs for
audio/video import are supported by the avifile library import module, the
export with avifile is restricted to video codecs only, with MPEG/PCM or AC3
(pass-through) audio provided by transcode. Limited Quicktime export support
and DVD subtitle rendering is also avaliable.
It's modular concept is intended to provide flexibility and easy user
extensibility to include other video/audio codecs or file types. A set of
tools is available to extract, demultiplex and decode the sources into raw
video/audio streams for import, non AVI-file export modules for writing
single frames (PPM) or YUV4MPEG streams, auto-probing and scanning your
sources and to enable post-processing of AVI files, including header fixing,
merging multiple files or splitting large AVI files to fit on a CD.
More information and usage examples can be found on the original author's
home page at
http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/
Written by Thomas Oestreich <ostreich@theorie.physik.uni-goettingen.de>
Currently maintained by Tilmann Bitterberg <transcode@tibit.org>
See the Authors file for contributions from the transcode community.
See the file COPYING for license details.
%prep
%setup -n %{name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir}
make
%install
#------------- ab hier bald unnuetz -------------
perl -pi -e "s|MOD_PATH = /|MOD_PATH = $RPM_BUILD_ROOT|" */Makefile
#------------- bis hier bald unnuetz ------------
make install prefix=$RPM_BUILD_ROOT%{_prefix} \
MOD_PATH=$RPM_BUILD_ROOT%{_libdir}/%{name} \
pkgdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
mandir=$RPM_BUILD_ROOT%{_mandir} \
docsdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
install -m 644 AUTHORS COPYING ChangeLog README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc %{_defaultdocdir}/%{name}
%doc %{_mandir}/man1/*
%{_bindir}/*
%{_libdir}/transcode
%changelog
* Fri Aug 08 2003 Lenz Grimmer <lenz@grimmer.com>
- fixed docs installation (current spec file did not work on Red Hat 9)
- minor cleanups
* Thu Jul 31 2003 Lenz Grimmer <lenz@grimmer.com>
- fixed file list, use more macros (_mandir, _libdir), added URL
- updated package description
* Tue Dec 10 2002 Rainer Lay <rainer.lay@cs.fau.de> 0.6.3.20021205-1
- removed extra man in files section
* Thu Apr 18 2002 Michel Alexandre Salim
- man pages go to /usr/share/man
- modified for snapshot releases
* Wed Jul 11 2001 Thomas Oestreich
- update to transcode v0.3.3
- small changes suggested by VM
* Tue Jul 10 2001 Thomas Oestreich
- update to transcode v0.3.2
- added pkgdir in install section
* Tue Jul 10 2001 Volker Moell <moell@gmx.de>
- Wrote this specfile; first build