]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix.spec
6054e351c9151263c542a61647164ed89654d29e
[packages/cmatrix.git] / cmatrix.spec
1 Summary:        CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
2 Summary(pl):    CMatrix - poka¿ efekt spadaj±cych znaków znany z filmu "Matrix"
3 Name:           cmatrix
4 Version:        1.1b
5 Release:        4
6 License:        GPL
7 Group:          Applications/Console
8 Group(de):      Applikationen/Konsole
9 Group(pl):      Aplikacje/Konsola
10 Source0:        http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-DESTDIR.patch
12 URL:            http://www.asty.org/cmatrix/
13 BuildRequires:  ncurses-devel >= 5.0
14 Prereq:         /usr/X11R6/bin/mkfontdir
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 What is CMatrix? :-)
19
20 CMatrix is a program I wrote one evening because I didn't want to have
21 to run Wind*ws to see the cool scrolling lines from 'The Matrix', my
22 fave movie. If you haven't seen this movie and you are a fan of
23 computers or sci-fi in general, go see this movie!!! I have seen it
24 twice, and I'm pondering seeing it again before it comes out on VHS.
25
26 %description -l pl
27
28 CMatrix zosta³ napisany by¶ nie musia³ uruchamiaæ MS Windows aby
29 zobaczyæ na konsoli interesuj±c efekt spadaj±cych znaków znany z filmu
30 "Matrix".
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 aclocal
38 autoconf
39 automake -a -c
40 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT{%{_datadir}/{consolefonts,fonts/misc},%{_bindir}} \
47         $RPM_BUILD_ROOT%{_mandir}/man1
48
49 install cmatrix $RPM_BUILD_ROOT%{_bindir}
50 install cmatrix.1 $RPM_BUILD_ROOT%{_mandir}/man1
51 install mtx.pcf $RPM_BUILD_ROOT%{_datadir}/fonts/misc
52 install matrix.psf.gz $RPM_BUILD_ROOT%{_datadir}/consolefonts
53
54 gzip -9nf NEWS README README.fonts TODO \
55         $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
56
57 %post
58 cd %{_datadir}/fonts/misc/;
59 /usr/X11R6/bin/mkfontdir
60
61 %postun
62 cd %{_datadir}/fonts/misc/;
63 /usr/X11R6/bin/mkfontdir
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc *.gz
71 %attr(755,root,root) %{_bindir}/*
72 %{_datadir}/fonts/misc/*
73 %{_datadir}/consolefonts/*
74 %{_mandir}/man1/*
This page took 0.090187 seconds and 2 git commands to generate.