9550d64
Name: alevt
9550d64
Version: 1.6.2
0231ca4
Release: 6%{?dist}
9550d64
Summary: Teletext decoder/browser
9550d64
Group:  Applications/Multimedia
9550d64
License: GPLv2
9550d64
URL: http://goron.de/~froese
9550d64
Source: http://goron.de/~froese/%{name}/%{name}-%{version}.tar.gz
9550d64
Source1: alevt.desktop
9550d64
Patch0: alevt-1.6.2-pixmap.patch
9550d64
Patch1: alevt-1.6.2-manpath.patch
9550d64
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9550d64
BuildRequires: libX11-devel
9550d64
BuildRequires: libpng-devel
9550d64
BuildRequires: desktop-file-utils
9550d64
9550d64
%description
9550d64
AleVT is a teletext/videotext decoder and browser for the
9550d64
vbi (/dev/vbi) device and X11.  It features multiple windows,
9550d64
a page cache, regexp searching, built-in manual, and more.
9550d64
There's also a program to get the time from teletext and
9550d64
one to capture teletext pages from scripts.
9550d64
9550d64
9550d64
%prep
9550d64
%setup -q
9550d64
%patch0 -p1 -b .pixmap
9550d64
%patch1 -p1 -b .manpath
9550d64
9550d64
%build
9550d64
# alevt does not have standard build system, so we populate OPT, 
9550d64
# which is internal build variable to accommodate Fedora opt flags
9550d64
# This will produce lot of garbage on output.
9550d64
make %{?_smp_mflags} -e OPT="%{optflags}"
9550d64
9550d64
9550d64
%install
9550d64
rm -rf %{buildroot}
9550d64
mkdir -p %{buildroot}%{_bindir}
9550d64
mkdir -p %{buildroot}%{_mandir}/man1
9550d64
9550d64
make USR_X11R6=%{_prefix} MAN=%{_mandir} rpm-install
9550d64
desktop-file-install \
9550d64
	--dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
9550d64
9550d64
9550d64
%clean
9550d64
rm -rf %{buildroot}
9550d64
9550d64
%files
9550d64
%defattr(-,root,root,-)
9550d64
%{_bindir}/alevt
9550d64
%{_bindir}/alevt-date
9550d64
%{_bindir}/alevt-cap
9550d64
%{_datadir}/applications/*%{name}.desktop
9550d64
%{_mandir}/man?/%{name}*
9550d64
%{_datadir}/pixmaps/mini-alevt.xpm
9550d64
%doc README CHANGELOG COPYRIGHT
9550d64
9550d64
%changelog
0231ca4
* Sat Aug 23 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-6
0231ca4
fix for #458818
0231ca4
9550d64
* Tue Jul 28 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-5
9550d64
- Misc cleanups
9550d64
- Patch for man install
9550d64
9550d64
* Tue Jul 22 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-4
9550d64
- misc cleanups
9550d64
9550d64
* Mon Jun 30 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-3
9550d64
- better debuginfo handling, drop configure (Michal Nowak)
9550d64
9550d64
* Sun Jun 29 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-2
9550d64
- Misc cleanups
9550d64
- Use fedora's CFLAGS
9550d64
9550d64
* Wed Jun 11 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-1
9550d64
- Update to fedora specs
9550d64
- Patched against wrong pixmaps directory
9550d64
- Force to build with debuginfo
9550d64
- Added .desktop file
9550d64
9550d64
* Mon Jun 14 1999 Karsten Hopp <karsten@delix.de>
9550d64
- removed old patch from specfile
9550d64
- removed LibC-Macro
9550d64
- added '-oldbttv' to the package description.
9550d64
9550d64
* Sun May 23 1999 Karsten Hopp <karsten@delix.de>
9550d64
- several minor patches of Marios spec-file:
9550d64
- german descriptions
9550d64
- buildroot (patched Makefile)
9550d64
- some changed install-paths