]> git.pld-linux.org Git - packages/alevt.git/blobdiff - alevt.spec
- #include <time.h> for alevt-date.c
[packages/alevt.git] / alevt.spec
index bee157a7fe50783037d082ade77cb57e442f4f5b..23fcecc05427d2d482879994bbb75efce5cda7ec 100644 (file)
@@ -1,19 +1,20 @@
 Summary:       Teletext decoder and browser for the bttv based card
-Summary(pl):   Dekoder przegl±darka i teletekstu i dla bttv
+Summary(pl):   Dekoder Teletekstu
 Summary(de):   Videotext/Teletext
 Name:          alevt
-Version:       1.5.1
+Version:       1.6.0
 Release:       1
 License:       GNU
 Group:         X11/Applications
+Group(de):     X11/Applikationen
 Group(pl):     X11/Aplikacje
-Source:                http://user.exit.de/froese/%{name}/%{name}-%{version}.tar.gz
+Source0:       http://user.exit.de/froese/%{name}/%{name}-%{version}.tar.gz
+Patch0:                %{name}-time-include.patch
 URL:           http://user.exit.de/froese/
 BuildRequires: XFree86-devel
-BuildRequires: libpng-devel
+BuildRequires: libpng >= 1.0.8
 BuildRequires: zlib-devel
-BuildRoot:     /tmp/%{name}-%{version}-root
-
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _prefix         /usr/X11R6
 %define                _mandir         %{_prefix}/man
@@ -21,31 +22,32 @@ BuildRoot:  /tmp/%{name}-%{version}-root
 %description
 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.
+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 przegl±darka i teletekstu i dla bttv.
+Dekoder oraz przegl±darka teletekstu. Pakiet ten umo¿liwia
+przegl±danie stron telegazety.
 
 %description -l de
 X11 Videotextdecoder für den bttv Treiber.
 
-
 %prep
 %setup -q -n alevt-%{version}
 
+%patch0 -p1
+
 %build
-make OPT="$RPM_OPT_FLAGS" FONT=latin-2
+%{__make} 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 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
+gzip -9nf README CHANGELOG
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,11 +55,5 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc *.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.*
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.090077 seconds and 4 git commands to generate.