File: cmatrix.spec

package info (click to toggle)
cmatrix 1.2a-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 376 kB
  • ctags: 35
  • sloc: sh: 2,672; ansic: 520; makefile: 42
file content (46 lines) | stat: -rw-r--r-- 1,398 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
%define name    cmatrix
%define ver     1.2a
%define rel     1

Summary: CMatrix simulates the display from "The Matrix"
Name: %{name}
Version: %{ver}
Release: %{rel}
Group: Amusements/Graphics
Copyright: GPL
Packager: chrisa@asty.org
URL: http://www.asty.org/cmatrix/
Source0: http://www.asty.org/cmatrix/dist/cmatrix-%{ver}.tar.gz
#Provides: none
Requires: ncurses
#Conflicts: none
BuildRoot: /var/tmp/%{name}-buildroot
%Description
CMatrix is based on the screensaver from The Matrix website. It works
with terminal settings up to 132x300 and can scroll lines all at the same
rate or asynchronously and at a user-defined speed.
%Prep
%setup
%Build
./configure --prefix=/usr --mandir=/usr/share/man
make
%Install
rm -rf $RPM_BUILD_ROOT
make DESTDIR="$RPM_BUILD_ROOT" install
mkdir -p $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
strip cmatrix
install matrix.fnt $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
install matrix.psf.gz $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
install mtx.pcf $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
mkfontdir $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README COPYING ChangeLog AUTHORS INSTALL NEWS TODO
%{_bindir}/cmatrix
%{_mandir}/*/*
/usr/lib/kbd/consolefonts/matrix.psf.gz
/usr/lib/kbd/consolefonts/matrix.fnt
/usr/X11R6/lib/X11/fonts/misc/mtx.pcf