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