Name: tudu Version: 0.7 Release: 2%{?dist} Summary: A simple, command line interface to do list application Group: Applications/Productivity License: GPLv3 URL: http://cauterized.net/~meskio/tudu/ Source0: http://cauterized.net/~meskio/tudu/tudu-0.7.tar.gz Patch0: Makefile-tudu.patch Patch1: Makefile-tudu2.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gcc-c++ BuildRequires: ncurses-devel %description A command line interface to manage hierarchical to dos. Each task has a title, a long text description, a deadline (tudu warns you when the date is close), and a scheduled date. There are categories and priorities. %prep %setup -q %patch0 -p1 pushd src %patch1 -p1 sed -i -e "1 i \ CFLAGS=%{optflags} " Makefile popd %build make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT BIN_DIR=$RPM_BUILD_ROOT%{_bindir} SHARE_DIR=$RPM_BUILD_ROOT/usr/share/tudu MAN_DIR=$RPM_BUILD_ROOT/usr/share/man ETC_DIR=$RPM_BUILD_ROOT/etc %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING CONTRIBUTORS ChangeLog AUTHORS todo.xml %{_bindir}/%{name} %{_mandir}/man1/%{name}* %{_datadir}/%{name} %{_sysconfdir}/* %config(noreplace) /etc/tudurc %changelog * Fri Nov 26 2010 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 0.7-2 - Added two patches to fix problems in the Makefile regarding the debugging RPM. * Tue Nov 23 2010 Eric "Sparks" Christensen <sparks@fedoraproject.org> - 0.7-1 - Initial RPM build.