]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix.spec
- updated to 1.1b.
[packages/cmatrix.git] / cmatrix.spec
1 Summary:        CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
2 Name:           cmatrix
3 Version:        1.1b
4 Release:        1
5 License:        GPL
6 Group:          Utilities/Console
7 Group(pl):      Narzêdzia/Konsola
8 Source0:        http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
9 Patch0:         cmatrix-DESTDIR.patch
10 URL:            http://www.asty.org/cmatrix/
11 BuildRequires:  ncurses-devel >= 5.0
12 Prereq:         /usr/X11R6/bin/mkfontdir
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 What is CMatrix? :-)
17
18 CMatrix is a program I wrote one evening because I didn't want to have to
19 run Wind*ws to see the cool scrolling lines from 'The Matrix', my fave
20 movie. If you haven't seen this movie and you are a fan of computers or
21 sci-fi in general, go see this movie!!! I have seen it twice, and I'm
22 pondering seeing it again before it comes out on VHS.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 automake
30 CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
31 LDFLAGS="-s"
32 export CFLAGS LDFLAGS
33 %configure
34 make
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38
39 make install \
40         DESTDIR=$RPM_BUILD_ROOT \
41         Xmiscfontsdir=/usr/share/fonts/misc
42
43 gzip -9nf NEWS README README.fonts TODO \
44         $RPM_BUILD_ROOT%{_mandir}/man1/* \
45         $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
46
47 %post
48 cd %{_datadir}/fonts/misc/;
49 /usr/X11R6/bin/mkfontdir
50
51 %postun
52 cd %{_datadir}/fonts/misc/;
53 /usr/X11R6/bin/mkfontdir
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc *.gz
61 %attr(755,root,root) %{_bindir}/*
62 %{_datadir}/fonts/misc/*
63 %{_mandir}/man1/*
This page took 0.108302 seconds and 3 git commands to generate.