]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - newt/newt.nm
kernel: update to 4.12.10
[people/arne_f/ipfire-3.x.git] / newt / newt.nm
CommitLineData
488a92f6 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
488a92f6
MT
4###############################################################################
5
802ea3af 6name = newt
b449c308
AM
7version = 0.52.19
8release = 1
488a92f6 9
802ea3af
MT
10groups = System/Libraries
11url = https://fedorahosted.org/releases/n/e/newt/
12license = LGPLv2
13summary = A library for text mode user interfaces.
488a92f6 14
802ea3af
MT
15description
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.
23end
488a92f6 24
9947ff1a 25source_dl = %{url}
488a92f6 26
802ea3af
MT
27build
28 requires
29 popt-devel
30 python-devel
31 slang-devel
32 end
488a92f6 33
802ea3af
MT
34 configure_options += \
35 --without-gpm-support \
36 --without-tcl
83731100 37
802ea3af
MT
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
46end
488a92f6 47
802ea3af
MT
48packages
49 package %{name}
488a92f6 50
802ea3af
MT
51 package %{name}-python
52 summary = Python bindings for newt.
53 description = %{summary}
488a92f6 54
802ea3af
MT
55 provides
56 python-newt
57 python-snack
58 end
488a92f6 59
802ea3af 60 files
a965b2dd 61 %{libdir}/python*/site-packages/*snack*
802ea3af
MT
62 end
63 end
9947ff1a
MT
64
65 package %{name}-devel
66 template DEVEL
67 end
1f9bc2f0
MT
68
69 package %{name}-debuginfo
70 template DEBUGINFO
71 end
802ea3af 72end