]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix.spec
- fixed Group (it's terminal program, not only console)
[packages/cmatrix.git] / cmatrix.spec
1 Summary:        CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
2 Summary(pl):    CMatrix - pokazuje 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/Terminal
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(post,postun):  /usr/X11R6/bin/mkfontdir
16 Requires:       kbd
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 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
46 %configure \
47         --with-setfont
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_datadir}/{consolefonts,fonts/misc},%{_bindir}} \
53         $RPM_BUILD_ROOT%{_mandir}/man1
54
55 install cmatrix $RPM_BUILD_ROOT%{_bindir}
56 install cmatrix.1 $RPM_BUILD_ROOT%{_mandir}/man1
57 install mtx.pcf $RPM_BUILD_ROOT%{_datadir}/fonts/misc
58 install matrix.psf.gz $RPM_BUILD_ROOT%{_datadir}/consolefonts
59
60 gzip -9nf $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 NEWS README TODO ChangeLog
76 %attr(755,root,root) %{_bindir}/*
77 %{_datadir}/fonts/misc/*
78 %{_datadir}/consolefonts/*
79 %{_mandir}/man1/*
This page took 0.074669 seconds and 4 git commands to generate.