]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - nano/nano.nm
paxctl: Update to 0.8.
[people/ms/ipfire-3.x.git] / nano / nano.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = nano
7 mainversion = 2.3
8 subversion = 2
9 version = %{mainversion}.%{subversion}
10 release = 1
11
12 groups = Application/Editors
13 url = http://www.nano-editor.org/
14 license = GPLv2+
15 summary = A small text editor.
16
17 description
18 GNU nano is a small and friendly text editor.
19 end
20
21 source_dl = http://www.nano-editor.org/dist/v%{mainversion}/
22
23 build
24 requires
25 groff
26 ncurses-devel
27 end
28
29 configure_options += \
30 --enable-color \
31 --enable-multibuffer \
32 --enable-nanorc
33
34 install_cmds
35 # Disable line wrapping.
36 sed -i doc/nanorc.sample \
37 -e "s/# set nowrap/set nowrap/"
38
39 install -v -m644 -D doc/nanorc.sample \
40 %{BUILDROOT}%{sysconfdir}/nanorc
41 end
42 end
43
44 packages
45 package %{name}
46 configfiles
47 %{sysconfdir}/nanorc
48 end
49 end
50
51 package %{name}-debuginfo
52 template DEBUGINFO
53 end
54 end