]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = newt |
9947ff1a | 7 | version = 0.52.13 |
802ea3af | 8 | release = 1 |
488a92f6 | 9 | |
802ea3af MT |
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. | |
488a92f6 | 14 | |
802ea3af MT |
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 | |
488a92f6 | 24 | |
9947ff1a | 25 | source_dl = %{url} |
488a92f6 | 26 | |
802ea3af MT |
27 | build |
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 | |
46 | end | |
488a92f6 | 47 | |
802ea3af MT |
48 | packages |
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 MT |
60 | files |
61 | /usr/lib/python*/site-packages/*snack* | |
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 | 72 | end |