SPECS: ncurses.spec - rel 11 - provide ABI5 widechar libs

baggins baggins at pld-linux.org
Mon Apr 20 14:26:57 CEST 2009


Author: baggins                      Date: Mon Apr 20 12:26:57 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 11
- provide ABI5 widechar libs

---- Files affected:
SPECS:
   ncurses.spec (1.188 -> 1.189) 

---- Diffs:

================================================================
Index: SPECS/ncurses.spec
diff -u SPECS/ncurses.spec:1.188 SPECS/ncurses.spec:1.189
--- SPECS/ncurses.spec:1.188	Sat Feb 21 12:52:10 2009
+++ SPECS/ncurses.spec	Mon Apr 20 14:26:52 2009
@@ -17,7 +17,7 @@
 Summary(uk.UTF-8):	ncurses - нова бібліотека керування терміналами
 Name:		ncurses
 Version:	5.7
-Release:	10
+Release:	11
 License:	distributable
 Group:		Libraries
 Source0:	ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
@@ -347,6 +347,36 @@
 gcc_version=$(gcc -dumpversion)
 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
 cp -f /usr/share/automake/config.sub .
+
+# build ABI5 wide library first
+install -d obj-widec-ABI5
+cd obj-widec-ABI5
+../%configure \
+	--with-install-prefix=$RPM_BUILD_ROOT \
+	--with-normal \
+	--with-shared \
+	--with%{!?with_ada:out}-ada \
+	--with%{!?with_cxx:out}-cxx \
+	--with%{!?with_cxx:out}-cxx-binding \
+	--with%{!?debug:out}-debug \
+	--with%{!?with_gpm:out}-gpm \
+	--without-profile \
+	--with-termlib \
+	--with-largefile \
+	--disable-lp64 \
+	--with-chtype='long' \
+	--with-mmask-t='long' \
+	--with-manpage-aliases \
+	--with-manpage-format=normal \
+	--without-manpage-symlinks \
+	--with-ada-include=%{_libdir}/gcc/$gcc_target/$gcc_version/adainclude/ \
+	--with-ada-objects=%{_libdir}/gcc/$gcc_target/$gcc_version/adalib/ \
+	--with-termlib=tinfow --enable-widec --includedir=%{_includedir}w
+
+%{__make}
+
+cd ..
+
 for t in narrowc widec; do
 install -d obj-$t
 cd obj-$t
@@ -397,6 +427,8 @@
 ln -sf libncursesw.a $RPM_BUILD_ROOT%{_libdir}/libcursesw.a
 ln -sf libncursesw.so $RPM_BUILD_ROOT%{_libdir}/libcursesw.so
 
+cp -a obj-widec-ABI5/lib/lib*w.so.5* $RPM_BUILD_ROOT%{_libdir}
+
 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 %clean
@@ -426,8 +458,10 @@
 %attr(755,root,root) /%{_lib}/libtinfo.so.*.*
 %attr(755,root,root) %ghost /%{_lib}/libtinfo.so.5
 %attr(755,root,root) %{_libdir}/libncursesw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libncursesw.so.5
 %attr(755,root,root) %ghost %{_libdir}/libncursesw.so.6
 %attr(755,root,root) %{_libdir}/libtinfow.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libtinfow.so.5
 %attr(755,root,root) %ghost %{_libdir}/libtinfow.so.6
 
 %{_datadir}/tabset
@@ -524,12 +558,18 @@
 
 %files ext
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libform.so.*
-%attr(755,root,root) %{_libdir}/libmenu.so.*
-%attr(755,root,root) %{_libdir}/libpanel.so.*
-%attr(755,root,root) %{_libdir}/libformw.so.*
-%attr(755,root,root) %{_libdir}/libmenuw.so.*
-%attr(755,root,root) %{_libdir}/libpanelw.so.*
+%attr(755,root,root) %{_libdir}/libform.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libform.so.[56]
+%attr(755,root,root) %{_libdir}/libmenu.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmenu.so.[56]
+%attr(755,root,root) %{_libdir}/libpanel.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpanel.so.[56]
+%attr(755,root,root) %{_libdir}/libformw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libformw.so.[56]
+%attr(755,root,root) %{_libdir}/libmenuw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmenuw.so.[56]
+%attr(755,root,root) %{_libdir}/libpanelw.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libpanelw.so.[56]
 
 %files ext-devel
 %defattr(644,root,root,755)
@@ -599,6 +639,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.189  2009/04/20 12:26:52  baggins
+- rel 11
+- provide ABI5 widechar libs
+
 Revision 1.188  2009/02/21 11:52:10  arekm
 - fix without ada build
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/ncurses.spec?r1=1.188&r2=1.189&f=u



More information about the pld-cvs-commit mailing list