From: sopwith Date: Fri, 13 Dec 2002 17:40:20 +0000 (+0000) Subject: 0.51.1 X-Git-Tag: r0-51-1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e75eaba3706b10c260a8a0fa223fb0e912e60143;p=thirdparty%2Fnewt.git 0.51.1 --- diff --git a/configure.in b/configure.in index 7159090..b5bf757 100644 --- a/configure.in +++ b/configure.in @@ -5,7 +5,7 @@ AC_CONFIG_HEADER(config.h) VERSION=$(awk '/^%define version/ {print $3}' $srcdir/newt.spec) -VERSION=0.51.0 +VERSION=0.51.1 SONAME=0.51 AC_SUBST(VERSION) AC_SUBST(SONAME) diff --git a/newt.spec b/newt.spec index 8a018e0..0814421 100644 --- a/newt.spec +++ b/newt.spec @@ -1,6 +1,8 @@ +%define pythonver 2.2 + Summary: A development library for text mode user interfaces. Name: newt -%define version 0.51.0 +%define version 0.51.1 Version: %{version} Release: 1 License: LGPL @@ -36,23 +38,21 @@ newt. %prep -%setup +%setup -q %build # gpm support seems to smash the stack w/ we use help in anaconda?? #./configure --with-gpm-support -./configure -make -make shared +%configure +make %{?_smp_mflags} all shared chmod 0644 peanuts.py popcorn.py %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT -make instroot=$RPM_BUILD_ROOT install -make instroot=$RPM_BUILD_ROOT install-sh +%makeinstall -python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'/usr/lib/python2.2",10,"/usr/lib/python2.2")' +python -c 'from compileall import *; compile_dir("'$RPM_BUILD_ROOT'%{_libdir}/python%{pythonver}",10,"%{_libdir}/python%{pythonver}")' %clean rm -rf $RPM_BUILD_ROOT @@ -69,18 +69,21 @@ rm -rf $RPM_BUILD_ROOT %files %defattr (-,root,root) %doc CHANGES COPYING -/usr/lib/libnewt.so.* -/usr/bin/whiptail -/usr/lib/python*/site-packages/* +%{_bindir}/whiptail +%{_libdir}/libnewt.so.* +%{_libdir}/python%{pythonver}/site-packages/* %files devel %defattr (-,root,root) %doc tutorial.sgml peanuts.py popcorn.py -/usr/include/newt.h -/usr/lib/libnewt.a -/usr/lib/libnewt.so +%{_includedir}/newt.h +%{_libdir}/libnewt.a +%{_libdir}/libnewt.so %changelog +* Fri Dec 13 2002 Elliot Lee 0.51.1-1 +- Merge multilib changes + * Thu Aug 15 2002 Bill Nottingham 0.51.0-1 - changes for element width calculation for UTF-8 - fix textwrap for UTF-8 in general