[packages/alevt] Up to 1.8.3
arekm
arekm at pld-linux.org
Sun May 17 00:21:21 CEST 2026
commit cd35e41bfa31433636aaada16db30f76ba56468d
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sun May 17 00:21:07 2026 +0200
Up to 1.8.3
alevt-time-include.patch | 20 --------------------
alevt-time.h.patch | 11 -----------
alevt-zlib-include.patch | 10 ----------
alevt.spec | 24 +++++++++++-------------
4 files changed, 11 insertions(+), 54 deletions(-)
---
diff --git a/alevt.spec b/alevt.spec
index 21e2aec..e4f506b 100644
--- a/alevt.spec
+++ b/alevt.spec
@@ -2,18 +2,16 @@ Summary: Teletext decoder and browser for the bttv based card
Summary(de.UTF-8): Videotext/Teletext
Summary(pl.UTF-8): Dekoder Teletekstu
Name: alevt
-Version: 1.6.2
-Release: 8
+Version: 1.8.3
+Release: 1
License: GPL
Group: X11/Applications
-Source0: http://www.goron.de/~froese/alevt/%{name}-%{version}.tar.gz
-# Source0-md5: e5a32776e7eff48ec48449b3c3c1cc23
+Source0: https://gitlab.com/alevt/alevt/-/archive/v%{version}/%{name}-v%{version}.tar.bz2
+# Source0-md5: 79c3ba60df983792654135207780e611
Source1: %{name}.desktop
-Patch0: %{name}-time-include.patch
-Patch1: %{name}-time.h.patch
-Patch2: %{name}-zlib-include.patch
-URL: http://www.goron.de/~froese/
+URL: https://gitlab.com/alevt/alevt
BuildRequires: libpng-devel >= 1.0.8
+BuildRequires: pkgconfig
BuildRequires: xorg-lib-libX11-devel
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,14 +30,14 @@ przeglądanie stron telegazety.
X11 Videotextdecoder für den bttv Treiber.
%prep
-%setup -q
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
+%setup -q -n %{name}-v%{version}
%build
%{__make} \
CC="%{__cc}" \
+ VER="%{version}" \
+ USR_X11R6="%{_prefix}" \
+ MAN_DIR="share/man" \
OPT="%{rpmcflags}"
%install
@@ -56,7 +54,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README CHANGELOG
+%doc README.md README.old CHANGELOG
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%{_pixmapsdir}/%{name}.xpm
diff --git a/alevt-time-include.patch b/alevt-time-include.patch
deleted file mode 100644
index dbc96c3..0000000
--- a/alevt-time-include.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -urN alevt-1.6.0.orig/alevt-date.c.rej alevt-1.6.0/alevt-date.c.rej
---- alevt-1.6.0.orig/alevt-date.c.rej Thu Jan 1 01:00:00 1970
-+++ alevt-1.6.0/alevt-date.c.rej Fri Jul 6 14:29:17 2001
-@@ -0,0 +1,16 @@
-+***************
-+*** 3,9 ****
-+ #include <stdlib.h>
-+ #include <unistd.h>
-+ #include <signal.h>
-+- #include <time.h>
-+
-+ #include "os.h"
-+ #include "vt.h"
-+--- 3,8 ----
-+ #include <stdlib.h>
-+ #include <unistd.h>
-+ #include <signal.h>
-+
-+ #include "os.h"
-+ #include "vt.h"
diff --git a/alevt-time.h.patch b/alevt-time.h.patch
deleted file mode 100644
index fce9ff1..0000000
--- a/alevt-time.h.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Nur alevt-1.6.0.orig/alevt-date.c alevt-1.6.0/alevt-date.c
---- alevt-1.6.0.orig/alevt-date.c Sat Sep 16 23:34:42 2000
-+++ alevt-1.6.0/alevt-date.c Sat Jul 21 21:21:24 2001
-@@ -3,6 +3,7 @@
- #include <stdlib.h>
- #include <unistd.h>
- #include <signal.h>
-+#include <time.h>
-
- #include "os.h"
- #include "vt.h"
diff --git a/alevt-zlib-include.patch b/alevt-zlib-include.patch
deleted file mode 100644
index 2bc91cb..0000000
--- a/alevt-zlib-include.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- alevt-1.6.2//exp-gfx.c~ 2007-12-03 03:56:06.000000000 +0100
-+++ alevt-1.6.2//exp-gfx.c 2012-02-10 20:32:05.132342656 +0100
-@@ -158,6 +158,7 @@
- #ifdef WITH_PNG
-
- #include <png.h>
-+#include <zlib.h>
- static int png_open(struct export *e);
- static int png_option(struct export *e, int opt, char *arg);
- static int png_output(struct export *e, char *name, struct fmt_page *pg);
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/alevt.git/commitdiff/cd35e41bfa31433636aaada16db30f76ba56468d
More information about the pld-cvs-commit
mailing list