Search
SailfishOS Open Build Service
>
Projects
>
home:nielnielsen
>
cmatrix
> Changes
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 2
[-]
[+]
Changed
cmatrix.spec
@@ -0,0 +1,40 @@ +%define name cmatrix +%define ver 1.2a +%define rel 1 + +Summary: CMatrix simulates the display from "The Matrix" +Name: %{name} +Version: %{ver} +Release: %{rel} +Group: Amusements/Graphics +License: GPL +Source0: http://www.asty.org/cmatrix/dist/cmatrix-%{ver}.tar.gz +#Provides: none +Requires: ncurses +BuildRoot: /var/tmp/%{name}-buildroot +%Description +CMatrix is based on the screensaver from The Matrix website. It works +with terminal settings up to 132x300 and can scroll lines all at the same +rate or asynchronously and at a user-defined speed. +%Prep +%setup +%Build +./configure --prefix=/usr --mandir=/usr/share/man +make +%Install +rm -rf $RPM_BUILD_ROOT +make DESTDIR="$RPM_BUILD_ROOT" install +mkdir -p $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts +strip cmatrix +install matrix.fnt $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts +install matrix.psf.gz $RPM_BUILD_ROOT/usr/lib/kbd/consolefonts +%clean +rm -rf $RPM_BUILD_ROOT +%files +%defattr(-,root,root) +%doc README COPYING ChangeLog AUTHORS INSTALL NEWS TODO +%{_bindir}/cmatrix +%{_mandir}/*/* +%{_libdir}/kbd/consolefonts/matrix.psf.gz +%{_libdir}/kbd/consolefonts/matrix.fnt +%changelog