]> git.pld-linux.org Git - packages/cmatrix.git/blob - cmatrix.spec
- %{datadir}/consolefonts -> /lib/kbd/consolefonts (now installs and works w/o glitches)
[packages/cmatrix.git] / cmatrix.spec
1 Summary:        CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
2 Summary(pl.UTF-8):      CMatrix - pokazuje efekt spadających znaków znany z filmu "Matrix"
3 Name:           cmatrix
4 Version:        1.2a
5 Release:        7
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):  fontpostinst
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.UTF-8
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 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
46 %configure \
47         --with-setfont
48 %{__make}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 install -d $RPM_BUILD_ROOT{%{_datadir}/fonts/misc,%{_bindir}} \
53         $RPM_BUILD_ROOT%{_mandir}/man1 \
54         $RPM_BUILD_ROOT/lib/kbd/consolefonts
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/lib/kbd/consolefonts
60
61 gzip -9nf $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %post
67 fontpostinst misc
68
69 %postun
70 fontpostinst misc
71
72 %files
73 %defattr(644,root,root,755)
74 %doc NEWS README TODO ChangeLog
75 %attr(755,root,root) %{_bindir}/*
76 %{_datadir}/fonts/misc/*
77 /lib/kbd/consolefonts/*
78 %{_mandir}/man1/*
This page took 0.08524 seconds and 3 git commands to generate.