X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fncurses.spec;h=21d239625852e0905ddcc1cccff4eaa842631f53;hp=7c4f8d1baa970154274de50fc878e96d9f94e165;hb=67ab4b308e932639a3a832052228d445c41c54b4;hpb=173dd870810c8b85baa31f9a272d15f96a8f9ff4 diff --git a/package/ncurses.spec b/package/ncurses.spec index 7c4f8d1b..21d23962 100644 --- a/package/ncurses.spec +++ b/package/ncurses.spec @@ -1,10 +1,10 @@ Summary: shared libraries for terminal handling Name: ncurses6 -Release: 5.9 -Version: 20120721 +Version: 5.9 +Release: 20131110 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 @@ -21,7 +21,8 @@ This package is used for testing ABI 6. %prep -%setup -q -n ncurses-%{release}-%{version} +%define debug_package %{nil} +%setup -q -n ncurses-%{version}-%{release} %build CFLAGS="%{CC_NORMAL}" \ @@ -54,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 \ @@ -65,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 @@ -78,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 27 2012 Thomas E. Dickey +- add ncurses program as "ncurses6" to provide demonstration. + * Fri Jun 08 2012 Thomas E. Dickey - initial version.