From 0e51ed0a0de598de46f86781306d6bacc9dffb1a Mon Sep 17 00:00:00 2001 From: Adam Miller Date: Sep 11 2008 16:41:44 +0000 Subject: First upload of binclock package --- diff --git a/.cvsignore b/.cvsignore index e69de29..06a32b9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +binclock_0.3.2-1.tar.gz diff --git a/binclock.spec b/binclock.spec new file mode 100644 index 0000000..4fbb738 --- /dev/null +++ b/binclock.spec @@ -0,0 +1,67 @@ +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 diff --git a/import.log b/import.log new file mode 100644 index 0000000..2ac097f --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +binclock-0_3_2-2:HEAD:binclock-0.3.2-2.src.rpm:1221151263 diff --git a/sources b/sources index e69de29..1bc7e8b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +aa8f1124d9aff7864a0d6d792a2aaea7 binclock_0.3.2-1.tar.gz