]> git.pld-linux.org Git - packages/devtodo.git/blob - devtodo.spec
- unified
[packages/devtodo.git] / devtodo.spec
1 Summary:        Todo list managment
2 Summary(pl.UTF-8):      Zarządzanie listą spraw do zrobienia
3 Name:           devtodo
4 Version:        0.1.20
5 Release:        1
6 License:        GPL
7 Group:          Development/Tools
8 #Source0Download: http://swapoff.org/DevTodo
9 Source0:        http://swapoff.org/files/devtodo/%{name}-%{version}.tar.gz
10 # Source0-md5:  4a6241437cb56f237f850bcd2233c3c4
11 Patch0:         devtodo-stdlib_fix.patch
12 URL:            http://swapoff.org/DevTodo
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  libtool
17 BuildRequires:  ncurses-devel
18 BuildRequires:  readline-devel
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 Developer Todo is a program to display and manage a hierarchical,
23 prioritised list of outstanding work, or just reminders.
24
25 The program itself is assisted by a few shell scripts that override
26 default builtins. Specifically, cd, pushd and popd are overridden so
27 that when using one of these commands to enter a directory, the todo
28 will display any outstanding items in that directory.
29
30 %description -l pl.UTF-8
31 Developer Todo jest programem do wyświetlania i zarządzania
32 hierarchiczną, listą zaległych prac z wyznaczonymi priorytetami, lub
33 po prostu przypomnieniami.
34
35 Sam program jest wspomagany kilkoma skryptami powłoki, które zastępują
36 domyślne, wbudowane polecenia, takie jak cd, pushd i popd. Jest to
37 potrzebne aby podczas wchodzenia do katalogu, przy użyciu wymienionych
38 komend, wypisywana była lista zaległych rzeczy do zrobienia w danym
39 katalogu.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44
45 %build
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %configure \
51         CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" \
52         --enable-shared
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{tda,tdd,tde,tdl,tdr,todo}.1*
62 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tda.1
63 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdd.1
64 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tde.1
65 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdl.1
66 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdr.1
67 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/todo.1
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %files
73 %defattr(644,root,root,755)
74 %doc AUTHORS ChangeLog NEWS QuickStart README doc/todorc.example doc/*sh
75 %attr(755,root,root) %{_bindir}/*
76 %{_mandir}/man1/*
77 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.090681 seconds and 3 git commands to generate.