forked from pool/ncurses
This commit is contained in:
parent
5843bec3a1
commit
a9e25a41f6
@ -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
|
||||
|
||||
|
20
ncurses.spec
20
ncurses.spec
@ -19,7 +19,7 @@ License: X11/MIT
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 5.6
|
||||
Release: 7
|
||||
Release: 16
|
||||
Summary: New curses Libraries
|
||||
Source0: ncurses-%{version}.tar.bz2
|
||||
Url: http://invisible-island.net/ncurses/ncurses.html
|
||||
@ -136,9 +136,10 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
else
|
||||
CFLAGS="${RPM_OPT_FLAGS} -pipe"
|
||||
fi
|
||||
# LDFLAGS="-Wl,-Bsymbolic-functions"
|
||||
CXXFLAGS=$CFLAGS
|
||||
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
|
||||
# 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
|
||||
test -n "${RPM_BUILD_ROOT}" || ldconfig -N
|
||||
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/ncurses-intro.doc ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
|
||||
install -m 644 doc/hackguide.doc ${RPM_BUILD_ROOT}%{_defaultdocdir}/ncurses/
|
||||
bzip2 doc/ncurses-intro.doc -c > doc/ncurses-intro.txt.bz2
|
||||
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}/usr/share/misc
|
||||
cd ncurses/
|
||||
@ -321,7 +325,6 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
|
||||
%files -f default.list
|
||||
%defattr(-,root,root)
|
||||
%dir %{_defaultdocdir}/ncurses/
|
||||
#%ghost /usr/lib/tabset
|
||||
#%ghost /usr/lib/terminfo
|
||||
%dir /usr/share/tabset/
|
||||
@ -336,7 +339,6 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
/usr/bin/toe
|
||||
/usr/bin/tput
|
||||
/usr/bin/tset
|
||||
%doc %{_defaultdocdir}/ncurses/*
|
||||
/usr/%{_lib}/lib*.so.*
|
||||
%doc %{_mandir}/man1/clear.1.gz
|
||||
%doc %{_mandir}/man1/reset.1.gz
|
||||
@ -347,6 +349,8 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
|
||||
%files -n ncurses-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_defaultdocdir}/ncurses/
|
||||
%doc %{_defaultdocdir}/ncurses/*
|
||||
/usr/bin/ncurses*-config
|
||||
/usr/bin/captoinfo
|
||||
/usr/bin/infocmp
|
||||
@ -371,6 +375,8 @@ tar Oxfj %{SOURCE1} | patch -p1 -s
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Tue May 15 2007 - dmueller@suse.de
|
||||
- move documentation to -devel package and bzip text files
|
||||
* Tue Mar 20 2007 - rguenther@suse.de
|
||||
- Remove unused ed BuildRequires.
|
||||
* Mon Mar 19 2007 - rguenther@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user