]> git.pld-linux.org Git - packages/cmatrix.git/blobdiff - cmatrix.spec
- added using %%{rpmcflags} macro.
[packages/cmatrix.git] / cmatrix.spec
index 4fcf8af594c14197c61884ff3a375642aa79447e..4180fc7afea7707698bb5fcfccbf253c7bd9b329 100644 (file)
@@ -1,12 +1,13 @@
 Summary:       CMatrix - show a scrolling 'Matrix' like screen in Linux (curses based)
 Name:          cmatrix
-Version:       1.1a
-Release:       1
+Version:       1.1b
+Release:       4
 License:       GPL
-Group:         Utilities/Console
-Group(pl):     Narzêdzia/Konsola
+Group:         Applications/Console
+Group(de):     Applikationen/Konsole
+Group(pl):     Aplikacje/Konsola
 Source0:       http://www.asty.org/cmatrix/dist/%{name}-%{version}.tar.gz
-Patch0:                cmatrix-DESTDIR.patch
+Patch0:                %{name}-DESTDIR.patch
 URL:           http://www.asty.org/cmatrix/
 BuildRequires: ncurses-devel >= 5.0
 Prereq:                /usr/X11R6/bin/mkfontdir
@@ -15,33 +16,35 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 What is CMatrix? :-)
 
-CMatrix is a program I wrote one evening because I didn't want to have to
-run Wind*ws to see the cool scrolling lines from 'The Matrix', my fave
-movie. If you haven't seen this movie and you are a fan of computers or
-sci-fi in general, go see this movie!!! I have seen it twice, and I'm
-pondering seeing it again before it comes out on VHS.
+CMatrix is a program I wrote one evening because I didn't want to have
+to run Wind*ws to see the cool scrolling lines from 'The Matrix', my
+fave movie. If you haven't seen this movie and you are a fan of
+computers or sci-fi in general, go see this movie!!! I have seen it
+twice, and I'm pondering seeing it again before it comes out on VHS.
 
 %prep
 %setup -q
 %patch0 -p1
 
 %build
-automake
-CFLAGS="$RPM_OPT_FLAGS -I/usr/include/ncurses"
-LDFLAGS="-s"
-export CFLAGS LDFLAGS
+aclocal
+autoconf
+automake -a -c
+CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
 %configure
-make
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_datadir}/{consolefonts,fonts/misc},%{_bindir}} \
+       $RPM_BUILD_ROOT%{_mandir}/man1
 
-make install \
-       DESTDIR=$RPM_BUILD_ROOT \
-       Xmiscfontsdir=/usr/share/fonts/misc
+install cmatrix $RPM_BUILD_ROOT%{_bindir}
+install cmatrix.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install mtx.pcf $RPM_BUILD_ROOT%{_datadir}/fonts/misc
+install matrix.psf.gz $RPM_BUILD_ROOT%{_datadir}/consolefonts
 
 gzip -9nf NEWS README README.fonts TODO \
-       $RPM_BUILD_ROOT%{_mandir}/man1/* \
        $RPM_BUILD_ROOT%{_datadir}/fonts/misc/*
 
 %post
@@ -60,4 +63,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc *.gz
 %attr(755,root,root) %{_bindir}/*
 %{_datadir}/fonts/misc/*
+%{_datadir}/consolefonts/*
 %{_mandir}/man1/*
This page took 0.098494 seconds and 4 git commands to generate.