|
@@ -1,35 +1,30 @@
|
|
Summary: A CRT screen handling and optimization package.
|
|
Summary: A CRT screen handling and optimization package.
|
|
Summary(ja): CRT スクリーンの操作と最適化を行うパッケージ
|
|
Summary(ja): CRT スクリーンの操作と最適化を行うパッケージ
|
|
Name: ncurses
|
|
Name: ncurses
|
|
-Version: 5.6
|
|
+Version: 5.9
|
|
%define includedirw %{_includedir}/ncursesw
|
|
%define includedirw %{_includedir}/ncursesw
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
-Release: 4%{?_dist_release}
|
|
+Release: 1%{?_dist_release}
|
|
License: distributable
|
|
License: distributable
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
URL: http://dickey.his.com/ncurses/ncurses.html
|
|
URL: http://dickey.his.com/ncurses/ncurses.html
|
|
-Source0: ftp://dickey.his.com/ncurses/ncurses-%{version}.tar.gz
|
|
+
|
|
-Source2: ncurses-linux
|
|
+Source0: ftp://invisible-island.net/ncurses/ncurses-%{version}.tar.gz
|
|
-Source3: ncurses-linux-m
|
|
+
|
|
-Source4: ncurses-resetall.sh
|
|
+Patch1: ncurses-5.9-20110409-20110716.patch.bz2
|
|
-Patch1: ncurses-5.6-20080621-patch.sh.bz2
|
|
+Patch8: ncurses-config.patch
|
|
-Patch2: ncurses-5.6-20080628.patch.gz
|
|
+Patch9: ncurses-libs.patch
|
|
-Patch3: ncurses-5.6-20080705.patch.gz
|
|
+Patch11: ncurses-urxvt.patch
|
|
-Patch4: ncurses-5.6-20080712.patch.gz
|
|
+Patch12: ncurses-kbs.patch
|
|
-Patch5: ncurses-5.6-20080713.patch.gz
|
|
|
|
-Patch6: ncurses-5.6-20080726.patch.gz
|
|
|
|
-
|
|
|
|
-Patch10: ncurses-5.5-20061209-config.patch
|
|
|
|
-Patch11: ncurses-5.6-20070612-libs.patch
|
|
|
|
-Patch12: ncurses-5.6-20080112-xterm.patch
|
|
|
|
-Patch13: ncurses-5.6-20080112-urxvt.patch
|
|
|
|
-Patch14: ncurses-5.6-20080628-kbs.patch
|
|
|
|
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
+BuildRequires: pkgconfig
|
|
|
|
+
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
|
|
+Packager: daisuke
|
|
|
|
|
|
%description
|
|
%description
|
|
The curses library routines are a terminal-independent method of
|
|
The curses library routines are a terminal-independent method of
|
|
@@ -124,31 +119,23 @@ C++ bindings to ncurses
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
%patch1 -p1
|
|
%patch1 -p1
|
|
-%patch2 -p1
|
|
+
|
|
-%patch3 -p1
|
|
+%patch8 -p1 -b .config
|
|
-%patch4 -p1
|
|
+%patch9 -p1 -b .libs
|
|
-%patch5 -p1
|
|
+%patch11 -p1 -b .urxvt
|
|
-%patch6 -p1
|
|
+%patch12 -p1 -b .kbs
|
|
-
|
|
|
|
-%patch10 -p1
|
|
|
|
-%patch11 -p1
|
|
|
|
-%patch12 -p1
|
|
|
|
-%patch13 -p1
|
|
|
|
-%patch14 -p1
|
|
|
|
|
|
|
|
find . -name "*.orig" -exec rm -f {} \;
|
|
find . -name "*.orig" -exec rm -f {} \;
|
|
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
-CFLAGS="%{optflags} -DPURE_TERMINFO -DSVR4_CURSES"
|
|
|
|
-%define optflags $CFLAGS
|
|
|
|
-
|
|
|
|
%define rootdatadir /lib
|
|
%define rootdatadir /lib
|
|
%define ncurses_options \\\
|
|
%define ncurses_options \\\
|
|
--with-shared --without-ada --with-ospeed=unsigned \\\
|
|
--with-shared --without-ada --with-ospeed=unsigned \\\
|
|
--enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \\\
|
|
--enable-hard-tabs --enable-xmc-glitch --enable-colorfgbg \\\
|
|
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo:%{rootdatadir}/terminfo \\\
|
|
--with-terminfo-dirs=%{_sysconfdir}/terminfo:%{_datadir}/terminfo:%{rootdatadir}/terminfo \\\
|
|
--enable-overwrite \\\
|
|
--enable-overwrite \\\
|
|
|
|
+ --enable-pc-files \\\
|
|
--with-termlib=tinfo \\\
|
|
--with-termlib=tinfo \\\
|
|
--with-chtype=long
|
|
--with-chtype=long
|
|
|
|
|
|
@@ -285,7 +272,8 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|
%{_includedir}/ncursesw/*.h
|
|
%{_includedir}/ncursesw/*.h
|
|
%{_includedir}/*.h
|
|
%{_includedir}/*.h
|
|
%{_mandir}/man3/*
|
|
%{_mandir}/man3/*
|
|
-
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
|
|
+%exclude %{_libdir}/pkgconfig/ncurses++*.pc
|
|
|
|
|
|
%files c++-devel
|
|
%files c++-devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
@@ -294,9 +282,8 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|
%{_includedir}/ncurses/curses?.h
|
|
%{_includedir}/ncurses/curses?.h
|
|
%{_includedir}/ncurses/etip.h
|
|
%{_includedir}/ncurses/etip.h
|
|
%{_libdir}/libncurses++.a
|
|
%{_libdir}/libncurses++.a
|
|
-
|
|
|
|
%{_libdir}/libncurses++w.a
|
|
%{_libdir}/libncurses++w.a
|
|
-
|
|
+%{_libdir}/pkgconfig/ncurses++*.pc
|
|
|
|
|
|
%if %{build_compat32}
|
|
%if %{build_compat32}
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
@@ -310,12 +297,15 @@ rm -f ${RPM_BUILD_ROOT}%{_libdir}/terminfo
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/lib*.a
|
|
%{_libdir}/lib*.a
|
|
|
|
+%{_libdir}/pkgconfig/*.pc
|
|
|
|
+%exclude %{_libdir}/pkgconfig/ncurses++*.pc
|
|
|
|
|
|
|
|
|
|
%files -n compat32-%{name}-c++-devel
|
|
%files -n compat32-%{name}-c++-devel
|
|
%defattr(-,root,root)
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libncurses++.a
|
|
%{_libdir}/libncurses++.a
|
|
%{_libdir}/libncurses++w.a
|
|
%{_libdir}/libncurses++w.a
|
|
|
|
+%{_libdir}/pkgconfig/ncurses++*.pc
|
|
%endif
|
|
%endif
|
|
|
|
|
|
|
|
|
|
@@ -324,6 +314,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Fri Sep 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 5.9-1
|
|
|
|
+- update to 5.9 + 20110716
|
|
|
|
+- update all patches
|
|
|
|
+- add pkgconfig file
|
|
|
|
+
|
|
|
|
+* Sun Mar 27 2011 IWAI, Masaharu <iwai@alib.jp> 5.6-5
|
|
|
|
+- build with new toolchain
|
|
|
|
+
|
|
* Fri Mar 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.6-4
|
|
* Fri Mar 5 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 5.6-4
|
|
- rebuilt with new toolchain
|
|
- rebuilt with new toolchain
|
|
- add Requires(post,pre): /sbin/ldconfig
|
|
- add Requires(post,pre): /sbin/ldconfig
|