]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - package/ncurses.spec
ncurses 5.9 - patch 20130324
[ncurses.git] / package / ncurses.spec
index 1d62fe5aee593de08fdd4fecf9b83f68b6cc8cd7..727d200847b1fb746dc92b93c5b124f0219345ec 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Release: 5.9
-Version: 20120622
+Version: 20130324
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz
@@ -21,6 +21,7 @@ This package is used for testing ABI 6.
 
 %prep
 
+%define debug_package %{nil}
 %setup -q -n ncurses-%{release}-%{version}
 
 %build
@@ -43,6 +44,7 @@ RPATH_LIST=../lib:%{_prefix}/lib \
        --enable-ext-colors \
        --enable-ext-mouse \
        --enable-hard-tabs \
+       --enable-interop \
        --enable-rpath \
        --enable-sp-funcs \
        --enable-warnings \
@@ -53,6 +55,7 @@ RPATH_LIST=../lib:%{_prefix}/lib \
        --with-termlib \
        --with-ticlib \
        --with-trace \
+       --with-cxx-shared \
        --with-xterm-kbs=DEL \
        --without-ada \
        --without-debug \
@@ -64,6 +67,8 @@ make
 rm -rf $RPM_BUILD_ROOT
 
 make install.libs install.progs
+rm -f test/ncurses
+( cd test && make ncurses LOCAL_LIBDIR=%{_libdir} && mv ncurses $RPM_BUILD_ROOT/%{_bindir}/ncurses6 )
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -77,5 +82,11 @@ rm -rf $RPM_BUILD_ROOT
 
 %changelog
 
+* Sat Mar 09 2013 Thomas E. Dickey
+- add --with-cxx-shared option to demonstrate c++ binding as shared library
+
+* Sat Oct 26 2012 Thomas E. Dickey
+- add ncurses program as "ncurses6" to provide demonstration.
+
 * Fri Jun 08 2012 Thomas E. Dickey
 - initial version.