]> git.pld-linux.org Git - packages/alevt.git/blob - alevt.spec
- simplfied %%prep and %%install a bit
[packages/alevt.git] / alevt.spec
1 Summary:        Teletext decoder and browser for the bttv based card
2 Summary(pl):    Dekoder Teletekstu
3 Summary(de):    Videotext/Teletext
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 Patch0:         %{name}-time-include.patch
12 Patch1:         %{name}-time.h.patch
13 Patch2:         %{name}-amd64.patch
14 URL:            http://www.goron.de/~froese/
15 BuildRequires:  XFree86-devel
16 BuildRequires:  libpng-devel >= 1.0.8
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
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
28 Dekoder oraz przegl±darka teletekstu. Pakiet ten umo¿liwia
29 przegl±danie stron telegazety.
30
31 %description -l de
32 X11 Videotextdecoder für den bttv Treiber.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %ifarch amd64
39 %patch2 -p1
40 %endif
41
42 %build
43 %{__make} \
44          OPT="%{rpmcflags}"
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
49
50 install alevt alevt-date alevt-cap ${RPM_BUILD_ROOT}%{_bindir}
51 install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc README CHANGELOG
59 %attr(755,root,root) %{_bindir}/*
60 %{_mandir}/man1/*
This page took 0.062837 seconds and 4 git commands to generate.