]> git.pld-linux.org Git - packages/alevt.git/blobdiff - alevt.spec
- no longer needed
[packages/alevt.git] / alevt.spec
index 84735ffb025c4a2d00c89b4660e44a9baaebac60..6d812b6326d2c3f5d4d64ba41ce84c81ef255e43 100644 (file)
@@ -1,63 +1,61 @@
-Summary: Videotext/Teletext 
-Summary(pl): Videotext/Teletext
-Summary(de): Videotext/Teletext
-Name: alevt
-Version: 1.5.1
-Release: 1
-Copyright: GNU
-Group: X11/Applications
-Group(pl): X11/Aplikacje
-Source: http://user.exit.de/froese/%{name}/%{name}-%{version}.tar.gz
-URL: http://user.exit.de/froese
-BuildRequires:  XFree86-devel
-BuildRequires: libpng-devel
+Summary:       Teletext decoder and browser for the bttv based card
+Summary(de.UTF-8):     Videotext/Teletext
+Summary(pl.UTF-8):     Dekoder Teletekstu
+Name:          alevt
+Version:       1.6.2
+Release:       1
+License:       GPL
+Group:         X11/Applications
+Source0:       http://www.goron.de/~froese/%{name}/%{name}-%{version}.tar.gz
+# Source0-md5: e5a32776e7eff48ec48449b3c3c1cc23
+Source1:       %{name}.desktop
+Patch0:                %{name}-time-include.patch
+Patch1:                %{name}-time.h.patch
+URL:           http://www.goron.de/~froese/
+BuildRequires: libpng-devel >= 1.0.8
+BuildRequires: xorg-lib-libX11-devel
 BuildRequires: zlib-devel
-BuildRoot:      /tmp/%{name}-%{version}-root
-
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Teletext decoder and browser for the bttv driver.
-If you have an older bttv < v0.5.20 or the one contained in the 2.2.x
-kernels you should supply the -oldbttv option.
-
+AleVT is a teletext/videotext decoder and browser for the bttv driver
+(/dev/vbi) and X11. It features multiple windows, a page cache, regexp
+searching, built-in manual, and more. There's also a program to get
+the time from teletext and one to capture teletext pages from scripts.
 
-%description -l pl
-Dekoder 
-Je¶li u¿ywasz starszego bttv ni¿ v0.5.20 lub driverów zawieraj±cych siê w 
-kernelu 2.2.x powiniene¶ u¿yæ opcji -oldbttv
-
-%description -l de
-X11 Videotextdecoder für den bttv Treiber.
-Für die alte bttv-Version (<v0.5.20) der 2.2-er Kernel sollte der
-Parameter -oldbttv verwendet werden.
+%description -l pl.UTF-8
+Dekoder oraz przeglądarka teletekstu. Pakiet ten umożliwia
+przeglądanie stron telegazety.
 
+%description -l de.UTF-8
+X11 Videotextdecoder für den bttv Treiber.
 
 %prep
-%setup -q -n alevt-%{version}
+%setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
-make FONT=latin-2
+%{__make} \
+       CC="%{__cc}" \
+       OPT="%{rpmcflags}"
 
 %install
-
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
-install -s {alevt,alevt-date,alevt-cap} ${RPM_BUILD_ROOT}%{_bindir}
-install {alevt-cap.1,alevt-date.1,alevt.1x} $RPM_BUILD_ROOT%{_mandir}/man1
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* README CHANGELOG COPYRIGHT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_desktopdir},%{_pixmapsdir}}
+
+install alevt alevt-date alevt-cap $RPM_BUILD_ROOT%{_bindir}
+install alevt-cap.1 alevt-date.1 alevt.1x $RPM_BUILD_ROOT%{_mandir}/man1
+install contrib/icon48x48.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.xpm
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
-
 %defattr(644,root,root,755)
-%doc {README,CHANGELOG,COPYRIGHT}.gz
-
-%attr(755,root,root) %{_bindir}/alevt
-%attr(755,root,root) %{_bindir}/alevt-date
-%attr(755,root,root) %{_bindir}/alevt-cap
-
-%{_mandir}/man1/alevt-cap.1.*
-%{_mandir}/man1/alevt-date.1.*
-%{_mandir}/man1/alevt.1x.*
+%doc README CHANGELOG
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+%{_pixmapsdir}/%{name}.xpm
+%{_desktopdir}/%{name}.desktop
This page took 0.048645 seconds and 4 git commands to generate.