move files from /lib[64] to /usr/lib[64] [release 5.9.20141206-4mamba;Sun Dec 08 2019]
This commit is contained in:
parent
f65aa52845
commit
92b06e257d
@ -4,7 +4,7 @@
|
|||||||
%define tack_ver 1.07
|
%define tack_ver 1.07
|
||||||
Name: ncurses5
|
Name: ncurses5
|
||||||
Version: 5.9.20141206
|
Version: 5.9.20141206
|
||||||
Release: 3mamba
|
Release: 4mamba
|
||||||
Summary: A CRT screen handling and optimization package
|
Summary: A CRT screen handling and optimization package
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -136,21 +136,21 @@ ln -sf ../l/linux %{buildroot}%{_datadir}/terminfo/c/console
|
|||||||
# %{buildroot}%{_datadir}/terminfo/x/xterm-original
|
# %{buildroot}%{_datadir}/terminfo/x/xterm-original
|
||||||
#ln -s xterm-xfree86 %{buildroot}%{_datadir}/terminfo/x/xterm
|
#ln -s xterm-xfree86 %{buildroot}%{_datadir}/terminfo/x/xterm
|
||||||
|
|
||||||
install -d %{buildroot}/%{_lib}
|
#install -d %{buildroot}/%{_lib}
|
||||||
mv %{buildroot}%{_libdir}/libncurses.so.5* %{buildroot}/%{_lib}
|
#mv %{buildroot}%{_libdir}/libncurses.so.5* %{buildroot}/%{_lib}
|
||||||
ln -sf /%{_lib}/libncurses.so.5 %{buildroot}%{_libdir}/libncurses.so
|
#ln -sf /%{_lib}/libncurses.so.5 %{buildroot}%{_libdir}/libncurses.so
|
||||||
ln -sf /%{_lib}/libncurses.so.5 %{buildroot}%{_libdir}/libcurses.so
|
#ln -sf /%{_lib}/libncurses.so.5 %{buildroot}%{_libdir}/libcurses.so
|
||||||
|
|
||||||
mv %{buildroot}%{_libdir}/libncursesw.so.5* %{buildroot}/%{_lib}
|
#mv %{buildroot}%{_libdir}/libncursesw.so.5* %{buildroot}/%{_lib}
|
||||||
ln -sf /%{_lib}/libncursesw.so.5 %{buildroot}%{_libdir}/libncursesw.so
|
#ln -sf /%{_lib}/libncursesw.so.5 %{buildroot}%{_libdir}/libncursesw.so
|
||||||
ln -sf /%{_lib}/libncursesw.so.5 %{buildroot}%{_libdir}/libcursesw.so
|
#ln -sf /%{_lib}/libncursesw.so.5 %{buildroot}%{_libdir}/libcursesw.so
|
||||||
|
|
||||||
ln -sf libncurses.a %{buildroot}%{_libdir}/libcurses.a
|
ln -sf libncurses.a %{buildroot}%{_libdir}/libcurses.a
|
||||||
ln -sf libncursesw.a %{buildroot}%{_libdir}/libcursesw.a
|
ln -sf libncursesw.a %{buildroot}%{_libdir}/libcursesw.a
|
||||||
|
|
||||||
# fix strange permissions
|
# fix strange permissions
|
||||||
chmod 755 %{buildroot}%{_libdir}/*.so.%{majver}
|
chmod 755 %{buildroot}%{_libdir}/*.so.*
|
||||||
chmod 755 %{buildroot}/%{_lib}/*.so.*
|
#chmod 755 %{buildroot}/%{_lib}/*.so.*
|
||||||
|
|
||||||
DEFAULT_TERMINFOS="ansi ansi-m console dumb color_xterm linux pcansi-m screen vt52 vt100 vt102 vt220 xterm"
|
DEFAULT_TERMINFOS="ansi ansi-m console dumb color_xterm linux pcansi-m screen vt52 vt100 vt102 vt220 xterm"
|
||||||
|
|
||||||
@ -171,9 +171,9 @@ done
|
|||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
|
|
||||||
%post -n lib%{name}
|
%post -n lib%{name}
|
||||||
# Fix legacy wrong link
|
## Fix legacy wrong link
|
||||||
rm -f %{_libdir}/libncurses.so.5
|
#rm -f %{_libdir}/libncurses.so.5
|
||||||
rm -f %{_libdir}/libncursesw.so.5
|
#rm -f %{_libdir}/libncursesw.so.5
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
:
|
:
|
||||||
|
|
||||||
@ -191,14 +191,14 @@ rm -f %{_libdir}/libncursesw.so.5
|
|||||||
%{_bindir}/toe
|
%{_bindir}/toe
|
||||||
%{_bindir}/tput
|
%{_bindir}/tput
|
||||||
%{_bindir}/tset
|
%{_bindir}/tset
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*.1*
|
||||||
%{_mandir}/man5/*
|
%{_mandir}/man5/*.5*
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*.7*
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libncurses*.so.*
|
#/%{_lib}/libncurses*.so.*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/lib*.so.*
|
||||||
#%{_datadir}/terminfo/*
|
#%{_datadir}/terminfo/*
|
||||||
%if "%{_target_cpu}" != "x86_64"
|
%if "%{_target_cpu}" != "x86_64"
|
||||||
%{_libdir}/terminfo
|
%{_libdir}/terminfo
|
||||||
@ -237,6 +237,9 @@ rm -f %{_libdir}/libncursesw.so.5
|
|||||||
%{_datadir}/terminfo/*
|
%{_datadir}/terminfo/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.20141206-4mamba
|
||||||
|
- move files from /lib[64] to /usr/lib[64]
|
||||||
|
|
||||||
* Mon Nov 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.20141206-3mamba
|
* Mon Nov 25 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.20141206-3mamba
|
||||||
- rebuilt with --with-termlib
|
- rebuilt with --with-termlib
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user