SPECS: newt.spec - up to 0.52.4

arekm arekm at pld-linux.org
Sat Jan 27 23:12:22 CET 2007


Author: arekm                        Date: Sat Jan 27 22:12:22 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.52.4

---- Files affected:
SPECS:
   newt.spec (1.86 -> 1.87) 

---- Diffs:

================================================================
Index: SPECS/newt.spec
diff -u SPECS/newt.spec:1.86 SPECS/newt.spec:1.87
--- SPECS/newt.spec:1.86	Mon Sep 25 10:11:09 2006
+++ SPECS/newt.spec	Sat Jan 27 23:12:17 2007
@@ -10,21 +10,20 @@
 Summary(pl):	Not Erik's Windowing Toolkit - okna w trybie tekstowym ze slangiem
 Summary(tr):	Not Erik's Windowing Toolkit - metin kipi pencereleme sistemi
 Name:		newt
-Version:	0.52.2
-Release:	3
+Version:	0.52.4
+Release:	1
 License:	LGPL
 Group:		Libraries
-# http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/
+# http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
 Source0:	%{name}-%{version}.tar.gz
-# Source0-md5:	3ab21d288fc156a29519cc3e6db57961
+# Source0-md5:	0818c0d397fb6b5ee61a6747327599e4
 Patch0:		%{name}-textbox.patch
-Patch1:		%{name}-install_sh.patch
-Patch2:		%{name}-0.51.6-if1close.patch
-Patch3:		%{name}-PIC.patch
-Patch4:		%{name}-gcc34.patch
-Patch5:		%{name}-nopython.patch
-Patch6:		%{name}-python25.patch
-URL:		http://www.msg.com.mx/Newt/
+Patch1:		%{name}-0.51.6-if1close.patch
+Patch2:		%{name}-PIC.patch
+Patch3:		%{name}-gcc34.patch
+Patch4:		%{name}-nopython.patch
+Patch5:		%{name}-objfree.patch
+Patch6:		%{name}-make.patch
 BuildRequires:	autoconf
 BuildRequires:	docbook-utils
 BuildRequires:	popt-devel
@@ -32,7 +31,7 @@
 BuildRequires:	rpm-pythonprov
 #BuildRequires:	sgml-tools
 BuildRequires:	slang-devel >= 2.0.0
-%{?with_tcl:BuildRequires:	tcl-devel >= 8.4}
+%{?with_tcl:BuildRequires:	tcl-devel >= 8.5}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -167,10 +166,11 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
-%patch6 -p1
+%patch5 -p0
+%patch6 -p0
 
 sed -i -e 's#gcc#%{__cc}#g;s,-g -O2,,g' Makefile.in
+sed -i -e 's#tcl8.4#tcl8.5#g' Makefile.in
 
 %build
 %{__autoconf}
@@ -178,6 +178,7 @@
 	--enable-gpm-support
 
 %{__make} \
+	PYTHONVERS=python%{py_ver} \
 	CC="%{__cc}" \
 	RPM_OPT_FLAGS="%{rpmcflags}" \
 	LIBTCL=-ltcl \
@@ -188,6 +189,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
+	PYTHONVERS=python%{py_ver} \
 	%{!?with_tcl:WHIPTCLSO=} \
 	%{!?with_python:SNACKSO=} \
 	instroot=$RPM_BUILD_ROOT \
@@ -202,19 +204,22 @@
 #it just plain doesn't work... fix it if you can
 #sgml2txt tutorial.sgml
 
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/*.so.*.*
 
 %files -n whiptail
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/whiptail
+%{_mandir}/man1/whiptail.1*
 
 %if %{with tcl}
 %files tcl
@@ -244,6 +249,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.87  2007/01/27 22:12:17  arekm
+- up to 0.52.4
+
 Revision 1.86  2006/09/25 08:11:09  jajcus
 - without_tcl bcond fixed
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/newt.spec?r1=1.86&r2=1.87&f=u



More information about the pld-cvs-commit mailing list