%define short_version 0.4 Name: identicurse Version: 0.4.1 Release: 3%{?dist} Summary: Curses based Status.net client Group: Applications/Internet License: GPLv3+ URL: http://identicurse.net/ Source0: http://identicurse.net/release/%{short_version}/%{name}-%{version}.tar.gz Patch0: identicurse-remove-unused-script-header.patch BuildArch: noarch BuildRequires: python2-devel, python-setuptools %description A simple but powerful Identi.ca client with a curses-based UI. %prep %setup -q -n %{name}-%{short_version} %patch0 -p1 %build %{__python} setup.py build %install %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT mv $RPM_BUILD_ROOT/%{_usr}/%{name}/* $RPM_BUILD_ROOT/%{python_sitelib}/%{name}/ %files %defattr(-,root,root,-) %doc CHANGELOG INSTALL LICENSE README conf/config.json # For noarch packages: sitelib %{python_sitelib}/%{name}/ %{python_sitelib}/%{name}-*.egg-info/ %{_bindir}/identicurse %changelog * Tue Dec 14 2010 Steve 'Ashcrow' Milner - 0.4.1-3 - Added name macro to sitelib file entry * Wed Dec 8 2010 Steve 'Ashcrow' Milner - 0.4.1-2 - Updated for items found in Fedora review * Wed Dec 8 2010 Steve 'Ashcrow' Milner - 0.4.1-1 - Initial spec