OBS-URL: https://build.opensuse.org/package/show/utilities/devtodo?expand=0&rev=2
71 lines
1.9 KiB
RPMSpec
71 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package devtodo (Version 0.1.20)
|
|
#
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: devtodo
|
|
Version: 0.1.20
|
|
Release: 0.1
|
|
#
|
|
License: GPL
|
|
Group: Productivity/Other
|
|
#
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: gcc-c++ ncurses-devel readline-devel
|
|
#
|
|
Url: http://swapoff.org/DevTodo
|
|
# http://swapoff.org/files/devtodo/devtodo-0.1.20.tar.gz
|
|
Source: http://swapoff.org/files/devtodo/%{name}-%{version}.tar.bz2
|
|
Patch: devtodo-0.1.20_gcc43_missing_includes.patch
|
|
#
|
|
Summary: Console todo manager
|
|
%description
|
|
Todo is a program to display and manage a hierarchical, prioritized list of
|
|
outstanding work, or just reminders.
|
|
|
|
The program itself is assisted by a few shell scripts that override default
|
|
builtins. Specifically, cd, pushd and popd are overridden so that when using
|
|
one of these commands to enter a directory, the todo will display any
|
|
outstanding items in that directory.
|
|
|
|
For much more complete information please refer to the man page (devtodo(1)).
|
|
|
|
Author:
|
|
--------
|
|
see /usr/share/doc/packages/devtodo/AUTHORS
|
|
|
|
|
|
%prep
|
|
%setup
|
|
%patch
|
|
|
|
%build
|
|
%configure
|
|
%{__make} all
|
|
|
|
%install
|
|
%makeinstall
|
|
install -d -m 755 %{buildroot}%{_docdir}/%{name}/examples
|
|
install -m 644 contrib/* %{buildroot}%{_docdir}/%{name}/examples
|
|
install -m 644 doc/scripts*sh %{buildroot}%{_docdir}/%{name}/examples
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/*
|
|
%config(noreplace) %{_sysconfdir}/todorc
|
|
%{_mandir}/man1/*.1*
|
|
%doc AUTHORS README QuickStart NEWS ChangeLog doc/todorc.example
|
|
%doc %{_docdir}/%{name}/examples
|
|
|
|
%changelog
|