]> git.pld-linux.org Git - packages/devtodo.git/blob - devtodo.spec
- dropped Source0-size, cosmetics
[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 Patch0:         %{name}-include.patch
11 Patch1:         %{name}-am_fix.patch
12 URL:            http://swapoff.org/DevTodo/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  ncurses-devel
17 BuildRequires:  readline-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Developer Todo is a program to display and manage a hierarchical,
22 prioritised list of outstanding work, or just reminders.
23
24 The program itself is assisted by a few shell scripts that override
25 default builtins. Specifically, cd, pushd and popd are overridden so
26 that when using one of these commands to enter a directory, the todo
27 will display any outstanding items in that directory.
28
29 %description -l pl
30 Developer Todo jest programem do wy¶wietlania i zarz±dzania
31 hierarchiczn±, list± zaleg³ych prac z wyznaczonymi priorytetami, lub
32 po prostu przypomnieniami.
33
34 Sam program jest wspomagany kilkoma skryptami pow³oki, które zastêpuj±
35 domy¶lne, wbudowane polecenia, takie jak cd, pushd i popd. Jest to
36 potrzebne aby podczas wchodzenia do katalogu, przy u¿yciu wymienionych
37 komend, wypisywana by³a lista zaleg³ych rzeczy do zrobienia w danym
38 katalogu.
39
40 %prep
41 %setup -q
42 %patch0 -p1
43 %patch1 -p1
44
45 %build
46 rm -f missing
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %configure \
51         --enable-shared
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
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) %verify(not md5 mtime size) %{_sysconfdir}/*
This page took 0.258862 seconds and 3 git commands to generate.