/[smeserver]/rpms/whiptail/sme7/whiptail.spec
ViewVC logotype

Annotation of /rpms/whiptail/sme7/whiptail.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Tue Jun 12 17:52:37 2007 UTC (17 years, 4 months ago) by slords
Branch: MAIN
CVS Tags: whiptail-0_51_5-9_el4_sme
Import on branch sme7 of package whiptail-0.51.5-9.el4.sme.src.rpm

1 slords 1.1 %define pythonver 2.2
2    
3     Summary: A console dialog tool, for use by SME server console
4     Name: whiptail
5     %define version 0.51.5
6     Version: %{version}
7     Release: 9%{?dist}
8     License: LGPL
9     Group: System Environment/Libraries
10     Source: whiptail-%{version}.tar.gz
11     Patch100: newt-0.51.5.patch.2004082000
12     Patch101: newt-0.51.5.patch.2006100300
13     Patch102: newt-0.51.5.patch.2006100301
14     BuildRequires: newt-devel
15     Requires: newt
16     BuildRoot: %{_tmppath}/%{name}-%{version}-root
17    
18     %Description
19     whiptail is a /usr/bin/dialog replacement. This version contains
20     modifications for use by the SME server console program.
21    
22     %prep
23     %setup -q
24    
25     %build
26     D=
27     cc -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
28     -c -o whiptail.o whiptail.c
29     cc -O2 -Wall -I/usr/include/slang -D_GNU_SOURCE \
30     $(if grep -q _newt_wstr %_libdir/libnewt.so; then echo -Dwstrlen=_newt_wstrlen; fi) \
31     -c -o dialogboxes.o dialogboxes.c
32     gcc -g -o whiptail whiptail.o dialogboxes.o \
33     -lnewt -lslang -lm -lpopt
34    
35     %install
36     rm -rf $RPM_BUILD_ROOT
37     mkdir -p $RPM_BUILD_ROOT/sbin/e-smith
38     install -m 755 whiptail $RPM_BUILD_ROOT/sbin/e-smith
39    
40     %clean
41     rm -rf $RPM_BUILD_ROOT
42    
43     %files
44     %defattr (-,root,root)
45     %doc COPYING
46     /sbin/e-smith/whiptail
47    
48     %changelog
49     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
50     - Clean up spec so package can be built by koji/plague
51    
52     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com> 0.51.5-9
53     - Better fix for finding correct libdir
54    
55     * Sat Apr 28 2007 Shad L. Lords <slords@mail.com> 0.51.5-8
56     - Change to dist for tagging release
57     - Use correct lib for 32/64 bit
58    
59     * Thu Feb 1 2007 Charlie Brady <charlieb@e-smith.com> 0.51.5-7
60     - Autodetect need for -Dwstrlen=_newt_wstrlen.
61    
62     * Thu Feb 1 2007 Charlie Brady <charlieb@e-smith.com> 0.51.5-6
63     - Fix for building under FC6/RHEL5
64    
65     * Thu Feb 1 2007 Charlie Brady <charlieb@e-smith.com> 0.51.5-5
66     - Repackage so that build is done against the installed newt library.
67     (Patches are left included in SRPM for informational reasons).
68    
69     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
70     - Update to new release naming. No functional changes.
71     - Make Packager generic
72    
73     * Tue Oct 03 2006 Charlie Brady <charlie_brady@mitel.com> 0.51.5-3es1
74     - Add --{ok,yes,cancel,no}-label aliases for --left and --right, for
75     compatibility with 'dialog'.
76    
77     * Tue Oct 03 2006 Charlie Brady <charlie_brady@mitel.com> 0.51.5-2es1
78     - Add --default-item option for use in listBox. [SME: 1959]
79    
80     * Wed Feb 16 2005 Charlie Brady <charlieb@e-smith.com> 0.51.5-1es1
81     - Initial - forked from newt-0.51.5-1es1

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed