From 9550d64bdbf0707a0386fca3fe88c5a0b3404514 Mon Sep 17 00:00:00 2001 From: Lucian Langa Date: Aug 05 2008 04:56:21 +0000 Subject: initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..e9cb2f1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +alevt-1.6.2.tar.gz diff --git a/alevt-1.6.2-manpath.patch b/alevt-1.6.2-manpath.patch new file mode 100644 index 0000000..9ede752 --- /dev/null +++ b/alevt-1.6.2-manpath.patch @@ -0,0 +1,15 @@ +--- alevt-1.6.2/Makefile 2008-07-28 18:08:04.778713433 +0200 ++++ alevt-1.6.2/Makefile_manpath 2008-07-28 18:09:28.572715966 +0200 +@@ -66,9 +66,9 @@ rpm-install: all + install -m 0755 alevt ${RPM_BUILD_ROOT}$(USR_X11R6)/bin + install -m 0755 alevt-date ${RPM_BUILD_ROOT}$(USR_X11R6)/bin + install -m 0755 alevt-cap ${RPM_BUILD_ROOT}$(USR_X11R6)/bin +- install -m 0644 alevt.1x ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 +- install -m 0644 alevt-date.1 ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 +- install -m 0644 alevt-cap.1 ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 ++ install -m 0644 alevt.1x ${RPM_BUILD_ROOT}$(MAN)/man1 ++ install -m 0644 alevt-date.1 ${RPM_BUILD_ROOT}$(MAN)/man1 ++ install -m 0644 alevt-cap.1 ${RPM_BUILD_ROOT}$(MAN)/man1 + install -d 0755 $(RPM_BUILD_ROOT)$(USR_X11R6)/share/pixmaps + install -m 0644 contrib/mini-alevt.xpm $(RPM_BUILD_ROOT)$(USR_X11R6)/share/pixmaps + diff --git a/alevt-1.6.2-pixmap.patch b/alevt-1.6.2-pixmap.patch new file mode 100644 index 0000000..e116fa4 --- /dev/null +++ b/alevt-1.6.2-pixmap.patch @@ -0,0 +1,13 @@ +--- alevt-1.6.2/Makefile 2007-12-03 07:19:54.000000000 +0200 ++++ alevt-1.6.2-mod/Makefile 2008-06-11 07:50:16.000000000 +0300 +@@ -69,8 +69,8 @@ + install -m 0644 alevt.1x ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 + install -m 0644 alevt-date.1 ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 + install -m 0644 alevt-cap.1 ${RPM_BUILD_ROOT}$(USR_X11R6)/$(MAN)/man1 +- install -d 0755 $(RPM_BUILD_ROOT)$(USR_X11R6)/include/X11/pixmaps +- install -m 0644 contrib/mini-alevt.xpm $(RPM_BUILD_ROOT)$(USR_X11R6)/include/X11/pixmaps ++ install -d 0755 $(RPM_BUILD_ROOT)$(USR_X11R6)/share/pixmaps ++ install -m 0644 contrib/mini-alevt.xpm $(RPM_BUILD_ROOT)$(USR_X11R6)/share/pixmaps + + # anything below this line is just for me! + diff --git a/alevt.desktop b/alevt.desktop new file mode 100644 index 0000000..26ff216 --- /dev/null +++ b/alevt.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=alevt +GenericName=alevt +Comment=Teletext decoder/browser +Exec=alevt +Icon=mini-alevt +Terminal=false +Type=Application +Categories=Video; +Version=1.0 diff --git a/alevt.spec b/alevt.spec new file mode 100644 index 0000000..98c9889 --- /dev/null +++ b/alevt.spec @@ -0,0 +1,90 @@ +Name: alevt +Version: 1.6.2 +Release: 5%{?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 +* Tue Jul 28 2008 Lucian Langa - 1.6.2-5 +- Misc cleanups +- Patch for man install + +* Tue Jul 22 2008 Lucian Langa - 1.6.2-4 +- misc cleanups + +* Mon Jun 30 2008 Lucian Langa - 1.6.2-3 +- better debuginfo handling, drop configure (Michal Nowak) + +* Sun Jun 29 2008 Lucian Langa - 1.6.2-2 +- Misc cleanups +- Use fedora's CFLAGS + +* Wed Jun 11 2008 Lucian Langa - 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 +- removed old patch from specfile +- removed LibC-Macro +- added '-oldbttv' to the package description. + +* Sun May 23 1999 Karsten Hopp +- several minor patches of Marios spec-file: +- german descriptions +- buildroot (patched Makefile) +- some changed install-paths diff --git a/sources b/sources index e69de29..8b09b35 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +e5a32776e7eff48ec48449b3c3c1cc23 alevt-1.6.2.tar.gz