]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
0.51.1
authorsopwith <sopwith>
Fri, 13 Dec 2002 17:40:20 +0000 (17:40 +0000)
committersopwith <sopwith>
Fri, 13 Dec 2002 17:40:20 +0000 (17:40 +0000)
configure.in
newt.spec

index 7159090b4e42c2bbb4d8eb21078be207644134d7..b5bf757fbaa5f189ac624459b93d4ddf17fb374d 100644 (file)
@@ -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)
index 8a018e0ff2476527101da1e2091f9a930c0e48ac..08144216c77d4905bac17a0a239f13dcb7c10b9c 100644 (file)
--- 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 <sopwith@redhat.com> 0.51.1-1
+- Merge multilib changes
+
 * Thu Aug 15 2002 Bill Nottingham <notting@redhat.com> 0.51.0-1
 - changes for element width calculation for UTF-8
 - fix textwrap for UTF-8 in general