- update to 5.6, patch 20070106
This commit is contained in:
parent
c27798dfe4
commit
b8d7fc0cb2
@ -1,3 +1,2 @@
|
|||||||
ncurses-5.5.tar.gz
|
ncurses-5.6.tar.gz
|
||||||
ncurses-5.5-20060909-patch.sh.bz2
|
ncurses-5.6-20061223-20070106.patch.bz2
|
||||||
ncurses-5.5-20060909-20061209.patch.bz2
|
|
||||||
|
36
ncurses.spec
36
ncurses.spec
@ -1,18 +1,17 @@
|
|||||||
Summary: A terminal handling library
|
Summary: A terminal handling library
|
||||||
Name: ncurses
|
Name: ncurses
|
||||||
Version: 5.5
|
Version: 5.6
|
||||||
Release: 27.20061209%{?dist}
|
Release: 1.20070106%{?dist}
|
||||||
License: distributable
|
License: distributable
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://invisible-island.net/ncurses/ncurses.html
|
URL: http://invisible-island.net/ncurses/ncurses.html
|
||||||
Source0: ftp://invisible-island.net/ncurses/ncurses-%{version}.tar.gz
|
Source0: ftp://invisible-island.net/ncurses/ncurses-%{version}.tar.gz
|
||||||
Source3: ncurses-resetall.sh
|
Source3: ncurses-resetall.sh
|
||||||
|
|
||||||
Patch1: ftp://invisible-island.net/ncurses/5.5/ncurses-5.5-20060909-patch.sh.bz2
|
Patch1: ncurses-5.6-20061223-20070106.patch.bz2
|
||||||
Patch2: ncurses-5.5-20060909-20061209.patch.bz2
|
|
||||||
|
|
||||||
Patch6: ncurses-5.5-20061209-tgetent.patch
|
Patch6: ncurses-5.5-20061209-tgetent.patch
|
||||||
Patch7: ncurses-5.5-20061209-largetables.patch
|
Patch7: ncurses-5.6-20070106-staticprogs.patch
|
||||||
Patch8: ncurses-5.5-20061209-config.patch
|
Patch8: ncurses-5.5-20061209-config.patch
|
||||||
Patch9: ncurses-5.5-liblinks.patch
|
Patch9: ncurses-5.5-liblinks.patch
|
||||||
Patch10: ncurses-5.5-20061209-xterm.patch
|
Patch10: ncurses-5.5-20061209-xterm.patch
|
||||||
@ -50,10 +49,9 @@ Use the following compiler flags to build against the ncurses library:
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%patch6 -p1 -b .tgetent
|
%patch6 -p1 -b .tgetent
|
||||||
%patch7 -p1 -b .largetables
|
%patch7 -p1 -b .staticprogs
|
||||||
%patch8 -p1 -b .config
|
%patch8 -p1 -b .config
|
||||||
%patch9 -p1 -b .liblinks
|
%patch9 -p1 -b .liblinks
|
||||||
%patch10 -p1 -b .xterm
|
%patch10 -p1 -b .xterm
|
||||||
@ -67,26 +65,35 @@ Use the following compiler flags to build against the ncurses library:
|
|||||||
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo:%{rootdatadir}/terminfo \\\
|
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo:%{rootdatadir}/terminfo \\\
|
||||||
--includedir=%{_includedir}/ncursesw \\\
|
--includedir=%{_includedir}/ncursesw \\\
|
||||||
--enable-overwrite \\\
|
--enable-overwrite \\\
|
||||||
|
--without-progs \\\
|
||||||
--with-chtype=long
|
--with-chtype=long
|
||||||
|
|
||||||
mkdir narrowc widec
|
mkdir narrowc widec staticprogs
|
||||||
cd narrowc
|
cd narrowc
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{ncurses_options}
|
%configure %{ncurses_options}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} libs
|
||||||
|
|
||||||
cd ../widec
|
cd ../widec
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{ncurses_options} --enable-widec
|
%configure %{ncurses_options} --enable-widec
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} libs
|
||||||
|
|
||||||
|
cd ../staticprogs
|
||||||
|
ln -s ../configure .
|
||||||
|
%configure %{ncurses_options} --with-progs
|
||||||
|
make %{?_smp_mflags} libs
|
||||||
|
cp -a ../narrowc/lib/libncurses.so* lib
|
||||||
|
make %{?_smp_mflags} -C progs
|
||||||
|
make %{?_smp_mflags} -C tack
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
make -C narrowc install
|
make -C narrowc install.libs
|
||||||
make -C widec install
|
make -C widec install.{libs,includes,man}
|
||||||
make -C narrowc install.progs
|
make -C staticprogs install.{progs,tack,data}
|
||||||
|
|
||||||
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*.*
|
chmod 755 ${RPM_BUILD_ROOT}%{_libdir}/lib*.so.*.*
|
||||||
chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/lib*.a
|
chmod 644 ${RPM_BUILD_ROOT}%{_libdir}/lib*.a
|
||||||
@ -180,6 +187,9 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 10 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.6-1.20070106
|
||||||
|
- update to 5.6, patch 20070106
|
||||||
|
|
||||||
* Mon Dec 11 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.5-27.20061209
|
* Mon Dec 11 2006 Miroslav Lichvar <mlichvar@redhat.com> 5.5-27.20061209
|
||||||
- update to patch 20061209
|
- update to patch 20061209
|
||||||
- strip large tables from shared libraries, reduce number of relocations
|
- strip large tables from shared libraries, reduce number of relocations
|
||||||
|
5
sources
5
sources
@ -1,3 +1,2 @@
|
|||||||
e73c1ac10b4bfc46db43b2ddfd6244ef ncurses-5.5.tar.gz
|
b6593abe1089d6aab1551c105c9300e3 ncurses-5.6.tar.gz
|
||||||
65f5eec1980ece6ae8accfc6c9c527ac ncurses-5.5-20060909-patch.sh.bz2
|
70d86f1dddf76c6f7cc8421c232cfa5f ncurses-5.6-20061223-20070106.patch.bz2
|
||||||
3c54db0ba78467953bffa7cfc1f506e4 ncurses-5.5-20060909-20061209.patch.bz2
|
|
||||||
|
Loading…
Reference in New Issue
Block a user