auto-import newt-0.50.35-1 from newt-0.50.35-1.src.rpm

This commit is contained in:
cvsdist 2004-09-09 09:16:34 +00:00
parent 763b117711
commit 92e9efcd18
3 changed files with 14 additions and 37 deletions

View File

@ -1 +1 @@
newt-0.50.34.tar.gz
newt-0.50.35.tar.gz

View File

@ -1,18 +1,11 @@
Summary: A development library for text mode user interfaces.
Name: newt
%define version 0.50.34
%define version 0.50.35
Version: %{version}
Release: 3.sh.4
Release: 1
License: LGPL
Group: System Environment/Libraries
Source: ftp://ftp.redhat.com/pub/redhat/code/newt/newt-%{version}.tar.gz
Patch0: newt-0.50.34-alloca.patch
Patch1: newt-0.50.34-makefile-in.patch
Patch3: newt-0.50.34-listbox.patch
Patch4: newt-0.50.34-scale.patch
Patch5: newt-0.50.34-select.patch
Patch6: newt-0.50.34-varargs.patch
Patch7: newt-0.50.34-snack.patch
BuildRequires: python,python-devel,perl, slang-devel
Requires: slang
Provides: snack
@ -24,33 +17,22 @@ Requires: slang-devel %{name} = %{version}
Group: Development/Libraries
%Description
Newt is a programming library for color text mode, widget based user
interfaces. Newt can be used to add stacked windows, entry widgets,
Newt is a programming library for color text mode, widget-based user
interfaces. Newt can be used to add stacked windows, entry widgets,
checkboxes, radio buttons, labels, plain text fields, scrollbars,
etc., to text mode user interfaces. This package also contains the
etc., to text mode user interfaces. This package also contains the
shared library needed by programs built with newt, as well as a
/usr/bin/dialog replacement called whiptail. Newt is based on the
/usr/bin/dialog replacement called whiptail. Newt is based on the
slang library.
%description devel
The newt-devel package contains the header files and libraries
necessary for developing applications which use newt. Newt is a
development library for text mode user interfaces. Newt is based on
necessary for developing applications which use newt. Newt is a
development library for text mode user interfaces. Newt is based on
the slang library.
Install newt-devel if you want to develop applications which will use
newt.
%prep
%setup
%patch0 -p1 -b .alloca
%patch1 -p1 -b .mkfile
%patch3 -p1 -b .listbox
%patch4 -p1 -b .scale
%patch5 -p1 -b .select
%patch6 -p1 -b .varargs
%patch7 -p1 -b .snack
%build
# gpm support seems to smash the stack w/ we use help in anaconda??
@ -66,7 +48,7 @@ mkdir -p $RPM_BUILD_ROOT
make instroot=$RPM_BUILD_ROOT install
make instroot=$RPM_BUILD_ROOT install-sh
python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/python1.5",10,"/usr/lib/python1.5")'
python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/python2.2",10,"/usr/lib/python2.2")'
%clean
rm -rf $RPM_BUILD_ROOT
@ -85,8 +67,7 @@ rm -rf $RPM_BUILD_ROOT
%doc CHANGES COPYING
/usr/lib/libnewt.so.*
/usr/bin/whiptail
/usr/lib/python1.5/snack.py*
/usr/lib/python1.5/lib-dynload/_snackmodule.so
/usr/lib/python*/site-packages/*
%files devel
%defattr (-,root,root)
@ -96,12 +77,8 @@ rm -rf $RPM_BUILD_ROOT
/usr/lib/libnewt.so
%changelog
* Tue Apr 9 2002 Gary Benson <gbenson@redhat.com> 0.50.34-3.sh.4
- suffix the release to avoid version clash
* Wed Jan 9 2002 Gary Benson <gbenson@redhat.com> 0.50.34-3
- add patches from Shrimpy (note that makefile-in patch is different)
- for Stronghold, compile packages for python 1.5
* Mon Mar 18 2002 Bill Nottingham <notting@redhat.com> 0.50.35-1
- build for whatever version of python happens to be installed
* Fri Sep 15 2001 Trond Eivind Glomsrød <teg@redhat.com> 0.50.34-1
- remove python2 subpackage

View File

@ -1 +1 @@
e4b4a030cd8d7ee1a4d83ad73dfbb1bb newt-0.50.34.tar.gz
87a0555f83473a67a848a11c99dd7755 newt-0.50.35.tar.gz