]> Joshua Wise's Git repositories - tdl.git/blob - tdl.spec
Sorting by priority was wrong.
[tdl.git] / tdl.spec
1 Summary: A to-do list manager
2 Name: tdl
3 Version: 1.6-pre1
4 Release: 1
5 Copyright: GPL
6 Source: tdl-%{version}.tar.gz
7 Group: Applications/Utilities
8 Packager: Richard P. Curnow <rc@rc0.org.uk>
9 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
10 Requires: readline
11
12 %description
13 tdl is a console to-do list manager.  You can run its subcommands direct from
14 the command line, or enter an interactive mode which uses the readline library.
15
16 %prep
17 %setup -q
18
19 %build
20 configure
21 make %{?_smp_mflags} CC=gcc CFLAGS=-O2 prefix=%{_prefix}
22 make %{?_smp_mflags} tdl.txt prefix=%{_prefix}
23 make %{?_smp_mflags} tdl.info prefix=%{_prefix}
24 make %{?_smp_mflags} tdl.html prefix=%{_prefix}
25
26 %install
27 rm -rf %{buildroot}
28 make install DESTDIR=%{buildroot} prefix=%{_prefix} bindir=%{buildroot}%{_bindir} mandir=%{buildroot}%{_mandir}
29 mkdir -p %{buildroot}%{_infodir}
30 cp tdl.info* %{buildroot}/%{_infodir}
31
32 %clean
33 rm -rf %{buildroot}
34
35 %files
36 %defattr(-,root,root,-)
37 %doc README tdl.txt tdl.html
38 %{_bindir}/tdl*
39 %{_mandir}/man[^3]/*
40 %{_infodir}/*
41
This page took 0.02902 seconds and 4 git commands to generate.