diff --git a/newt-0.52.12.tar.bz2 b/newt-0.52.12.tar.bz2 deleted file mode 100644 index 4867a45..0000000 --- a/newt-0.52.12.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4732a99b323b7de9308063b425489fc865bd6c64ef1807d79ab914db4d3e0c7f -size 144911 diff --git a/newt-0.52.13-python_version.patch b/newt-0.52.13-python_version.patch new file mode 100644 index 0000000..61a9753 --- /dev/null +++ b/newt-0.52.13-python_version.patch @@ -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 diff --git a/newt-0.52.13.tar.bz2 b/newt-0.52.13.tar.bz2 new file mode 100644 index 0000000..659c52f --- /dev/null +++ b/newt-0.52.13.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02a6908e048dbb3c23743cdeacf6dba85211fd59fb96ce58e11a4d8976173585 +size 148350 diff --git a/newt.changes b/newt.changes index a917447..d43d875 100644 --- a/newt.changes +++ b/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 diff --git a/newt.spec b/newt.spec index 7f65797..221d583 100644 --- a/newt.spec +++ b/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