]> git.pld-linux.org Git - packages/devtodo.git/blob - devtodo.spec
- rel 2 for AC
[packages/devtodo.git] / devtodo.spec
1 Summary:        Todo list managment
2 Summary(pl):    Zarz±dzanie list± spraw do zrobienia
3 Name:           devtodo
4 Version:        0.1.18
5 Release:        2
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://swapoff.org/files/devtodo/%{name}-%{version}.tar.gz
9 # Source0-md5:  6ca0a414685cb7a7f32f7ae22cb3a2a9
10 # Source0-size: 432858
11 Patch0:         %{name}-include.patch
12 Patch1:         %{name}-am_fix.patch
13 URL:            http://swapoff.org/DevTodo/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  libstdc++-devel
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
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 %patch1 -p1
45
46 %build
47 rm -f missing
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --enable-shared
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{tda,tdd,tde,tdl,tdr,todo}.1*
61 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tda.1
62 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdd.1
63 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tde.1
64 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdl.1
65 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdr.1
66 echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/todo.1
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc AUTHORS ChangeLog NEWS QuickStart README TODO doc/todorc.example doc/*sh
74 %attr(755,root,root) %{_bindir}/*
75 %{_mandir}/man1/*
76 %config(noreplace) %{_sysconfdir}/*
This page took 0.48024 seconds and 4 git commands to generate.