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