]>
Commit | Line | Data |
---|---|---|
d68f6365 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = dialog | |
7 | version = 1.1 | |
8 | svn_ver = 20111020 | |
c3197273 | 9 | release = 2.%{svn_ver} |
d68f6365 MT |
10 | thisapp = %{name}-%{version}-%{svn_ver} |
11 | ||
12 | groups = Applications/System | |
13 | url = http://invisible-island.net/dialog/dialog.html | |
14 | license = LGPLv2 | |
15 | summary = A utility for creating TTY dialog boxes. | |
16 | ||
17 | description | |
18 | Dialog is a utility that allows you to show dialog boxes (containing | |
19 | questions or messages) in TTY (text mode) interfaces. Dialog is called | |
20 | from within a shell script. The following dialog boxes are implemented: | |
21 | yes/no, menu, input, message, text, info, checklist, radiolist, and | |
22 | gauge. | |
23 | end | |
24 | ||
25 | source_dl = ftp://invisible-island.net/dialog/ | |
26 | sources = %{thisapp}.tgz | |
27 | ||
28 | build | |
29 | requires | |
c3197273 | 30 | chrpath |
d68f6365 MT |
31 | findutils |
32 | gettext | |
33 | libtool | |
34 | ncurses-devel | |
35 | end | |
36 | ||
37 | configure_options += \ | |
38 | --enable-nls \ | |
39 | --with-libtool \ | |
40 | --with-ncursesw \ | |
c3197273 | 41 | --includedir=/usr/include/dialog |
d68f6365 MT |
42 | |
43 | install_cmds | |
c3197273 | 44 | chmod -v 755 %{BUILDROOT}%{libdir}/libdialog.so.*.*.* |
d68f6365 | 45 | |
c3197273 MT |
46 | # Remove RPATH. |
47 | chrpath --delete %{BUILDROOT}%{bindir}/dialog | |
d68f6365 MT |
48 | end |
49 | end | |
50 | ||
51 | packages | |
52 | package %{name} | |
53 | ||
54 | package %{name}-devel | |
55 | template DEVEL | |
56 | end | |
1f9bc2f0 MT |
57 | |
58 | package %{name}-debuginfo | |
59 | template DEBUGINFO | |
60 | end | |
d68f6365 | 61 | end |