|
@@ -5,21 +5,27 @@ Summary: A development library for text mode user interfaces.
|
|
|
Summary(ja): テキストモードインターフェースのための開発ライブラリ
|
|
|
Name: newt
|
|
|
Version: 0.52.12
|
|
|
-Release: 1%{?_dist_release}
|
|
|
+Release: 2%{?_dist_release}
|
|
|
License: LGPL
|
|
|
Group: System Environment/Libraries
|
|
|
URL: https://fedorahosted.org/newt/
|
|
|
|
|
|
Source: https://fedorahosted.org/releases/n/e/newt/newt-%{version}.tar.gz
|
|
|
Patch0: newt-0.52.12-nostdin.patch
|
|
|
+# patches from mdv
|
|
|
+Patch1: newt-0.51.4-fix-wstrlen-for-non-utf8-strings.patch
|
|
|
+Patch2: newt-0.51.6-assorted-fixes.patch
|
|
|
+# patches from ubuntu
|
|
|
+Patch10: 400_python_memory_allocation.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: Daisuke SUZUKI <daisuke@linux.or.jp>
|
|
|
BuildRequires: python-devel, popt-devel, slang-devel
|
|
|
Provides: snack = %{version}-%{release}
|
|
|
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
+Packager: daisuke
|
|
|
+
|
|
|
|
|
|
%description
|
|
|
Newt is a programming library for color text mode, widget based user
|
|
@@ -78,6 +84,9 @@ newt.
|
|
|
%prep
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
%patch0 -p1 -b .nostdin
|
|
|
+%patch1 -p1 -b .fix-wstrlen-for-non-utf8-strings
|
|
|
+%patch2 -p1 -b .assorted-fixes
|
|
|
+%patch10 -p1 -b .python_memory_allocation
|
|
|
|
|
|
%build
|
|
|
%if %{build_compat32}
|
|
@@ -142,6 +151,10 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Jun 04 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.52.12-2
|
|
|
+- add patch2,3 from mdv
|
|
|
+- add patch10 from ubuntu
|
|
|
+
|
|
|
* Tue May 31 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.52.12-1
|
|
|
- update to 0.52.12
|
|
|
- add patch0: don't hang in form when stdin disappears
|