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