[packages/cmatrix] Up to 2.0
arekm
arekm at pld-linux.org
Fri Nov 27 22:07:35 CET 2026
commit af3594e8d73f82db76c0f63603d148fb4ddbb2a4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Nov 27 16:02:25 2026 +0100
Up to 2.0
cmatrix-DESTDIR.patch | 41 ----------------------------
cmatrix-link.patch | 11 --------
cmatrix-setfont-consolechars-choice.patch | 45 -------------------------------
cmatrix.spec | 22 ++++++---------
4 files changed, 8 insertions(+), 111 deletions(-)
---
diff --git a/cmatrix.spec b/cmatrix.spec
index c9c21d8..67e016a 100644
--- a/cmatrix.spec
+++ b/cmatrix.spec
@@ -1,16 +1,13 @@
Summary: CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
Summary(pl.UTF-8): CMatrix - pokazuje efekt spadających znaków znany z filmu "Matrix"
Name: cmatrix
-Version: 1.2a
-Release: 10
+Version: 2.0
+Release: 1
License: GPL v2+
Group: Applications/Terminal
-Source0: http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
-# Source0-md5: ebfb5733104a258173a9ccf2669968a1
-Patch0: %{name}-DESTDIR.patch
-Patch1: %{name}-setfont-consolechars-choice.patch
-Patch2: %{name}-link.patch
-URL: http://www.asty.org/cmatrix/
+Source0: https://github.com/abishekvashok/cmatrix/archive/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: c2aee6d44c4d46df6f16dca2a3dc18ad
+URL: https://github.com/abishekvashok/cmatrix
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: ncurses-devel >= 5.0
@@ -36,17 +33,14 @@ fanem komputerów i sci-fi w ogólności - biegnij zobaczyć ten film!!!
%prep
%setup -q
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
%build
%{__aclocal}
%{__autoconf}
+%{__autoheader}
%{__automake}
CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
-%configure \
- --with-setfont
+%configure
%{__make}
%install
@@ -73,7 +67,7 @@ fontpostinst misc
%files
%defattr(644,root,root,755)
-%doc NEWS README TODO ChangeLog
+%doc NEWS README ChangeLog
%attr(755,root,root) %{_bindir}/*
%{_datadir}/fonts/misc/*
/lib/kbd/consolefonts/*
diff --git a/cmatrix-DESTDIR.patch b/cmatrix-DESTDIR.patch
deleted file mode 100644
index 8dfc8da..0000000
--- a/cmatrix-DESTDIR.patch
+++ /dev/null
@@ -1,41 +0,0 @@
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -7,33 +7,8 @@
- TODO install-sh missing mkinstalldirs matrix.fnt \
- matrix.psf.gz mtx.pcf cmatrix.1 cmatrix.spec
-
--install-data-local:
-- @if test -d /usr/share/consolefonts; then \
-- echo " Installing matrix fonts in /usr/share/consolefonts..."; \
-- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/share/consolefonts; \
-- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/share/consolefonts; \
-- fi
-- @if test -d /usr/lib/kbd/consolefonts; then \
-- echo " Installing matrix fonts in /usr/lib/kbd/consolefonts..."; \
-- $(INSTALL_DATA) $(srcdir)/matrix.fnt /usr/lib/kbd/consolefonts; \
-- $(INSTALL_DATA) $(srcdir)/matrix.psf.gz /usr/lib/kbd/consolefonts; \
-- fi
-- @if test -d /usr/lib/X11/fonts/misc; then \
-- echo " Installing X window matrix fonts in /usr/lib/X11/fonts/misc..."; \
-- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
-- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/lib/X11/fonts/misc; \
-- echo " Running mkfontdir /usr/lib/X11/fonts/misc..."; \
-- $(MKFONTDIR) /usr/lib/X11/fonts/misc; \
-- echo " Done. If this is the first time you have installed CMatrix you will"; \
-- echo " probably have to restart X window in order to use the mtx.pcf font."; \
-- else \
-- if test -d /usr/X11R6/lib/X11/fonts/misc; then \
-- echo " Installing X window matrix fonts in /usr/X11R6/lib/X11/fonts/misc..."; \
-- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
-- $(INSTALL_DATA) $(srcdir)/mtx.pcf /usr/X11R6/lib/X11/fonts/misc; \
-- echo " Running mkfontdir /usr/X11R6/lib/X11/fonts/misc..."; \
-- $(MKFONTDIR) /usr/X11R6/lib/X11/fonts/misc; \
-- echo " Done. If this is the first time you have installed CMatrix you will"; \
-- echo " probably have to restart X window in order to use the mtx.pcf font."; \
-- fi \
-- fi
-+consolefonts_DATA = matrix.fnt matrix.psf.gz
-+consolefontsdir = /usr/share/consolefonts
-+
-+Xmiscfonts_DATA = mtx.pcf
-+Xmiscfontsdir=/usr/X11R6/lib/X11/fonts/misc
diff --git a/cmatrix-link.patch b/cmatrix-link.patch
deleted file mode 100644
index dab9c36..0000000
--- a/cmatrix-link.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- cmatrix-1.2a/configure.in~ 2010-09-20 13:04:06.262980080 +0200
-+++ cmatrix-1.2a/configure.in 2010-09-20 13:05:13.735482420 +0200
-@@ -148,7 +148,7 @@
-
- dnl Parse any configure options
-
--LIBS="$LIBS $CURSES_LIB"
-+LIBS="$LIBS $CURSES_LIB -ltinfo"
- AC_ARG_ENABLE(debug, [ --enable-debug Enable debugging (def disabled)],)
-
- AC_SUBST(CURSES_LIB)
diff --git a/cmatrix-setfont-consolechars-choice.patch b/cmatrix-setfont-consolechars-choice.patch
deleted file mode 100644
index 222ba36..0000000
--- a/cmatrix-setfont-consolechars-choice.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Nru cmatrix-1.2a.orig/configure.in cmatrix-1.2a/configure.in
---- cmatrix-1.2a.orig/configure.in Mon Apr 1 02:54:02 2002
-+++ cmatrix-1.2a/configure.in Mon Sep 23 10:28:39 2002
-@@ -61,12 +61,38 @@
- fi
-
- dnl Stuff we want at the end so people can actually see it...
--AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
--AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
-+AC_ARG_WITH(consolechars,
-+ [ --with-consolechars Compile program to use consolechars from console-utils],
-+ [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
-+ if test x$CONSOLECHARS = x; then
-+ AC_MSG_WARN([
-+
-+*** You want to use consolechars, but none was found
-+*** If you are using Linux, the package containing this program is
-+*** usually called console-utils
-+ ])
-+ fi
-+ AC_DEFINE_UNQUOTED(HAVE_CONSOLECHARS, $CONSOLECHARS)],
-+ [AC_PATH_PROG(CONSOLECHARS, consolechars, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
-+)
-+
-+AC_ARG_WITH(setfont,
-+ [ --with-setfont Compile program to use setfont from kbd],
-+ [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)
-+ if test x$SETFONT = x; then
-+ AC_MSG_WARN([
-+
-+*** You want to use setfont, but none was found
-+*** If you are using Linux, the package containing this program is
-+*** usually called kbd or kbd-utils
-+ ])
-+ fi],
-+ [AC_PATH_PROG(SETFONT, setfont, "", $PATH:/usr/bin:/usr/local/bin/sbin:/usr/sbin)]
-+)
-
- if test x$CONSOLECHARS = x; then
- if test x$SETFONT = x; then
-- AC_MSG_WARN([
-+ AC_MSG_WARN([
-
- *** neither the consolechars nor the setfont program was not found. You
- *** will not be able to see the characters in the matrix font in the
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cmatrix.git/commitdiff/af3594e8d73f82db76c0f63603d148fb4ddbb2a4
More information about the pld-cvs-commit
mailing list