]> git.pld-linux.org Git - packages/cmatrix.git/blame - cmatrix.spec
- link with -ltinfo
[packages/cmatrix.git] / cmatrix.spec
CommitLineData
a75165b7 1Summary: CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
f0d062f5 2Summary(pl.UTF-8): CMatrix - pokazuje efekt spadających znaków znany z filmu "Matrix"
a75165b7 3Name: cmatrix
daef538c 4Version: 1.2a
19049a8f 5Release: 8
6License: GPL v2+
97e0c033 7Group: Applications/Terminal
a75165b7 8Source0: http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
75aa80c3 9# Source0-md5: ebfb5733104a258173a9ccf2669968a1
c360d1de 10Patch0: %{name}-DESTDIR.patch
66ad32e4 11Patch1: %{name}-setfont-consolechars-choice.patch
19049a8f 12Patch2: %{name}-link.patch
a75165b7 13URL: http://www.asty.org/cmatrix/
06b01f03
JB
14BuildRequires: autoconf
15BuildRequires: automake
e55c5f55 16BuildRequires: ncurses-devel >= 5.0
a9ddf4b6 17Requires(post,postun): fontpostinst
66ad32e4 18Requires: kbd
a75165b7 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
22What is CMatrix? :-)
23
767495cf 24CMatrix is a program I wrote one evening because I didn't want to have
25to run Wind*ws to see the cool scrolling lines from 'The Matrix', my
26fave movie. If you haven't seen this movie and you are a fan of
e55c5f55 27computers or sci-fi in general, go see this movie!!!
a75165b7 28
b913b008 29%description -l pl.UTF-8
e55c5f55
PG
30What is CMatrix? :-)
31
b913b008 32CMatrix został napisany w jeden wieczór byś nie musiał uruchamiać M$
19049a8f 33Wind*ws, aby zobaczyć na konsoli interesujący efekt spadających znaków
b913b008 34znany z filmu "Matrix". Jeżeli nie widziałeś tego filmu, a jesteś
19049a8f 35fanem 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 47CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
66ad32e4
PG
48%configure \
49 --with-setfont
2845c8cd 50%{__make}
a75165b7 51
52%install
53rm -rf $RPM_BUILD_ROOT
20f00d2e
KK
54install -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
58install cmatrix $RPM_BUILD_ROOT%{_bindir}
59install cmatrix.1 $RPM_BUILD_ROOT%{_mandir}/man1
60install mtx.pcf $RPM_BUILD_ROOT%{_datadir}/fonts/misc
20f00d2e 61install matrix.psf.gz $RPM_BUILD_ROOT/lib/kbd/consolefonts
a75165b7 62
4711d0b5 63gzip -9nf $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
a75165b7 64
06b01f03
JB
65%clean
66rm -rf $RPM_BUILD_ROOT
67
a75165b7 68%post
a9ddf4b6 69fontpostinst misc
a75165b7 70
71%postun
a9ddf4b6 72fontpostinst 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/*
This page took 0.056477 seconds and 4 git commands to generate.