forked from pool/ncurses
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=185
This commit is contained in:
53
ncurses.spec
53
ncurses.spec
@@ -17,7 +17,7 @@
|
||||
|
||||
|
||||
%bcond_with hasheddb
|
||||
%bcond_with symversion
|
||||
%bcond_without symversion
|
||||
|
||||
Name: ncurses
|
||||
#!BuildIgnore: terminfo
|
||||
@@ -454,19 +454,23 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
--mandir=%{_mandir} \
|
||||
--includedir=%{_incdir} \
|
||||
"${WITHCHTYPE}" \
|
||||
--disable-widec \
|
||||
--disable-tic-depends \
|
||||
--with-cxx-shared \
|
||||
--with-ticlib=tic \
|
||||
--with-pc-suffix \
|
||||
--enable-pc-files \
|
||||
%if %{with symversion}
|
||||
--with-versioned-syms \
|
||||
%if %abi >= 6
|
||||
--with-versioned-syms=${PWD}/package/ncursest.map \
|
||||
%else
|
||||
--with-versioned-syms=${PWD}/package/ncurses.map \
|
||||
%endif
|
||||
%endif
|
||||
%if %{with hasheddb}
|
||||
--with-hashed-db \
|
||||
%endif
|
||||
--with-pkg-config-libdir=%{_libdir}/pkgconfig
|
||||
sleep 1
|
||||
kill $pid
|
||||
#
|
||||
# The configure line
|
||||
@@ -551,7 +555,16 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
#
|
||||
> $SCREENLOG
|
||||
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --disable-widec --disable-ext-colors --without-progs
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread \
|
||||
--enable-reentrant \
|
||||
--enable-ext-mouse \
|
||||
--disable-widec \
|
||||
--disable-ext-colors \
|
||||
%if %{with symversion}
|
||||
--with-versioned-syms=${PWD}/package/ncursest.map \
|
||||
%endif
|
||||
--without-progs
|
||||
sleep 1
|
||||
kill $pid
|
||||
find -name fallback.o | xargs -r rm -vf
|
||||
cp fallback.c.build ncurses/fallback.c
|
||||
@@ -582,10 +595,25 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
> $SCREENLOG
|
||||
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||
%if %abi >= 6
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
|
||||
%else
|
||||
eval screen -L -D -m ./${c#*./} --disable-ext-mouse --enable-widec --disable-ext-colors --without-progs
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread \
|
||||
--enable-reentrant \
|
||||
--enable-ext-mouse \
|
||||
--enable-widec \
|
||||
--enable-ext-colors \
|
||||
%if %{with symversion}
|
||||
--with-versioned-syms=${PWD}/package/ncursestw.map \
|
||||
%endif
|
||||
--without-progs
|
||||
%else
|
||||
eval screen -L -D -m ./${c#*./} --disable-ext-mouse \
|
||||
--enable-widec \
|
||||
--disable-ext-colors \
|
||||
%if %{with symversion}
|
||||
--with-versioned-syms=${PWD}/package/ncursesw.map \
|
||||
%endif
|
||||
--without-progs
|
||||
%endif
|
||||
sleep 1
|
||||
kill $pid
|
||||
find -name fallback.o | xargs -r rm -vf
|
||||
cp fallback.c.build ncurses/fallback.c
|
||||
@@ -613,7 +641,16 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
#
|
||||
> $SCREENLOG
|
||||
tail -q -s 0.5 -f $SCREENLOG & pid=$!
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread --enable-reentrant --enable-ext-mouse --enable-widec --enable-ext-colors --without-progs
|
||||
eval screen -L -D -m ./${c#*./} --with-pthread \
|
||||
--enable-reentrant \
|
||||
--enable-ext-mouse \
|
||||
--enable-widec \
|
||||
--enable-ext-colors \
|
||||
%if %{with symversion}
|
||||
--with-versioned-syms=${PWD}/package/ncursestw.map \
|
||||
%endif
|
||||
--without-progs
|
||||
sleep 1
|
||||
kill $pid
|
||||
find -name fallback.o | xargs -r rm -vf
|
||||
cp fallback.c.build ncurses/fallback.c
|
||||
|
Reference in New Issue
Block a user