Bernie Innocenti 2de07b0
Name:		devtodo
Bernie Innocenti 2de07b0
Version:	0.1.20
Bernie Innocenti 2de07b0
Summary:	Manage a prioritised list of todo items organized by directory
da9b0f0
Release:	18%{?dist}
Bernie Innocenti 2de07b0
License:	GPLv2
Bernie Innocenti 2de07b0
Group:		Development/Tools
Bernie Innocenti 2de07b0
URL:		http://swapoff.org/DevTodo
Bernie Innocenti 2de07b0
Source0:	http://swapoff.org/files/%{name}/%{name}-%{version}.tar.gz
Patrick Uiterwijk e029ee3
Patch0:		%{name}-0.1.20-buildfixes.patch
Patrick Uiterwijk e029ee3
Patch1:     %{name}-aarch64.patch
Bernie Innocenti 2de07b0
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Bernie Innocenti 2de07b0
Patrick Uiterwijk 4982c3f
BuildRequires:  libtool
Patrick Uiterwijk 4982c3f
BuildRequires:  automake
Patrick Uiterwijk c6888f8
BuildRequires:  autoconf
Patrick Uiterwijk ee31003
BuildRequires:	compat-readline5-devel
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%description
Bernie Innocenti 2de07b0
Todo is a program to display and manage a hierarchical, prioritised list of 
Bernie Innocenti 2de07b0
outstanding work, or just reminders.
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
The program itself is assisted by a few shell scripts that override default
Bernie Innocenti 2de07b0
builtins. Specifically, cd, pushd and popd are overridden so that when using
Bernie Innocenti 2de07b0
one of these commands to enter a directory, the todo will display any 
Bernie Innocenti 2de07b0
outstanding items in that directory.
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
For much more complete information please refer to the man page (devtodo(1)).
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%prep
Bernie Innocenti 2de07b0
%setup -q
Bernie Innocenti 2de07b0
%patch0 -p1 -b .bfix
Patrick Uiterwijk 2c28aaa
%patch1 -p1
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%build
Patrick Uiterwijk ee31003
export CPPFLAGS="-I%{_includedir}/readline5" LDFLAGS="-L%{_libdir}/readline5"
Bernie Innocenti 2de07b0
%configure
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
make %{?_smp_mflags}
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%install
Bernie Innocenti 2de07b0
make DESTDIR=%{buildroot} install
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
mkdir -p %{buildroot}/%{_sysconfdir}/profile.d
Bernie Innocenti 2de07b0
%{__install} -p -m 644 doc/scripts.sh %{buildroot}/%{_sysconfdir}/profile.d/devtodo.sh
Bernie Innocenti 2de07b0
%{__install} -p -m 644 doc/scripts.tcsh %{buildroot}/%{_sysconfdir}/profile.d/devtodo.tcsh
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%clean
Bernie Innocenti 2de07b0
rm -rf %{buildroot}
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%files
Bernie Innocenti 2de07b0
%defattr(-,root,root,-)
Bernie Innocenti 2de07b0
%config(noreplace) %{_sysconfdir}/todorc
Bernie Innocenti 2de07b0
%config(noreplace) %{_sysconfdir}/profile.d/devtodo.sh
Bernie Innocenti 2de07b0
%config(noreplace) %{_sysconfdir}/profile.d/devtodo.tcsh
Bernie Innocenti 2de07b0
%{_bindir}/devtodo
Bernie Innocenti 2de07b0
%{_bindir}/todo
Bernie Innocenti 2de07b0
%{_bindir}/tda
Bernie Innocenti 2de07b0
%{_bindir}/tdr
Bernie Innocenti 2de07b0
%{_bindir}/tde
Bernie Innocenti 2de07b0
%{_bindir}/tdd
Bernie Innocenti 2de07b0
%{_bindir}/tdl
Bernie Innocenti 2de07b0
%{_mandir}/man?/*
Bernie Innocenti 2de07b0
%doc AUTHORS README COPYING NEWS QuickStart doc/todorc.example ChangeLog
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
%changelog
da9b0f0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.20-18
da9b0f0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
da9b0f0
fa01a0b
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.20-17
fa01a0b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fa01a0b
81ec0ca
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-16
81ec0ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
81ec0ca
f22e7cb
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.1.20-15
f22e7cb
- Rebuilt for GCC 5 C++11 ABI change
f22e7cb
724ff03
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-14
724ff03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
724ff03
2275786
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-13
2275786
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2275786
7cc8341
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-12
7cc8341
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7cc8341
Patrick Uiterwijk d86a87e
* Tue Mar 26 2013 Patrick Uiterwijk <puiterwijk@gmail.com> - 0.1.20-11
Patrick Uiterwijk e029ee3
- Apply a patch to get it building on AArch64
Patrick Uiterwijk d86a87e
15db0e1
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-10
15db0e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
15db0e1
d8777d6
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-9
d8777d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
d8777d6
Patrick Uiterwijk fe32c0f
* Wed Jul 11 2012 Patrick Uiterwijk <puiterwijk@gmail.com> - 0.1.20-8
Patrick Uiterwijk fe32c0f
- Applied the patch suggested by Miroslav Lichvar <mlichvar@redhat.com> to link with compat-readline5 (RHBZ #511306)
Patrick Uiterwijk fe32c0f
c35ef11
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-7
c35ef11
- Rebuilt for c++ ABI breakage
c35ef11
1588324
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-6
1588324
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1588324
9d0ddac
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-5
9d0ddac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9d0ddac
6d1ad3e
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.20-4
6d1ad3e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6d1ad3e
Bernie Innocenti 2de07b0
* Tue Dec 21 2008 Bernie Innocenti <bernie@codewiz.org> - 0.1.20-3
Bernie Innocenti 2de07b0
- More fixes reported by reviewer
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Tue Dec 19 2008 Bernie Innocenti <bernie@codewiz.org> - 0.1.20-2
Bernie Innocenti 2de07b0
- Fix Summary and License tags as requested by reviewer
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Tue Dec 10 2008 Bernie Innocenti <bernie@codewiz.org> - 0.1.20-1
Bernie Innocenti 2de07b0
- Upstream version 0.1.20.
Bernie Innocenti 2de07b0
- Comply with Fedora packaging guidelines
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Sat Dec 14 2002 Alec Thomas <alec@korn.ch>
Bernie Innocenti 2de07b0
- Added tdl stuff
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Thu Nov  8 2001 Alec Thomas <alec@korn.ch>
Bernie Innocenti 2de07b0
- Now include example scripts for sh/tcsh and gzip man pages due to extreme bizarreness of rpm.
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Wed Jul 11 2001 Alec Thomas <alec@korn.ch>
Bernie Innocenti 2de07b0
- Removed aclocal/autoheader/autoconf/automake use.
Bernie Innocenti 2de07b0
Bernie Innocenti 2de07b0
* Mon May 14 2001 Alec Thomas <alec@korn.ch>
Bernie Innocenti 2de07b0
- Initial RPMage.