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