forked from pool/ncurses
boo#1023296
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=284
This commit is contained in:
parent
444364111b
commit
c96d311dc8
66
ncurses.spec
66
ncurses.spec
@ -212,6 +212,7 @@ Authors:
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: ncurses6-devel
|
||||
Provides: ncurses:%{_incdir}/ncurses.h
|
||||
Requires: %{_bindir}/tack
|
||||
Requires: libncurses6 = %{version}-%{release}
|
||||
@ -228,6 +229,30 @@ to develop applications that require these.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Thomas E. Dickey <dickey@invisible-island.net>
|
||||
Juergen Pfeifer <Juergen.Pfeifer@t-online.de>
|
||||
Eric S. Raymond <esr@thyrsus.com>
|
||||
Zeyd M. Ben-Halim <zmbenhal@netcom.com>
|
||||
Pavel Curtis
|
||||
|
||||
%package -n ncurses5-devel
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
License: MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
Provides: ncurses:%{_incdir}/ncurses5/ncurses.h
|
||||
Requires: %{_bindir}/tack
|
||||
Requires: libncurses5 = %{version}-%{release}
|
||||
Requires: ncurses = %{version}-%{release}
|
||||
Requires: ncurses-devel = %{version}-%{release}
|
||||
|
||||
%description -n ncurses5-devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Thomas E. Dickey <dickey@invisible-island.net>
|
||||
@ -361,8 +386,14 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
cflags -Wl,--as-needed LDFLAGS
|
||||
CXXFLAGS=$CFLAGS
|
||||
test -n "$TERM" || TERM=linux
|
||||
GZIP="-9"
|
||||
export CC CFLAGS CXX CXXFLAGS GZIP TERM LDFLAGS
|
||||
mkdir gzip
|
||||
cat > gzip/gzip <<-'EOF'
|
||||
#!/bin/sh
|
||||
exec /usr/bin/gzip -9 ${1+"$@"}
|
||||
EOF
|
||||
chmod 0755 gzip/gzip
|
||||
PATH=$PWD/gzip:$PATH
|
||||
export CC CFLAGS CXX CXXFLAGS TERM LDFLAGS
|
||||
#
|
||||
# Detect 64bit architecures and be sure that we use an
|
||||
# unsigned long for chtype to be backward compatible with
|
||||
@ -688,8 +719,7 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
done
|
||||
|
||||
%install
|
||||
GZIP="-9"
|
||||
export GZIP
|
||||
PATH=$PWD/gzip:$PATH
|
||||
(cd %{root}/; tar -cpSf - *)|tar -xpsSf - -C %{buildroot}/
|
||||
rm -rf %{root}
|
||||
mkdir %{buildroot}/%{_lib}
|
||||
@ -912,24 +942,18 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
%defattr(-,root,root)
|
||||
%dir %{_defaultdocdir}/ncurses/
|
||||
%doc %{_defaultdocdir}/ncurses/*
|
||||
%{_bindir}/ncurses*-config
|
||||
%{_bindir}/ncurses*6-config
|
||||
%{_bindir}/captoinfo
|
||||
%{_bindir}/infotocap
|
||||
%{_bindir}/tic
|
||||
%dir %{_incdir}/ncurses/
|
||||
%dir %{_incdir}/ncursesw/
|
||||
%dir %{_incdir}/ncurses5/
|
||||
%dir %{_incdir}/ncurses5/ncurses/
|
||||
%dir %{_incdir}/ncurses5/ncursesw/
|
||||
%{_incdir}/*.h
|
||||
%{_incdir}/ncurses*/*.h
|
||||
%{_incdir}/ncurses*/*/*.h
|
||||
%{_incdir}/ncurses/*.h
|
||||
%{_incdir}/ncursesw/*.h
|
||||
%{_libdir}/lib*.a
|
||||
%{_libdir}/lib*.so
|
||||
%dir %{_libdir}/ncurses5/
|
||||
%{_libdir}/ncurses5/lib*.a
|
||||
%{_libdir}/ncurses5/lib*.so
|
||||
%{_libdir}/pkgconfig/*.pc
|
||||
%{_libdir}/pkgconfig/*[clmosuw\+].pc
|
||||
%doc %{_mandir}/man1/*-config.1.gz
|
||||
%doc %{_mandir}/man1/captoinfo.1.gz
|
||||
%doc %{_mandir}/man1/infocmp.1.gz
|
||||
@ -938,6 +962,20 @@ sed -ri '/^iTerm/{s@iterm\|@@}' misc/terminfo.src
|
||||
%doc %{_mandir}/man3/*.gz
|
||||
%doc %{_mandir}/man7/*.gz
|
||||
|
||||
%files -n ncurses5-devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/ncurses*5-config
|
||||
%dir %{_incdir}/ncurses5/
|
||||
%dir %{_incdir}/ncurses5/ncurses/
|
||||
%dir %{_incdir}/ncurses5/ncursesw/
|
||||
%{_incdir}/ncurses5/*.h
|
||||
%{_incdir}/ncurses5/ncurses/*.h
|
||||
%{_incdir}/ncurses5/ncursesw/*.h
|
||||
%dir %{_libdir}/ncurses5/
|
||||
%{_libdir}/ncurses5/lib*.a
|
||||
%{_libdir}/ncurses5/lib*.so
|
||||
%{_libdir}/pkgconfig/*5.pc
|
||||
|
||||
%files -n tack
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/tack
|
||||
|
Loading…
Reference in New Issue
Block a user