1# Note that this is NOT a relocatable package
2Name: @PACKAGE@
3Version: @VERSION@
4Release: 1
5Summary: A video stream processing utility
6URL: http://www.transcoding.org/
7License: GPL
8Group: Applications/Multimedia
9Packager: Lenz Grimmer <lenz@grimmer.com>
10Source: %{name}-%{version}.tar.gz
11BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
12
13%description
14transcode is a text-console utility for video stream processing,
15running on a platform that supports shared libraries and threads.  Decoding
16and encoding is done by loading modules that are responsible for feeding
17transcode with raw video/audio streams (import modules) and encoding the
18frames (export modules). It supports elementary video and audio frame
19transformations, including de-interlacing or fast resizing of video frames
20and loading of external filters.
21
22A number of modules are included to enable import of DVDs on-the-fly, MPEG
23elementary (ES) or program streams (VOB), MPEG video, Digital Video (DV),
24YUV4MPEG streams, NuppelVideo file format and raw or compressed
25(pass-through) video frames and export modules for writing DivX;-), DivX
264.02/5.xx, XviD, Digital Video, MPEG-1/2 or uncompressed AVI files with
27MPEG, AC3 (pass-through) or PCM audio.  More file formats and codecs for
28audio/video import are supported by the avifile library import module, the
29export with avifile is restricted to video codecs only, with MPEG/PCM or AC3
30(pass-through) audio provided by transcode. Limited Quicktime export support
31and DVD subtitle rendering is also avaliable.
32
33It's modular concept is intended to provide flexibility and easy user
34extensibility to include other video/audio codecs or file types.  A set of
35tools is available to extract, demultiplex and decode the sources into raw
36video/audio streams for import, non AVI-file export modules for writing
37single frames (PPM) or YUV4MPEG streams, auto-probing and scanning your
38sources and to enable post-processing of AVI files, including header fixing,
39merging multiple files or splitting large AVI files to fit on a CD.
40
41More information and usage examples can be found on the original author's
42home page at
43
44  http://www.theorie.physik.uni-goettingen.de/~ostreich/transcode/
45
46Written by Thomas Oestreich <ostreich@theorie.physik.uni-goettingen.de>
47Currently maintained by Tilmann Bitterberg <transcode@tibit.org>
48See the Authors file for contributions from the transcode community.
49See the file COPYING for license details.
50
51%prep
52%setup -n %{name}-%{version}
53
54%build
55CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir}
56make
57
58%install
59#------------- ab hier bald unnuetz -------------
60perl -pi -e "s|MOD_PATH = /|MOD_PATH = $RPM_BUILD_ROOT|" */Makefile
61#------------- bis hier bald unnuetz ------------
62make install prefix=$RPM_BUILD_ROOT%{_prefix} \
63    MOD_PATH=$RPM_BUILD_ROOT%{_libdir}/%{name} \
64    pkgdir=$RPM_BUILD_ROOT%{_libdir}/%{name} \
65    mandir=$RPM_BUILD_ROOT%{_mandir} \
66    docsdir=$RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
67install -m 644 AUTHORS COPYING ChangeLog README TODO $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
68
69%clean
70[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(-,root,root)
74%doc %{_defaultdocdir}/%{name}
75%doc %{_mandir}/man1/*
76%{_bindir}/*
77%{_libdir}/transcode
78
79%changelog
80* Fri Aug 08 2003 Lenz Grimmer <lenz@grimmer.com>
81- fixed docs installation (current spec file did not work on Red Hat 9)
82- minor cleanups
83
84* Thu Jul 31 2003 Lenz Grimmer <lenz@grimmer.com>
85- fixed file list, use more macros (_mandir, _libdir), added URL
86- updated package description
87
88* Tue Dec 10 2002 Rainer Lay <rainer.lay@cs.fau.de> 0.6.3.20021205-1
89- removed extra man in files section
90
91* Thu Apr 18 2002 Michel Alexandre Salim
92- man pages go to /usr/share/man
93- modified for snapshot releases
94
95* Wed Jul 11 2001 Thomas Oestreich
96- update to transcode v0.3.3
97- small changes suggested by VM
98
99* Tue Jul 10 2001 Thomas Oestreich
100- update to transcode v0.3.2
101- added pkgdir in install section
102
103* Tue Jul 10 2001 Volker Moell <moell@gmx.de>
104- Wrote this specfile; first build
105