%global snapdate 20120814 %global treeish 97216606 Name: wmMatrix Version: 0.2 Release: 1.%{snapdate}git%{treeish}%{?dist} Summary: DockApp version of Jamie Zawinski's xmatrix screensaver hack Group: User Interface/X # The entire source code is GPLv2+ except for matrix.* and yarandom.* which is BSD License: GPLv2+ and BSD # wmMatrix is long since abandoned by its' original author and now # maintained by wmaker-dev@lists.windowmaker.org subscribers. URL: http://repo.or.cz/w/dockapps.git # "snapshot" link from http://repo.or.cz/w/dockapps.git/tree/HEAD:/wmMatrix # Tree-ish hash reduced to 8 chars, name and version parts are correctly # parsed by gitweb. However, you will get different results each time you # try to download this file, because git-archive(1) stamps each file with # current time. This is how git-archive(1) works... Source: %{url}/snapshot/%{name}-%{version}-g%{treeish}.tar.gz BuildRequires: libXext-devel libXpm-devel %description wmMatrix displays The Matrix (from the film of the same name) in a Window Maker dock application. Based on the xscreensaver module created by Jamie Zawinski. Although it works best with Window Maker, wmMatrix also works fine with other window managers. %prep %setup -q -c %build cd dockapps make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" %install mkdir -p %{buildroot}{%{_bindir},%{_mandir}/man1} install -p -m755 dockapps/wmMatrix %{buildroot}%{_bindir}/wmMatrix install -p -m644 dockapps/wmMatrix.1 %{buildroot}%{_mandir}/man1/wmMatrix.1 %files %doc dockapps/COPYING dockapps/COPYING.BSD %{_bindir}/wmMatrix %{_mandir}/man1/wmMatrix.1* %changelog * Tue Aug 14 2012 Alexey I. Froloff - 0.2-1.20120814git97216606 - Initial build for Fedora