~ubuntu-branches/ubuntu/dapper/newt/dapper-security

« back to all changes in this revision

Viewing changes to newt.spec

  • Committer: Bazaar Package Importer
  • Author(s): Junichi Uekawa
  • Date: 2002-03-31 09:38:18 UTC
  • Revision ID: james.westby@ubuntu.com-20020331093818-t3cla7103r07qnyw
Tags: upstream-0.50.17
ImportĀ upstreamĀ versionĀ 0.50.17

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary: A development library for text mode user interfaces.
 
2
Name: newt
 
3
%define version 0.50.17
 
4
Version: %{version}
 
5
Release: 1
 
6
Copyright: LGPL
 
7
Group: System Environment/Libraries
 
8
Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-%{version}.tar.gz
 
9
Requires: slang
 
10
Provides: snack
 
11
 
 
12
%package devel
 
13
Summary: Newt windowing toolkit development files.
 
14
Requires: slang-devel %{name} = %{version}
 
15
Group: Development/Libraries
 
16
BuildRoot: /var/tmp/newtroot
 
17
 
 
18
%description
 
19
Newt is a programming library for color text mode, widget based user
 
20
interfaces.  Newt can be used to add stacked windows, entry widgets,
 
21
checkboxes, radio buttons, labels, plain text fields, scrollbars,
 
22
etc., to text mode user interfaces.  This package also contains the
 
23
shared library needed by programs built with newt, as well as a
 
24
/usr/bin/dialog replacement called whiptail.  Newt is based on the
 
25
slang library.
 
26
 
 
27
%description devel
 
28
The newt-devel package contains the header files and libraries
 
29
necessary for developing applications which use newt.  Newt is a
 
30
development library for text mode user interfaces.  Newt is based on
 
31
the slang library.
 
32
 
 
33
Install newt-devel if you want to develop applications which will use
 
34
newt.
 
35
 
 
36
%prep
 
37
%setup
 
38
 
 
39
%build
 
40
# gpm support seems to smash the stack w/ we use help in anaconda??
 
41
#./configure --with-gpm-support
 
42
./configure 
 
43
make
 
44
make shared
 
45
 
 
46
%install
 
47
rm -rf $RPM_BUILD_ROOT
 
48
mkdir -p $RPM_BUILD_ROOT
 
49
make instroot=$RPM_BUILD_ROOT install
 
50
make instroot=$RPM_BUILD_ROOT install-sh
 
51
 
 
52
%clean
 
53
rm -rf $RPM_BUILD_ROOT
 
54
 
 
55
%post -p /sbin/ldconfig
 
56
 
 
57
%postun -p /sbin/ldconfig
 
58
 
 
59
%changelog
 
60
* Tue Aug 22 2000 Erik Troan <ewt@redhat.com>
 
61
- fixed cursor disappearing in suspend (again)
 
62
 
 
63
* Sat Aug 19 2000 Preston Brown <pbrown@redhat.com>
 
64
- explicit requirement of devel subpackage on same version of main package
 
65
  so that .so file link doesn't break
 
66
 
 
67
* Wed Aug 16 2000 Erik Troan <ewt@redhat.com>
 
68
- fixed cursor disappearing in suspend
 
69
- moved libnewt.so to main package from -devel
 
70
 
 
71
* Thu Aug  3 2000 Matt Wilson <msw@redhat.com>
 
72
- added setValue method for checkboxes in snack
 
73
 
 
74
* Wed Jul 05 2000 Michael Fulbright <msf@redhat.com>
 
75
- added NEWT_FLAG_PASSWORD for entering passwords and having asterix echo'd
 
76
 
 
77
* Fri Jun 16 2000 Matt Wilson <msw@redhat.com>
 
78
- build for new release
 
79
 
 
80
* Fri Apr 28 2000 Jakub Jelinek <jakub@redhat.com>
 
81
- see CHANGES
 
82
 
 
83
* Mon Mar 13 2000 Matt Wilson <msw@redhat.com>
 
84
- revert mblen patch, go back to our own wide char detection
 
85
 
 
86
* Fri Feb 25 2000 Bill Nottingham <notting@redhat.com>
 
87
- fix doReflow to handle mblen returning 0
 
88
 
 
89
* Wed Feb 23 2000 Preston Brown <pbrown@redhat.com>
 
90
- fix critical bug in fkey 1-4 recognition on xterms
 
91
 
 
92
* Wed Feb  9 2000 Matt Wilson <msw@redhat.com>
 
93
- fixed snack widget setcallback function
 
94
 
 
95
* Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
 
96
- strip shared libs
 
97
 
 
98
* Mon Jan 31 2000 Matt Wilson <msw@redhat.com>
 
99
- added patch from Toru Hoshina <t@kondara.org> to improve multibyte
 
100
  character wrapping
 
101
 
 
102
* Thu Jan 20 2000 Erik Troan <ewt@redhat.com>
 
103
- see CHANGES
 
104
 
 
105
* Thu Jan 20 2000 Preston Brown <pbrown@redhat.com>
 
106
- fix segfault in newtRadioGetCurrent
 
107
 
 
108
* Mon Jan 17 2000 Erik Troan <ewt@redhat.com>
 
109
- added numerous bug fixes (see CHANGES)
 
110
 
 
111
* Mon Dec 20 1999 Matt Wilson <msw@redhat.com>
 
112
- rebuild with fix for listbox from Nalin
 
113
 
 
114
* Wed Oct 20 1999 Matt Wilson <msw@redhat.com>
 
115
- added patch to correctly wrap euc kanji
 
116
 
 
117
* Wed Sep 01 1999 Erik Troan <ewt@redhat.com>
 
118
- added suspend/resume to snack
 
119
 
 
120
* Tue Aug 31 1999 Matt Wilson <msw@redhat.com>
 
121
- enable gpm support
 
122
 
 
123
* Fri Aug 27 1999 Matt Wilson <msw@redhat.com>
 
124
- added hotkey assignment for gridforms, changed listbox.setcurrent to
 
125
  take the item key
 
126
 
 
127
* Wed Aug 25 1999 Matt Wilson <msw@redhat.com>
 
128
- fixed snack callback function refcounts, as well as optional data args
 
129
- fixed suspend callback ref counts
 
130
 
 
131
* Mon Aug 23 1999 Matt Wilson <msw@redhat.com>
 
132
- added buttons argument to entrywindow
 
133
 
 
134
* Thu Aug 12 1999 Bill Nottingham <notting@redhat.com>
 
135
- multi-state checkboxtrees. Woohoo.
 
136
 
 
137
* Mon Aug  9 1999 Matt Wilson <msw@redhat.com>
 
138
- added snack wrappings for checkbox flag setting
 
139
 
 
140
* Thu Aug  5 1999 Matt Wilson <msw@redhat.com>
 
141
- added snack bindings for setting current listbox selection
 
142
- added argument to set default selection in snack ListboxChoiceWindow
 
143
 
 
144
* Mon Aug  2 1999 Matt Wilson <msw@redhat.com>
 
145
- added checkboxtree
 
146
- improved snack binding
 
147
 
 
148
* Fri Apr  9 1999 Matt Wilson <msw@redhat.com>
 
149
- fixed a glibc related bug in reflow that was truncating all text to 1000
 
150
chars
 
151
 
 
152
* Fri Apr 09 1999 Matt Wilson <msw@redhat.com>
 
153
- fixed bug that made newt apps crash when you hit <insert> followed by lots
 
154
of keys
 
155
 
 
156
* Mon Mar 15 1999 Matt Wilson <msw@redhat.com>
 
157
- fix from Jakub Jelinek for listbox keypresses
 
158
 
 
159
* Fri Feb 27 1999 Matt Wilson <msw@redhat.com>
 
160
- fixed support for navigating listboxes with alphabetical keypresses
 
161
 
 
162
* Thu Feb 25 1999 Matt Wilson <msw@redhat.com>
 
163
- updated descriptions
 
164
- added support for navigating listboxes with alphabetical keypresses
 
165
 
 
166
* Mon Feb  8 1999 Matt Wilson <msw@redhat.com>
 
167
- made grid wrapped windows at least the size of their title bars
 
168
 
 
169
* Fri Feb  5 1999 Matt Wilson <msw@redhat.com>
 
170
- Function to set checkbox flags.  This will go away later when I have
 
171
  a generic flag setting function and signals to comps to go insensitive.
 
172
 
 
173
* Tue Jan 19 1999 Matt Wilson <msw@redhat.com>
 
174
- Stopped using libgpm, internalized all gpm calls.  Still need some cleanups.
 
175
 
 
176
* Thu Jan  7 1999 Matt Wilson <msw@redhat.com>
 
177
- Added GPM mouse support
 
178
- Moved to autoconf to allow compiling without GPM support
 
179
- Changed revision to 0.40
 
180
 
 
181
* Wed Oct 21 1998 Bill Nottingham <notting@redhat.com>
 
182
- built against slang-1.2.2
 
183
 
 
184
* Wed Aug 19 1998 Bill Nottingham <notting@redhat.com>
 
185
- bugfixes for text reflow
 
186
- added docs
 
187
 
 
188
* Fri May 01 1998 Cristian Gafton <gafton@redhat.com>
 
189
- devel package moved to Development/Libraries
 
190
 
 
191
* Thu Apr 30 1998 Erik Troan <ewt@redhat.com>
 
192
- removed whiptcl.so -- it should be in a separate package
 
193
 
 
194
* Mon Feb 16 1998 Erik Troan <ewt@redhat.com>
 
195
- added newtWinMenu()
 
196
- many bug fixes in grid code
 
197
 
 
198
* Wed Jan 21 1998 Erik Troan <ewt@redhat.com>
 
199
- removed newtWinTernary()
 
200
- made newtWinChoice() return codes consistent with newtWinTernary()
 
201
 
 
202
* Fri Jan 16 1998 Erik Troan <ewt@redhat.com>
 
203
- added changes from Bruce Perens
 
204
    - small cleanups
 
205
    - lets whiptail automatically resize windows
 
206
- the order of placing a grid and adding components to a form no longer
 
207
  matters
 
208
- added newtGridAddComponentsToForm()
 
209
 
 
210
* Wed Oct 08 1997 Erik Troan <ewt@redhat.com>
 
211
- added newtWinTernary()
 
212
 
 
213
* Tue Oct 07 1997 Erik Troan <ewt@redhat.com>
 
214
- made Make/spec files use a buildroot
 
215
- added grid support (for newt 0.11 actually)
 
216
 
 
217
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
 
218
- Added patched from Clarence Smith for setting the size of a listbox
 
219
- Version 0.9
 
220
 
 
221
* Tue May 28 1997 Elliot Lee <sopwith@redhat.com> 0.8-2
 
222
- Touchups on Makefile
 
223
- Cleaned up NEWT_FLAGS_*
 
224
 
 
225
* Tue Mar 18 1997 Erik Troan <ewt@redhat.com>
 
226
- Cleaned up listbox
 
227
- Added whiptail
 
228
- Added newtButtonCompact button type and associated colors
 
229
- Added newtTextboxGetNumLines() and newtTextboxSetHeight()
 
230
 
 
231
* Tue Feb 25 1997 Erik Troan <ewt@redhat.com>
 
232
- Added changes from sopwith for C++ cleanliness and some listbox fixes.
 
233
 
 
234
%files
 
235
%defattr (-,root,root)
 
236
%doc CHANGES COPYING
 
237
/usr/lib/libnewt.so.*
 
238
/usr/bin/whiptail
 
239
/usr/lib/python1.5/snack.py
 
240
/usr/lib/python1.5/lib-dynload/_snackmodule.so
 
241
/usr/lib/libnewt.so
 
242
 
 
243
%files devel
 
244
%defattr (-,root,root)
 
245
%doc tutorial.sgml
 
246
/usr/include/newt.h
 
247
/usr/lib/libnewt.a