]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix.spec
- fixed setfont-consolechars-choice patch
[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.2a
5 Release:        3
6 License:        GPL v2
7 Group:          Applications/Console
8 Source0:        http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 Patch1:         %{name}-setfont-consolechars-choice.patch
11 URL:            http://www.asty.org/cmatrix/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  ncurses-devel >= 5.0
15 Requires:       kbd
16 Prereq:         /usr/X11R6/bin/mkfontdir
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 What is CMatrix? :-)
21
22 CMatrix is a program I wrote one evening because I didn't want to have
23 to run Wind*ws to see the cool scrolling lines from 'The Matrix', my
24 fave movie. If you haven't seen this movie and you are a fan of
25 computers or sci-fi in general, go see this movie!!!
26
27 %description -l pl
28 What is CMatrix? :-)
29
30 CMatrix zosta³ napisany w jeden wieczór by¶ nie musia³ uruchamiaæ M$
31 Wind*ws, aby zobaczyæ na konsoli interesuj±c efekt spadaj±cych znaków
32 znany z filmu "Matrix". Je¿eli nie widzia³e¶ tego filmu, a jeste¶
33 fanem komputerów i sci-fi w ogólno¶ci - biegnij zobaczyæ ten film!!
34
35 %prep
36 %setup -q
37 %patch0 -p1
38 %patch1 -p1
39
40 %build
41 rm -f missing
42 aclocal
43 %{__autoconf}
44 %{__automake}
45 %configure \
46         --with-setfont
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51 install -d $RPM_BUILD_ROOT{%{_datadir}/{consolefonts,fonts/misc},%{_bindir}} \
52         $RPM_BUILD_ROOT%{_mandir}/man1
53
54 install cmatrix $RPM_BUILD_ROOT%{_bindir}
55 install cmatrix.1 $RPM_BUILD_ROOT%{_mandir}/man1
56 install mtx.pcf $RPM_BUILD_ROOT%{_datadir}/fonts/misc
57 install matrix.psf.gz $RPM_BUILD_ROOT%{_datadir}/consolefonts
58
59 gzip -9nf NEWS README TODO ChangeLog \
60         $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post
66 cd %{_datadir}/fonts/misc/;
67 /usr/X11R6/bin/mkfontdir
68
69 %postun
70 cd %{_datadir}/fonts/misc/;
71 /usr/X11R6/bin/mkfontdir
72
73 %files
74 %defattr(644,root,root,755)
75 %doc *.gz
76 %attr(755,root,root) %{_bindir}/*
77 %{_datadir}/fonts/misc/*
78 %{_datadir}/consolefonts/*
79 %{_mandir}/man1/*
This page took 0.264486 seconds and 3 git commands to generate.