Tim,
I have this one built. I noticed you were working on it so I didn't send it, but here's the specfile that worked for me:
# Task Coach - Your friendly task manager
# Copyright (C) 2004-2011 Task Coach developers <developers@taskcoach.org>
# Copyright (C) 2008 Marcin Zajaczkowski <mszpak@wp.pl>
#
# Task Coach is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Task Coach is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define originalName TaskCoach
Name: taskcoach
Summary: Your friendly task manager
Version: 1.2.24
Release: %mkrel 1
License: GPLv3+
Group: Applications/Productivity
URL: http://taskcoach.org/
Source: http://downloads.sourceforge.net/taskcoach/TaskCoach-%{version}.tar.xz
Source1: taskcoach.png
Source2: build.in/fedora/taskcoach.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: python >= 2.5
Requires: wxPython >= 2.8.9.1
# Must have setuptools to build the package
BuildRequires: python-setuptools
%description
Task Coach is a simple open source todo manager to manage personal tasks and todo lists. It grew out of a frustration that well-known task managers, such as those provided with Outlook or Lotus Notes, do not provide facilities for composite tasks. Often, tasks and other things todo consist of several activities. Task Coach is designed to deal with composite tasks.
%prep
%setup -q -n %{originalName}-%{version}
%build
CFLAGS="%{optflags}" %{__python} make.py build
%install
%{__rm} -rf %{buildroot}
# --root $RPM_BUILD_ROOT makes the package install with a single, expanded
# directory in %{python_sitelib} and a separate egginfo directory.
%{__python} setup.py install --skip-build --root="%{buildroot}" --prefix="%{_prefix}"
%{__mkdir} -p %{buildroot}%{_datadir}/pixmaps
%{__cp} -a %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/
desktop-file-install --vendor fedora \
--dir %{buildroot}%{_datadir}/applications \
%{SOURCE2}
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/taskcoach.py
#python_sitelib definition should be used instead of
#%dir %{python_sitelib}/taskcoachlib
%{_libdir}/python*/site-packages/taskcoachlib/*
%{_libdir}/python*/site-packages/TaskCoach-*-py2.*.egg-info
%{_datadir}/applications/fedora-taskcoach.desktop
%{_datadir}/pixmaps/taskcoach.png
%doc CHANGES.txt LICENSE.txt PUBLICITY.txt README.txt TODO.tsk
%exclude %{_libdir}/python*/site-packages/buildlib/*.py*
%changelog
* Mon May 02 2010 Jerome Laheurte <fraca7 AT free DOTT fr> - 1.0.8-1
- add the egginfo to __files to build on Fedora 12
* Wed Mar 24 2010 Frank Niessink <frank ATT niessink DOTT com> - 1.0.1-1
- no need to exclude pysyncml library here for Fedora 11
* Wed Mar 19 2008 Frank Niessink <frank ATT niessink DOTT com> - 0.70.0-1
- integrate Fedora RPM build step into Task Coach build process
* Tue Feb 12 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.69.0-2
- clean up spec file (official RPM packages with be built from that SPEC)
* Sun Feb 10 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.69.0-1
- updated to 0.69.0
* Fri Jan 25 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.68.0-2
- .desktop file and icon added
* Sun Jan 06 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.68.0-1
- initial internal release
I would create the .desktop file in the specfile and get rid of the extra source file. (I just copy an example from another pclos spec.)
Galen