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