amatrix

AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
git clone git://git.kocotian.pl/amatrix.git
Log | Files | Refs | README | LICENSE

cmatrix.spec.in (1359B)


      1 %define name    @PACKAGE@
      2 %define ver     @VERSION@
      3 %define rel     2
      4 
      5 Summary: CMatrix simulates the display from "The Matrix"
      6 Name: %{name}
      7 Version: %{ver}
      8 Release: %{rel}
      9 Group: Amusements/Graphics
     10 Copyright: GPL
     11 Packager: abishekvashok@gmail.com
     12 URL: https://github.com/abishekvashok/cmatrix
     13 Source0: https://github.com/abishekvashok/cmatrix/archive/%{ver}.tar.gz
     14 Provides: none
     15 Requires: ncurses
     16 Conflicts: none
     17 BuildRoot: /var/tmp/%{name}-buildroot
     18 %Description
     19 CMatrix is based on the screensaver from The Matrix website. It can scroll
     20 lines all at the same rate or asynchronously and at a user-defined speed.
     21 %Prep
     22 %setup
     23 %Build
     24 ./configure --prefix=/usr --mandir=/usr/share/man
     25 make
     26 %Install
     27 rm -rf $RPM_BUILD_ROOT
     28 make DESTDIR="$RPM_BUILD_ROOT" install
     29 mkdir -p $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
     30 mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
     31 strip cmatrix
     32 install matrix.fnt $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
     33 install matrix.psf.gz $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts
     34 install mtx.pcf $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
     35 mkfontdir $RPM_BUILD_ROOT/usr/X11R6/lib/X11/fonts/misc
     36 %clean
     37 rm -rf $RPM_BUILD_ROOT
     38 %files
     39 %defattr(-,root,root)
     40 %doc COPYING INSTALL README.md
     41 %{_bindir}/cmatrix
     42 %{_mandir}/*/*
     43 /usr/lib/kbd/consolefonts/matrix.psf.gz
     44 /usr/lib/kbd/consolefonts/matrix.fnt
     45 /usr/X11R6/lib/X11/fonts/misc/mtx.pcf