ncurses 5.9 - patch 20140322
[ncurses.git] / package / ncurses.spec
index a4e3060cd39e2cb9bedc599233db2094fb9dc5a4..2322b01d4eadb27969ac01a2d81cc9da6049cde9 100644 (file)
@@ -1,10 +1,10 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
-Release: 5.9
-Version: 20130218
+Version: 5.9
+Release: 20140322
 License: X11
 Group: Development/Libraries
-Source: ncurses-%{release}-%{version}.tgz
+Source: ncurses-%{version}-%{release}.tgz
 # URL: http://invisible-island.net/ncurses/
 
 %define CC_NORMAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion
@@ -22,7 +22,7 @@ This package is used for testing ABI 6.
 %prep
 
 %define debug_package %{nil}
-%setup -q -n ncurses-%{release}-%{version}
+%setup -q -n ncurses-%{version}-%{release}
 
 %build
 CFLAGS="%{CC_NORMAL}" \
@@ -50,11 +50,14 @@ RPATH_LIST=../lib:%{_prefix}/lib \
        --enable-warnings \
        --enable-widec \
        --verbose \
+       --with-chtype=uint32_t \
+       --with-mmask_t=uint32_t \
        --with-develop \
        --with-shared \
        --with-termlib \
        --with-ticlib \
        --with-trace \
+       --with-cxx-shared \
        --with-xterm-kbs=DEL \
        --without-ada \
        --without-debug \
@@ -81,7 +84,10 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 
-* Sat Oct 26 2012 Thomas E. Dickey
+* Sat Mar 09 2013 Thomas E. Dickey
+- add --with-cxx-shared option to demonstrate c++ binding as shared library
+
+* Sat Oct 27 2012 Thomas E. Dickey
 - add ncurses program as "ncurses6" to provide demonstration.
 
 * Fri Jun 08 2012 Thomas E. Dickey