afaf8f922f6179742d2fb56d44c0ad4abf09fcf3
[packages/alevt.git] / alevt.spec
1 Summary:        Teletext decoder and browser for the bttv based card
2 Summary(de.UTF-8):      Videotext/Teletext
3 Summary(pl.UTF-8):      Dekoder Teletekstu
4 Name:           alevt
5 Version:        1.6.1
6 Release:        3
7 License:        GPL
8 Group:          X11/Applications
9 Source0:        http://www.goron.de/~froese/%{name}/%{name}-%{version}.tar.gz
10 # Source0-md5:  df6e241c6e2c6505c95d50cde0e1bc73
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-time-include.patch
13 Patch1:         %{name}-time.h.patch
14 Patch2:         %{name}-amd64.patch
15 Patch3:         %{name}-compile.patch
16 URL:            http://www.goron.de/~froese/
17 BuildRequires:  libpng-devel >= 1.0.8
18 BuildRequires:  xorg-lib-libX11-devel
19 BuildRequires:  zlib-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
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
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.
27
28 %description -l pl.UTF-8
29 Dekoder oraz przeglądarka teletekstu. Pakiet ten umożliwia
30 przeglądanie stron telegazety.
31
32 %description -l de.UTF-8
33 X11 Videotextdecoder für den bttv Treiber.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39 %if "%{_lib}" == "lib64"
40 %patch2 -p1
41 %endif
42 %patch3 -p1
43
44 %build
45 %{__make} \
46         CC="%{__cc}" \
47         OPT="%{rpmcflags}"
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
52
53 install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%{_bindir}
54 install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1
55 install contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
56 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc README CHANGELOG
64 %attr(755,root,root) %{_bindir}/*
65 %{_mandir}/man1/*
66 %{_pixmapsdir}/%{name}.xpm
67 %{_desktopdir}/%{name}.desktop
This page took 0.094031 seconds and 2 git commands to generate.