9550d64
Name: alevt
9550d64
Version: 1.6.2
bebf274
Release: 20%{?dist}
9550d64
Summary: Teletext decoder/browser
4f0f027
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
4f0f027
Patch2: alevt-1.6.2-rus-greek.patch
4f0f027
Patch3: alevt-1.6.2-doublefont.patch
bebf274
Patch4: alevt-1.6.2-zlib.patch
9550d64
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
9550d64
BuildRequires: libX11-devel
9550d64
BuildRequires: libpng-devel
9550d64
BuildRequires: desktop-file-utils
aaa14c1
BuildRequires: ImageMagick
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
73e2844
%patch2 -p1 -b .rusgreek
73e2844
%patch3 -p1 -b .double
bebf274
%patch4 -p1 -b .zlib
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
67ef7e0
%{_datadir}/applications/%{name}.desktop
9550d64
%{_mandir}/man?/%{name}*
9550d64
%{_datadir}/pixmaps/mini-alevt.xpm
9550d64
%doc README CHANGELOG COPYRIGHT
9550d64
9550d64
%changelog
bebf274
* Wed Jul 25 2012 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-20
bebf274
- add patch to build against newer zlib (fixes #843204)
bebf274
6af4a96
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-19
6af4a96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6af4a96
2f3eeff
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-18
2f3eeff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2f3eeff
0a4524c
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.6.2-17
0a4524c
- Rebuild for new libpng
0a4524c
915d9ba
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-16
915d9ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
915d9ba
1a320f4
* Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.6.2-15
1a320f4
- Update desktop file according to F-12 FedoraStudio feature
1a320f4
ce45c69
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-14
ce45c69
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
ce45c69
299c64f
* Sat May 30 2009 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-13
299c64f
- update patch0 fix bug #498775 - direct teletext page access
299c64f
dab80ed
* Mon Apr 13 2009 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-12
dab80ed
- new patches from Alexey
dab80ed
e30f696
* Mon Apr 13 2009 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-11
e30f696
- rebuild with corrected patch2
e30f696
4f0f027
* Fri Apr 10 2009 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-10
4f0f027
- new patch for chrilic fonts from Alexey Loukianov (mooroon2@mail.ru)
4f0f027
- updated doublefont patch
4f0f027
c623a67
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-9
c623a67
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c623a67
aaa14c1
* Fri Dec 05 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-8
aaa14c1
- update build requires
aaa14c1
67ef7e0
* Fri Dec 05 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-7
67ef7e0
- add doublefont patch; fixes #459294
67ef7e0
0231ca4
* Sat Aug 23 2008 Lucian Langa <cooly@gnome.eu.org> - 1.6.2-6
67ef7e0
- 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