]>
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 |
96feba40 | 15 | URL: http://www.goron.de/~froese/ |
fb865c11 | 16 | BuildRequires: XFree86-devel |
04601f17 | 17 | BuildRequires: libpng-devel >= 1.0.8 |
11cfb83e | 18 | BuildRequires: zlib-devel |
9755203f | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
11cfb83e | 20 | |
fb865c11 | 21 | %description |
22 | AleVT is a teletext/videotext decoder and browser for the bttv driver | |
23 | (/dev/vbi) and X11. It features multiple windows, a page cache, regexp | |
39bde022 | 24 | searching, built-in manual, and more. There's also a program to get |
25 | the time from teletext and one to capture teletext pages from scripts. | |
11cfb83e | 26 | |
d9f2c6a4 JR |
27 | %description -l pl.UTF-8 |
28 | Dekoder oraz przeglądarka teletekstu. Pakiet ten umożliwia | |
29 | przeglądanie stron telegazety. | |
11cfb83e | 30 | |
d9f2c6a4 JR |
31 | %description -l de.UTF-8 |
32 | X11 Videotextdecoder für den bttv Treiber. | |
11cfb83e | 33 | |
11cfb83e | 34 | %prep |
20828b1b | 35 | %setup -q |
9d7a2f9e | 36 | %patch0 -p1 |
04601f17 | 37 | %patch1 -p1 |
93b49eee | 38 | %if "%{_lib}" == "lib64" |
ed618538 | 39 | %patch2 -p1 |
40 | %endif | |
9d7a2f9e | 41 | |
11cfb83e | 42 | %build |
20828b1b | 43 | %{__make} \ |
d8b05d94 | 44 | CC="%{__cc}" \ |
45 | OPT="%{rpmcflags}" | |
11cfb83e | 46 | |
47 | %install | |
11cfb83e | 48 | rm -rf $RPM_BUILD_ROOT |
d8b05d94 | 49 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}} |
edc91545 | 50 | |
d8b05d94 | 51 | install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%{_bindir} |
20828b1b | 52 | install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1 |
d8b05d94 | 53 | install contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm |
54 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop | |
fb865c11 | 55 | |
11cfb83e | 56 | %clean |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files | |
11cfb83e | 60 | %defattr(644,root,root,755) |
96feba40 | 61 | %doc README CHANGELOG |
edc91545 | 62 | %attr(755,root,root) %{_bindir}/* |
63 | %{_mandir}/man1/* | |
d8b05d94 | 64 | %{_pixmapsdir}/%{name}.xpm |
65 | %{_desktopdir}/%{name}.desktop |