SHA256
8
0
forked from pool/newt

- update to 0.52.13:

+ add support for changing colors in individual labels, scrollbars, entries,
  textboxes and scales, add custom colorsets
+ add support for NEWT_COLORS and NEWT_COLORS_FILE variables (rh#689903)
+ allow resizing of form
+ fix errors found by coverity
+ fix va_list usage (Gwenole Beauchesne)
+ fix building and installing on Mac OS X (rh#652479)
+ check for slang.h header, support DESTDIR variable, add --without-python
  option (Otavio Salvador)
+ add Persian, Low German translations
- added newt-0.52.13-python_version.patch to fix detection of 
  python version in configure script

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/newt?expand=0&rev=12
This commit is contained in:
Lars Vogdt
2011-08-08 11:48:08 +00:00
committed by Git OBS Bridge
parent 7e3b6cd35a
commit 539ef00070
5 changed files with 43 additions and 9 deletions

View File

@@ -21,8 +21,8 @@ Name: newt
%define libname lib%{name}
%define libsoname %{libname}0_52
Summary: Nifty Erik's Windowing Toolkit
Version: 0.52.12
Summary: A library for text mode user interfaces
Version: 0.52.13
Release: 7
License: LGPLv2.1+
Group: System/Libraries
@@ -30,9 +30,12 @@ Url: https://fedorahosted.org/newt/
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
Source10: %{name}-rpmlintrc
Patch0: newt-0.52.13-python_version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkg-config
BuildRequires: popt-devel python-devel slang-devel
BuildRequires: popt-devel
BuildRequires: python-devel
BuildRequires: slang-devel
%if 0%{?suse_version} < 1020
BuildRequires: libpng-devel
%endif
@@ -52,7 +55,6 @@ This package also contains a Dialog replacement called whiptail. Newt
is based on the slang library.
%package -n %{libsoname}
License: LGPLv2.1+
Summary: Shared libraries for Nifty Erik's Windowing Toolkit
Group: System/Libraries
@@ -133,16 +135,18 @@ library providing a python API for creating text mode interfaces.
%prep
%setup -q
%patch0 -p1
%build
# gpm support seems to smash the stack
# --with-gpm-support
%configure --without-tcl
## make depend
%{__make} %{?_smp_mflags}
%{__make} %{?_smp_mflags} all
#docbook2txt tutorial.sgml
%install
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" install install-sh
%{__make} PYTHONVERS="python%{py_ver}" instroot="%{buildroot}" DESTDIR="%{buildroot}" install install-sh
# currently we don't support these languages
# FIXME: add to filesystem
## and rpmlint