X-Git-Url: http://git.pld-linux.org/?p=packages%2Falevt.git;a=blobdiff_plain;f=alevt.spec;h=0c6a0fbb109166c0786b14e34841c2b9cb646fb2;hp=ba6e2d2b48665eaa45d8891d1dee030e589be4ef;hb=cfeaa9e12e4d459ae36e760b72e768f2c093afcd;hpb=a4982b607ddbbe1c3913f147a852406675bb1499 diff --git a/alevt.spec b/alevt.spec index ba6e2d2..0c6a0fb 100644 --- a/alevt.spec +++ b/alevt.spec @@ -1,55 +1,61 @@ Summary: Teletext decoder and browser for the bttv based card -Summary(pl): Dekoder przegl±darka i teletekstu i dla bttv -Summary(de): Videotext/Teletext +Summary(de.UTF-8): Videotext/Teletext +Summary(pl.UTF-8): Dekoder Teletekstu Name: alevt -Version: 1.6.0 -Release: 1 -License: GNU +Version: 1.6.2 +Release: 4 +License: GPL Group: X11/Applications -Group(de): X11/Applikationen -Group(pl): X11/Aplikacje -Source0: http://user.exit.de/froese/%{name}/%{name}-%{version}.tar.gz -URL: http://user.exit.de/froese/ -BuildRequires: XFree86-devel -BuildRequires: libpng >= 1.0.8 +Source0: http://www.goron.de/~froese/%{name}/%{name}-%{version}.tar.gz +# Source0-md5: e5a32776e7eff48ec48449b3c3c1cc23 +Source1: %{name}.desktop +Patch0: %{name}-time-include.patch +Patch1: %{name}-time.h.patch +URL: http://www.goron.de/~froese/ +BuildRequires: libpng-devel >= 1.0.8 +BuildRequires: xorg-lib-libX11-devel BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -%define _prefix /usr/X11R6 -%define _mandir %{_prefix}/man - %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. -%description -l pl -Dekoder przegl±darka i teletekstu i dla bttv. +%description -l pl.UTF-8 +Dekoder oraz przeglądarka teletekstu. Pakiet ten umożliwia +przeglądanie stron telegazety. -%description -l de -X11 Videotextdecoder für den bttv Treiber. +%description -l de.UTF-8 +X11 Videotextdecoder für den bttv Treiber. %prep -%setup -q -n alevt-%{version} +%setup -q +%patch0 -p1 +%patch1 -p1 %build -%{__make} OPT="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" +%{__make} \ + CC="%{__cc}" \ + OPT="%{rpmcflags}" %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 -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}} -gzip -9nf README CHANGELOG +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 contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm +install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc *.gz +%doc README CHANGELOG %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* +%{_pixmapsdir}/%{name}.xpm +%{_desktopdir}/%{name}.desktop