]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame_incremental - newt/newt.nm
newt: Fix packaging of python-newt on x86_64.
[people/arne_f/ipfire-3.x.git] / newt / newt.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = newt
7version = 0.52.13
8release = 2
9
10groups = System/Libraries
11url = https://fedorahosted.org/releases/n/e/newt/
12license = LGPLv2
13summary = A library for text mode user interfaces.
14
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
24
25source_dl = %{url}
26
27build
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
46end
47
48packages
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
72end