- update to patch 20070303
- use one libtinfo for both libncurses and libncursesw - shorten -devel description
This commit is contained in:
parent
cbdf795445
commit
302de49903
@ -1,2 +1,2 @@
|
|||||||
ncurses-5.6.tar.gz
|
ncurses-5.6.tar.gz
|
||||||
ncurses-5.6-20061223-20070217.patch.bz2
|
ncurses-5.6-20070303-patch.sh.bz2
|
||||||
|
22
ncurses.spec
22
ncurses.spec
@ -1,17 +1,16 @@
|
|||||||
Summary: A terminal handling library
|
Summary: A terminal handling library
|
||||||
Name: ncurses
|
Name: ncurses
|
||||||
Version: 5.6
|
Version: 5.6
|
||||||
Release: 5.20070217%{?dist}
|
Release: 6.20070303%{?dist}
|
||||||
License: MIT
|
License: MIT
|
||||||
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
|
||||||
|
|
||||||
Patch1: ncurses-5.6-20061223-20070217.patch.bz2
|
Patch1: ncurses-5.6-20070303-patch.sh.bz2
|
||||||
|
|
||||||
Patch6: ncurses-5.5-20061209-tgetent.patch
|
Patch6: ncurses-5.5-20061209-tgetent.patch
|
||||||
Patch8: ncurses-5.5-20061209-config.patch
|
Patch8: ncurses-5.5-20061209-config.patch
|
||||||
Patch9: ncurses-5.5-liblinks.patch
|
|
||||||
Patch10: ncurses-5.5-20061209-xterm.patch
|
Patch10: ncurses-5.5-20061209-xterm.patch
|
||||||
Patch11: ncurses-5.6-20070120-urxvt.patch
|
Patch11: ncurses-5.6-20070120-urxvt.patch
|
||||||
BuildRequires: gpm-devel
|
BuildRequires: gpm-devel
|
||||||
@ -35,14 +34,6 @@ the ncurses terminal handling library.
|
|||||||
Install the ncurses-devel package if you want to develop applications
|
Install the ncurses-devel package if you want to develop applications
|
||||||
which will use ncurses.
|
which will use ncurses.
|
||||||
|
|
||||||
Use the following compiler flags to build against the ncurses library:
|
|
||||||
|
|
||||||
-lncurses
|
|
||||||
(compile and link against the regular ncurses library)
|
|
||||||
|
|
||||||
-I %{_includedir}/ncursesw -lncursesw
|
|
||||||
(compile and link against the wide-character, UTF-8, library)
|
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
Summary: Static libraries for the ncurses library
|
Summary: Static libraries for the ncurses library
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -60,7 +51,6 @@ rm -rf tack
|
|||||||
|
|
||||||
%patch6 -p1 -b .tgetent
|
%patch6 -p1 -b .tgetent
|
||||||
%patch8 -p1 -b .config
|
%patch8 -p1 -b .config
|
||||||
%patch9 -p1 -b .liblinks
|
|
||||||
%patch10 -p1 -b .xterm
|
%patch10 -p1 -b .xterm
|
||||||
%patch11 -p1 -b .urxvt
|
%patch11 -p1 -b .urxvt
|
||||||
|
|
||||||
@ -75,12 +65,13 @@ chmod 644 test/*
|
|||||||
--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 \\\
|
||||||
|
--with-termlib=tinfo \\\
|
||||||
--with-chtype=long
|
--with-chtype=long
|
||||||
|
|
||||||
mkdir narrowc widec
|
mkdir narrowc widec
|
||||||
cd narrowc
|
cd narrowc
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{ncurses_options} --with-termlib --with-ticlib
|
%configure %{ncurses_options} --with-ticlib
|
||||||
make %{?_smp_mflags} libs
|
make %{?_smp_mflags} libs
|
||||||
make %{?_smp_mflags} -C progs
|
make %{?_smp_mflags} -C progs
|
||||||
|
|
||||||
@ -191,6 +182,11 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 08 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.6-6.20070303
|
||||||
|
- update to patch 20070303
|
||||||
|
- use one libtinfo for both libncurses and libncursesw
|
||||||
|
- shorten -devel description
|
||||||
|
|
||||||
* Mon Feb 19 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.6-5.20070217
|
* Mon Feb 19 2007 Miroslav Lichvar <mlichvar@redhat.com> 5.6-5.20070217
|
||||||
- update to patch 20070217
|
- update to patch 20070217
|
||||||
- replace libcurses.so symlink with linker script (#228891)
|
- replace libcurses.so symlink with linker script (#228891)
|
||||||
|
Loading…
Reference in New Issue
Block a user