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