]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - newt/newt.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / newt / newt.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = newt
7 version = 0.52.19
8 release = 1
9
10 groups = System/Libraries
11 url = https://fedorahosted.org/releases/n/e/newt/
12 license = LGPLv2
13 summary = A library for text mode user interfaces.
14
15 description
16 Newt is a programming library for color text mode, widget based user
17 interfaces. Newt can be used to add stacked windows, entry widgets,
18 checkboxes, radio buttons, labels, plain text fields, scrollbars,
19 etc., to text mode user interfaces. This package also contains the
20 shared library needed by programs built with newt, as well as a
21 /usr/bin/dialog replacement called whiptail. Newt is based on the
22 slang library.
23 end
24
25 source_dl = %{url}
26
27 build
28 requires
29 popt-devel
30 python-devel
31 slang-devel
32 end
33
34 configure_options += \
35 --without-gpm-support \
36 --without-tcl
37
38 prepare_cmds
39 # make install searches for /usr/bin/install
40 sed -e "s/^INSTALL=.*/INSTALL = install -c/" -i po/Makefile
41 end
42
43 install
44 make install instroot=%{BUILDROOT}
45 end
46 end
47
48 packages
49 package %{name}
50
51 package %{name}-python
52 summary = Python bindings for newt.
53 description = %{summary}
54
55 provides
56 python-newt
57 python-snack
58 end
59
60 files
61 %{libdir}/python*/site-packages/*snack*
62 end
63 end
64
65 package %{name}-devel
66 template DEVEL
67 end
68
69 package %{name}-debuginfo
70 template DEBUGINFO
71 end
72 end