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