# rpmbuild -ba alevt.spec --with bigfont Summary: Teletext decoder and browser for the bttv based card Name: alevt Version: 1.6.1 Release: 6%{?_with_bigfont:big}%{?dist} License: GPL Group: Video Source0: http://www.goron.de/~froese/%name/%name-%version.tar.bz2 Source10: alevt-big.png Source11: alevt-mini.png Source12: alevt.png Patch0: %name-1.6.0-time.h.patch.bz2 Patch1: alevt-1.6.1-vbi-fix.patch.bz2 Patch2: alevt-1.6.1-koi8.patch.bz2 Patch3: alevt-v4l2.patch Patch4: alevt-fc4.patch Patch9: alevt-bigfont.patch URL: http://www.goron.de/~froese/ BuildRequires: libX11-devel BuildRequires: libpng-devel >= 1.0.8 BuildRequires: zlib-devel BuildRoot: %_tmppath/%name-%version-root-%(id -u -n) %description AleVT is a teletext/videotext decoder and browser for the bttv driver (/dev/vbi) and X11. It features multiple windows, a page cache, regexp searching, built-in manual, and more. There's also a program to get the time from teletext and one to capture teletext pages from scripts. %prep %setup -q %patch0 -p1 %patch1 -p0 %patch2 -p1 %patch3 -p1 %patch4 -p1 %{?_with_bigfont:%patch9 -p1} %build %{?_with_bigfont:touch bdf2xbm; chmod +x bdf2xbm} make OPT="$RPM_OPT_FLAGS" %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%_bindir,%_mandir/man1} install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%_bindir install {alevt-cap.1,alevt-date.1,alevt.1x} $RPM_BUILD_ROOT%_mandir/man1 #install %SOURCE10 $RPM_BUILD_ROOT%_liconsdir/%name.png #install %SOURCE11 $RPM_BUILD_ROOT%_miconsdir/%name.png #install %SOURCE12 $RPM_BUILD_ROOT%_iconsdir/%name.png %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc CHANGELOG COPYRIGHT README %attr(755,root,root) %_bindir/* %_mandir/man1/* #%_menudir/%name #%_iconsdir/%name.png #%_liconsdir/%name.png #%_miconsdir/%name.png %changelog * Tue Oct 29 2002 Thierry Vignaud 1.6.1-2mdk - alter main url as source url was in 1mdk * Tue Oct 29 2002 Thierry Vignaud 1.6.1-1mdk - new release - new url - remove description translations - rediff patch 1 - patch 2 : add support for koi8 (ie for russian people) * Tue Apr 30 2002 Thierry Vignaud 1.6.0-2mdk - add menu entry * Fri Apr 26 2002 Thierry Vignaud 1.6.0-1mdk - initial release - fix missing time.h include [Patch0] - use /dev/vbi0 as fallback [Patch1]