]>
Commit | Line | Data |
---|---|---|
fb865c11 | 1 | Summary: Teletext decoder and browser for the bttv based card |
eda6129b ER |
2 | Summary(de.UTF-8): Videotext/Teletext |
3 | Summary(pl.UTF-8): Dekoder Teletekstu | |
fb865c11 | 4 | Name: alevt |
96feba40 | 5 | Version: 1.6.1 |
885885e6 | 6 | Release: 3 |
39c111cc | 7 | License: GPL |
fb865c11 | 8 | Group: X11/Applications |
96feba40 | 9 | Source0: http://www.goron.de/~froese/%{name}/%{name}-%{version}.tar.gz |
d33e399f | 10 | # Source0-md5: df6e241c6e2c6505c95d50cde0e1bc73 |
d8b05d94 | 11 | Source1: %{name}.desktop |
9d7a2f9e | 12 | Patch0: %{name}-time-include.patch |
04601f17 | 13 | Patch1: %{name}-time.h.patch |
ed618538 | 14 | Patch2: %{name}-amd64.patch |
c94892ff | 15 | Patch3: %{name}-compile.patch |
96feba40 | 16 | URL: http://www.goron.de/~froese/ |
04601f17 | 17 | BuildRequires: libpng-devel >= 1.0.8 |
6cc39198 | 18 | BuildRequires: xorg-lib-libX11-devel |
11cfb83e | 19 | BuildRequires: zlib-devel |
9755203f | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11cfb83e | 21 | |
fb865c11 | 22 | %description |
23 | AleVT is a teletext/videotext decoder and browser for the bttv driver | |
24 | (/dev/vbi) and X11. It features multiple windows, a page cache, regexp | |
39bde022 | 25 | searching, built-in manual, and more. There's also a program to get |
26 | the time from teletext and one to capture teletext pages from scripts. | |
11cfb83e | 27 | |
d9f2c6a4 JR |
28 | %description -l pl.UTF-8 |
29 | Dekoder oraz przeglądarka teletekstu. Pakiet ten umożliwia | |
30 | przeglądanie stron telegazety. | |
11cfb83e | 31 | |
d9f2c6a4 JR |
32 | %description -l de.UTF-8 |
33 | X11 Videotextdecoder für den bttv Treiber. | |
11cfb83e | 34 | |
11cfb83e | 35 | %prep |
20828b1b | 36 | %setup -q |
9d7a2f9e | 37 | %patch0 -p1 |
04601f17 | 38 | %patch1 -p1 |
93b49eee | 39 | %if "%{_lib}" == "lib64" |
ed618538 | 40 | %patch2 -p1 |
41 | %endif | |
c94892ff | 42 | %patch3 -p1 |
9d7a2f9e | 43 | |
11cfb83e | 44 | %build |
20828b1b | 45 | %{__make} \ |
d8b05d94 | 46 | CC="%{__cc}" \ |
47 | OPT="%{rpmcflags}" | |
11cfb83e | 48 | |
49 | %install | |
11cfb83e | 50 | rm -rf $RPM_BUILD_ROOT |
d8b05d94 | 51 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}} |
edc91545 | 52 | |
d8b05d94 | 53 | install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%{_bindir} |
20828b1b | 54 | install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1 |
d8b05d94 | 55 | install contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm |
56 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
fb865c11 | 57 | |
11cfb83e | 58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
11cfb83e | 62 | %defattr(644,root,root,755) |
96feba40 | 63 | %doc README CHANGELOG |
edc91545 | 64 | %attr(755,root,root) %{_bindir}/* |
65 | %{_mandir}/man1/* | |
d8b05d94 | 66 | %{_pixmapsdir}/%{name}.xpm |
67 | %{_desktopdir}/%{name}.desktop |