Name: binclock Summary: Fullscreen console binary clock Version: 0.3.2 Release: 2%{?dist} License: GPLv2 Group: Applications/Text URL: http://binclock.sourceforge.net Source0: http://prdownloads.sourceforge.net/%{name}/%{name}_%{version}-1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildArch: noarch BuildRequires: python Requires: python %description Fullscreen console binary clock. Features: * Written in Python (needs version 2 or later) * Uses ncurses * In color * Proper SIGWINCH handling %prep #NONE %setup -q #NONE %build #NONE %install #For sanity protection, nuke buildroot %{__rm} -rf %{buildroot} #get rid of the developers debian folder %{__rm} -rf debian #get rid of the Makefile as it is not needed %{__rm} -rf Makefile #move the file to get rid of extension, environment is known mv binclock.py binclock %{__rm} -rf *.py #Install the executable install -Dp -m0755 binclock %{buildroot}%{_bindir}/binclock %clean %{__rm} -rf %{buildroot} %files %defattr (-, root, root) %{_bindir}/binclock %changelog * Thu Sep 04 2008 Adam Miller - 0.3.2-2 - Fixed issues pointed out by package review: - License has been altered, incorrect assumption previously taken from the sourceforge page. - Stylistic changes made to satisfy rpmlint warning * Wed Aug 20 2008 Adam Miller - 0.3.2-1 - First packaging attempt