]>
Commit | Line | Data |
---|---|---|
a75165b7 | 1 | Summary: CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based) |
f0d062f5 | 2 | Summary(pl.UTF-8): CMatrix - pokazuje efekt spadających znaków znany z filmu "Matrix" |
a75165b7 | 3 | Name: cmatrix |
daef538c | 4 | Version: 1.2a |
19049a8f | 5 | Release: 8 |
6 | License: GPL v2+ | |
97e0c033 | 7 | Group: Applications/Terminal |
a75165b7 | 8 | Source0: http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz |
75aa80c3 | 9 | # Source0-md5: ebfb5733104a258173a9ccf2669968a1 |
c360d1de | 10 | Patch0: %{name}-DESTDIR.patch |
66ad32e4 | 11 | Patch1: %{name}-setfont-consolechars-choice.patch |
19049a8f | 12 | Patch2: %{name}-link.patch |
a75165b7 | 13 | URL: http://www.asty.org/cmatrix/ |
06b01f03 JB |
14 | BuildRequires: autoconf |
15 | BuildRequires: automake | |
e55c5f55 | 16 | BuildRequires: ncurses-devel >= 5.0 |
a9ddf4b6 | 17 | Requires(post,postun): fontpostinst |
66ad32e4 | 18 | Requires: kbd |
a75165b7 | 19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
22 | What is CMatrix? :-) | |
23 | ||
767495cf | 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 | |
e55c5f55 | 27 | computers or sci-fi in general, go see this movie!!! |
a75165b7 | 28 | |
b913b008 | 29 | %description -l pl.UTF-8 |
e55c5f55 PG |
30 | What is CMatrix? :-) |
31 | ||
b913b008 | 32 | CMatrix został napisany w jeden wieczór byś nie musiał uruchamiać M$ |
19049a8f | 33 | Wind*ws, aby zobaczyć na konsoli interesujący efekt spadających znaków |
b913b008 | 34 | znany z filmu "Matrix". Jeżeli nie widziałeś tego filmu, a jesteś |
19049a8f | 35 | fanem komputerów i sci-fi w ogólności - biegnij zobaczyć ten film!!! |
007f8eb4 | 36 | |
a75165b7 | 37 | %prep |
38 | %setup -q | |
39 | %patch0 -p1 | |
66ad32e4 | 40 | %patch1 -p1 |
19049a8f | 41 | %patch2 -p1 |
a75165b7 | 42 | |
43 | %build | |
4711d0b5 | 44 | %{__aclocal} |
bac7a8f3 | 45 | %{__autoconf} |
46 | %{__automake} | |
ac741728 | 47 | CFLAGS="%{rpmcflags} -I/usr/include/ncurses" |
66ad32e4 PG |
48 | %configure \ |
49 | --with-setfont | |
2845c8cd | 50 | %{__make} |
a75165b7 | 51 | |
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
20f00d2e KK |
54 | install -d $RPM_BUILD_ROOT{%{_datadir}/fonts/misc,%{_bindir}} \ |
55 | $RPM_BUILD_ROOT%{_mandir}/man1 \ | |
56 | $RPM_BUILD_ROOT/lib/kbd/consolefonts | |
3fd473d0 | 57 | |
c360d1de SZ |
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 | |
20f00d2e | 61 | install matrix.psf.gz $RPM_BUILD_ROOT/lib/kbd/consolefonts |
a75165b7 | 62 | |
4711d0b5 | 63 | gzip -9nf $RPM_BUILD_ROOT%{_datadir}/fonts/misc/* |
a75165b7 | 64 | |
06b01f03 JB |
65 | %clean |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
a75165b7 | 68 | %post |
a9ddf4b6 | 69 | fontpostinst misc |
a75165b7 | 70 | |
71 | %postun | |
a9ddf4b6 | 72 | fontpostinst misc |
a75165b7 | 73 | |
a75165b7 | 74 | %files |
75 | %defattr(644,root,root,755) | |
4711d0b5 | 76 | %doc NEWS README TODO ChangeLog |
a75165b7 | 77 | %attr(755,root,root) %{_bindir}/* |
78 | %{_datadir}/fonts/misc/* | |
20f00d2e | 79 | /lib/kbd/consolefonts/* |
a75165b7 | 80 | %{_mandir}/man1/* |