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