SHA256
6
0
forked from pool/ncurses
2012-03-05 12:04:16 +00:00
committed by Git OBS Bridge
parent be67c41ce6
commit 8422e7707f
13 changed files with 95 additions and 208 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ncurses
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ncurses
#!BuildIgnore: terminfo
BuildRequires: gcc-c++
@@ -41,16 +43,13 @@ Source1: ncurses-%{version}-patches.tar.bz2
Source2: handle.linux
Source3: README.devel
Source4: ncurses-rpmlintrc
Source5: tack-1.07-20110626.tar.bz2
Source5: tack-1.07-20120303.tar.bz2
Source6: edit.sed
Source7: baselibs.conf
Patch0: ncurses-%{version}.dif
Patch1: ncurses-5.7-printw.dif
Patch1: ncurses-5.9-fortify.dif
Patch3: ncurses-5.9-overwrite.dif
Patch4: ncurses-5.7-tack.dif
Patch5: ncurses-5.7-gpm.dif
Patch6: ncurses-5.6-fallback.dif
Patch7: ncurses-5.9-tack-tinfo.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%global _sysconfdir /etc
%global _miscdir %{_datadir}/misc
@@ -262,12 +261,9 @@ rm -f mkinstalldirs
tar Oxfj %{S:1} | patch -p1 -s
tar xfj %{S:5}
mv tack-* tack
%patch -P 1 -p0 -b .va
%patch -P 1 -p0 -b .ovf
%patch -P 3 -p0 -b .ow
%patch -P 4 -p0 -b .hs
%patch -P 5 -p0 -b .gpm
%patch -P 6 -p0 -b .fb
%patch -P 7 -p0 -b .tc
%patch -P 0 -p0 -b .p0
rm -vf include/ncurses_dll.h
rm -vf mkdirs.sh
@@ -404,6 +400,7 @@ rm -vf mk-dlls.sh
--enable-weak-symbols \
--enable-wgetch-events \
--enable-pthreads-eintr \
--enable-string-hacks \
--prefix=%{_prefix} \
--exec-prefix=%{_prefix}\
--libdir=%{_libdir} \