- 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:
committed by
Git OBS Bridge
parent
7e3b6cd35a
commit
539ef00070
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4732a99b323b7de9308063b425489fc865bd6c64ef1807d79ab914db4d3e0c7f
|
||||
size 144911
|
||||
13
newt-0.52.13-python_version.patch
Normal file
13
newt-0.52.13-python_version.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: newt-0.52.13/configure
|
||||
===================================================================
|
||||
--- newt-0.52.13.orig/configure
|
||||
+++ newt-0.52.13/configure
|
||||
@@ -3455,7 +3455,7 @@ if test "x$with_python" = "xno"; then
|
||||
$as_echo "skipped" >&6; }
|
||||
PYTHONVERS=
|
||||
else
|
||||
- PYTHONVERS=$(ls /usr/include/python*/Python.h 2> /dev/null | sed "s|/usr/include/||g"| sed "s|/Python.h||g" 2> /dev/null)
|
||||
+ PYTHONVERS=$(ls /usr/include/python*/Python.h 2> /dev/null | sed "s|/usr/include/||g"| sed "s|/Python.h||g" | head -n1 2> /dev/null)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHONVERS" >&5
|
||||
$as_echo "$PYTHONVERS" >&6; }
|
||||
fi
|
||||
3
newt-0.52.13.tar.bz2
Normal file
3
newt-0.52.13.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:02a6908e048dbb3c23743cdeacf6dba85211fd59fb96ce58e11a4d8976173585
|
||||
size 148350
|
||||
17
newt.changes
17
newt.changes
@@ -1,3 +1,20 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 8 11:32:27 UTC 2011 - lars@linux-schulserver.de
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 11:44:10 UTC 2011 - chris@computersalat.de
|
||||
|
||||
|
||||
16
newt.spec
16
newt.spec
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user