]> git.pld-linux.org Git - packages/devtodo.git/blame - devtodo.spec
- fixed typo
[packages/devtodo.git] / devtodo.spec
CommitLineData
fdf21429 1Summary: Todo list managment
0fa20589 2Summary(pl.UTF-8): Zarządzanie listą spraw do zrobienia
fdf21429 3Name: devtodo
18e6bffb 4Version: 0.1.20
3d8aa0ca 5Release: 2
fdf21429 6License: GPL
7Group: Development/Tools
cc79a25c 8#Source0Download: http://swapoff.org/DevTodo
9a5c29d0 9Source0: http://swapoff.org/files/devtodo/%{name}-%{version}.tar.gz
18e6bffb 10# Source0-md5: 4a6241437cb56f237f850bcd2233c3c4
c1decaab 11Source1: %{name}.sh
e5eaaf6b 12Source2: %{name}.csh
1bc46198 13Patch0: %{name}-stdlib_fix.patch
44459362 14URL: http://swapoff.org/DevTodo
2ddafff6 15BuildRequires: autoconf
16BuildRequires: automake
50ffcb48 17BuildRequires: libstdc++-devel
0e7c0599 18BuildRequires: libtool
50ffcb48 19BuildRequires: ncurses-devel
9a5c29d0 20BuildRequires: readline-devel
fdf21429 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24Developer Todo is a program to display and manage a hierarchical,
25prioritised list of outstanding work, or just reminders.
26
27The program itself is assisted by a few shell scripts that override
28default builtins. Specifically, cd, pushd and popd are overridden so
29that when using one of these commands to enter a directory, the todo
30will display any outstanding items in that directory.
31
d4d1e7ed
JR
32%description -l pl.UTF-8
33Developer Todo jest programem do wyświetlania i zarządzania
34hierarchiczną, listą zaległych prac z wyznaczonymi priorytetami, lub
fdf21429 35po prostu przypomnieniami.
36
d4d1e7ed
JR
37Sam program jest wspomagany kilkoma skryptami powłoki, które zastępują
38domyślne, wbudowane polecenia, takie jak cd, pushd i popd. Jest to
39potrzebne aby podczas wchodzenia do katalogu, przy użyciu wymienionych
40komend, wypisywana była lista zaległych rzeczy do zrobienia w danym
fdf21429 41katalogu.
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
58rm -rf $RPM_BUILD_ROOT
c1decaab 59install -d $RPM_BUILD_ROOT/etc/profile.d
b7034d27 60
00e2ab43
PG
61%{__make} install \
62 DESTDIR=$RPM_BUILD_ROOT
fdf21429 63
f9a4acff 64rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{tda,tdd,tde,tdl,tdr,todo}.1*
fdf21429 65echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tda.1
66echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdd.1
67echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tde.1
f9a4acff 68echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdl.1
fdf21429 69echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/tdr.1
70echo ".so devtodo.1" > $RPM_BUILD_ROOT%{_mandir}/man1/todo.1
71
c1decaab
PG
72install %{SOURCE1} $RPM_BUILD_ROOT/etc/profile.d
73install %{SOURCE2} $RPM_BUILD_ROOT/etc/profile.d
74
fdf21429 75%clean
76rm -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/*
This page took 0.186435 seconds and 4 git commands to generate.