SHA256
1
0
forked from pool/ncurses
OBS User unknown 2007-05-16 22:31:03 +00:00 committed by Git OBS Bridge
parent 5843bec3a1
commit a9e25a41f6
2 changed files with 18 additions and 7 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 15 15:06:22 CEST 2007 - dmueller@suse.de
- move documentation to -devel package and bzip text files
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Mar 20 18:04:44 CET 2007 - rguenther@suse.de Tue Mar 20 18:04:44 CET 2007 - rguenther@suse.de

View File

@ -19,7 +19,7 @@ License: X11/MIT
Group: System/Libraries Group: System/Libraries
Autoreqprov: on Autoreqprov: on
Version: 5.6 Version: 5.6
Release: 7 Release: 16
Summary: New curses Libraries Summary: New curses Libraries
Source0: ncurses-%{version}.tar.bz2 Source0: ncurses-%{version}.tar.bz2
Url: http://invisible-island.net/ncurses/ncurses.html Url: http://invisible-island.net/ncurses/ncurses.html
@ -136,9 +136,10 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
else else
CFLAGS="${RPM_OPT_FLAGS} -pipe" CFLAGS="${RPM_OPT_FLAGS} -pipe"
fi fi
# LDFLAGS="-Wl,-Bsymbolic-functions"
CXXFLAGS=$CFLAGS CXXFLAGS=$CFLAGS
test -n "$TERM" || TERM=linux test -n "$TERM" || TERM=linux
export CC CFLAGS CXX CXXFLAGS TERM export CC CFLAGS CXX CXXFLAGS TERM LDFLAGS
# #
# Detect 64bit architecures and be sure that # Detect 64bit architecures and be sure that
# we use an unsigned long for chtype to be # we use an unsigned long for chtype to be
@ -250,10 +251,13 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
chmod a-x ${RPM_BUILD_ROOT}/%{_libdir}/lib*.a chmod a-x ${RPM_BUILD_ROOT}/%{_libdir}/lib*.a
test -n "${RPM_BUILD_ROOT}" || ldconfig -N test -n "${RPM_BUILD_ROOT}" || ldconfig -N
mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses mkdir -p ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses
install -m 644 misc/terminfo.src ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/ bzip2 -c misc/terminfo.src > misc/terminfo.src.bz2
install -m 644 misc/terminfo.src.bz2 ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
install -m 644 doc/html/*.html ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/ install -m 644 doc/html/*.html ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
install -m 644 doc/ncurses-intro.doc ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/ bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2
install -m 644 doc/hackguide.doc ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/ install -m 644 doc/ncurses-intro.txt.bz2 ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
bzip2 doc/hackguide.doc -c > doc/hackguide.txt.bz2
install -m 644 doc/hackguide.txt.bz2 ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
mkdir -p ${RPM_BUILD_ROOT}/etc mkdir -p ${RPM_BUILD_ROOT}/etc
mkdir -p ${RPM_BUILD_ROOT}/usr/share/misc mkdir -p ${RPM_BUILD_ROOT}/usr/share/misc
cd ncurses/ cd ncurses/
@ -321,7 +325,6 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
%files -f default.list %files -f default.list
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_defaultdocdir}/ncurses/
#%ghost /usr/lib/tabset #%ghost /usr/lib/tabset
#%ghost /usr/lib/terminfo #%ghost /usr/lib/terminfo
%dir /usr/share/tabset/ %dir /usr/share/tabset/
@ -336,7 +339,6 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
/usr/bin/toe /usr/bin/toe
/usr/bin/tput /usr/bin/tput
/usr/bin/tset /usr/bin/tset
%doc %{_defaultdocdir}/ncurses/*
/usr/%{_lib}/lib*.so.* /usr/%{_lib}/lib*.so.*
%doc %{_mandir}/man1/clear.1.gz %doc %{_mandir}/man1/clear.1.gz
%doc %{_mandir}/man1/reset.1.gz %doc %{_mandir}/man1/reset.1.gz
@ -347,6 +349,8 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
%files -n ncurses-devel %files -n ncurses-devel
%defattr(-,root,root) %defattr(-,root,root)
%dir %{_defaultdocdir}/ncurses/
%doc %{_defaultdocdir}/ncurses/*
/usr/bin/ncurses*-config /usr/bin/ncurses*-config
/usr/bin/captoinfo /usr/bin/captoinfo
/usr/bin/infocmp /usr/bin/infocmp
@ -371,6 +375,8 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
%defattr(-,root,root) %defattr(-,root,root)
%changelog %changelog
* Tue May 15 2007 - dmueller@suse.de
- move documentation to -devel package and bzip text files
* Tue Mar 20 2007 - rguenther@suse.de * Tue Mar 20 2007 - rguenther@suse.de
- Remove unused ed BuildRequires. - Remove unused ed BuildRequires.
* Mon Mar 19 2007 - rguenther@suse.de * Mon Mar 19 2007 - rguenther@suse.de