From 92e9efcd182e1949a3d2f870162ebe9fb65b7896 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Thu, 9 Sep 2004 09:16:34 +0000 Subject: [PATCH] auto-import newt-0.50.35-1 from newt-0.50.35-1.src.rpm --- .cvsignore | 2 +- newt.spec | 47 ++++++++++++----------------------------------- sources | 2 +- 3 files changed, 14 insertions(+), 37 deletions(-) diff --git a/.cvsignore b/.cvsignore index 86366b5..0cde20e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -newt-0.50.34.tar.gz +newt-0.50.35.tar.gz diff --git a/newt.spec b/newt.spec index 3b9f828..352588a 100644 --- a/newt.spec +++ b/newt.spec @@ -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 0.50.34-3.sh.4 -- suffix the release to avoid version clash - -* Wed Jan 9 2002 Gary Benson 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 0.50.35-1 +- build for whatever version of python happens to be installed * Fri Sep 15 2001 Trond Eivind Glomsrød 0.50.34-1 - remove python2 subpackage diff --git a/sources b/sources index 068118d..d20560e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -e4b4a030cd8d7ee1a4d83ad73dfbb1bb newt-0.50.34.tar.gz +87a0555f83473a67a848a11c99dd7755 newt-0.50.35.tar.gz