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
|
||||
Name: ncurses5
|
||||
Version: 5.9.20141206
|
||||
Release: 3mamba
|
||||
Release: 4mamba
|
||||
Summary: A CRT screen handling and optimization package
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
@ -136,21 +136,21 @@ ln -sf ../l/linux %{buildroot}%{_datadir}/terminfo/c/console
|
||||
# %{buildroot}%{_datadir}/terminfo/x/xterm-original
|
||||
#ln -s xterm-xfree86 %{buildroot}%{_datadir}/terminfo/x/xterm
|
||||
|
||||
install -d %{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}/libcurses.so
|
||||
#install -d %{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}/libcurses.so
|
||||
|
||||
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}/libcursesw.so
|
||||
#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}/libcursesw.so
|
||||
|
||||
ln -sf libncurses.a %{buildroot}%{_libdir}/libcurses.a
|
||||
ln -sf libncursesw.a %{buildroot}%{_libdir}/libcursesw.a
|
||||
|
||||
# fix strange permissions
|
||||
chmod 755 %{buildroot}%{_libdir}/*.so.%{majver}
|
||||
chmod 755 %{buildroot}/%{_lib}/*.so.*
|
||||
chmod 755 %{buildroot}%{_libdir}/*.so.*
|
||||
#chmod 755 %{buildroot}/%{_lib}/*.so.*
|
||||
|
||||
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}
|
||||
|
||||
%post -n lib%{name}
|
||||
# Fix legacy wrong link
|
||||
rm -f %{_libdir}/libncurses.so.5
|
||||
rm -f %{_libdir}/libncursesw.so.5
|
||||
## Fix legacy wrong link
|
||||
#rm -f %{_libdir}/libncurses.so.5
|
||||
#rm -f %{_libdir}/libncursesw.so.5
|
||||
/sbin/ldconfig
|
||||
:
|
||||
|
||||
@ -191,14 +191,14 @@ rm -f %{_libdir}/libncursesw.so.5
|
||||
%{_bindir}/toe
|
||||
%{_bindir}/tput
|
||||
%{_bindir}/tset
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
%{_mandir}/man7/*
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_mandir}/man5/*.5*
|
||||
%{_mandir}/man7/*.7*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/libncurses*.so.*
|
||||
%{_libdir}/*.so.*
|
||||
#/%{_lib}/libncurses*.so.*
|
||||
%{_libdir}/lib*.so.*
|
||||
#%{_datadir}/terminfo/*
|
||||
%if "%{_target_cpu}" != "x86_64"
|
||||
%{_libdir}/terminfo
|
||||
@ -237,6 +237,9 @@ rm -f %{_libdir}/libncursesw.so.5
|
||||
%{_datadir}/terminfo/*
|
||||
|
||||
%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
|
||||
- rebuilt with --with-termlib
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user