forked from pool/ncurses
This commit is contained in:
parent
6e20465370
commit
122a561bc0
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 5 16:23:03 CEST 2007 - werner@suse.de
|
||||
|
||||
- Move libncursesw to /lib or /lib64 (bug #307353)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 25 22:54:35 CEST 2007 - dmueller@suse.de
|
||||
|
||||
|
20
ncurses.spec
20
ncurses.spec
@ -19,7 +19,7 @@ License: X11/MIT
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 5.6
|
||||
Release: 19
|
||||
Release: 38
|
||||
Summary: New curses Libraries
|
||||
Source0: ncurses-%{version}.tar.bz2
|
||||
Url: http://invisible-island.net/ncurses/ncurses.html
|
||||
@ -49,7 +49,7 @@ Authors:
|
||||
|
||||
%package -n terminfo
|
||||
Summary: A terminal descriptions database
|
||||
License: Public Domain, Freeware
|
||||
License: Public Domain, Freeware, # COPYRIGHTS AND OTHER DELUSIONS
|
||||
Group: System/Base
|
||||
Autoreqprov: on
|
||||
|
||||
@ -93,7 +93,7 @@ Authors:
|
||||
|
||||
%package -n tack
|
||||
Summary: Terminfo action checker
|
||||
License: GNU General Public License (GPL)
|
||||
License: GPL v2 or later
|
||||
Group: Development/Tools/Building
|
||||
Provides: ncurses-devel:/usr/bin/tack
|
||||
Requires: ncurses = %{version}-%{release}
|
||||
@ -244,10 +244,13 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
export GZIP
|
||||
make install.libs install.includes
|
||||
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
|
||||
mv ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/libncurses.so.* ${RPM_BUILD_ROOT}/%{_lib}
|
||||
ln -sf /%{_lib}/libncurses.so.%{version} ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/libncurses.so
|
||||
for lib in libncurses libncursesw
|
||||
do
|
||||
mv ${RPM_BUILD_ROOT}%{_libdir}/${lib}.so.* ${RPM_BUILD_ROOT}/%{_lib}/
|
||||
ln -sf /%{_lib}/${lib}.so.%{version} ${RPM_BUILD_ROOT}%{_libdir}/${lib}.so
|
||||
done
|
||||
chmod 0755 ${RPM_BUILD_ROOT}/%{_lib}/lib*.so.*
|
||||
chmod 0755 ${RPM_BUILD_ROOT}/%{_prefix}/%{_lib}/lib*.so.*
|
||||
chmod 0755 ${RPM_BUILD_ROOT}/%{_libdir}/lib*.so.*
|
||||
chmod a-x ${RPM_BUILD_ROOT}/%{_libdir}/lib*.a
|
||||
test -n "${RPM_BUILD_ROOT}" || ldconfig -N
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses
|
||||
@ -336,8 +339,7 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
%dir /usr/share/terminfo/*/
|
||||
/etc/termcap
|
||||
%config /usr/share/misc/termcap
|
||||
/%{_lib}/libncurses.so.5
|
||||
/%{_lib}/libncurses.so.%{version}
|
||||
/%{_lib}/lib*.so.*
|
||||
/usr/bin/clear
|
||||
/usr/bin/reset
|
||||
/usr/bin/toe
|
||||
@ -379,6 +381,8 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Wed Sep 05 2007 - werner@suse.de
|
||||
- Move libncursesw to /lib or /lib64 (bug #307353)
|
||||
* Fri May 25 2007 - dmueller@suse.de
|
||||
- add %%post/un to call ldconfig
|
||||
* Tue May 15 2007 - dmueller@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user