X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fncurses.spec;h=bcc65371f4a6489d6ff6a689f4f6d2611d6d9adc;hp=cc6fbf2aabb947fa76192a09ab1f1b5c3a97def5;hb=7b077b4a853fd84176d8057f263ed193210f632e;hpb=63e3cafac136d773331dee15633f1c9ef08c5493 diff --git a/package/ncurses.spec b/package/ncurses.spec index cc6fbf2a..bcc65371 100644 --- a/package/ncurses.spec +++ b/package/ncurses.spec @@ -1,7 +1,7 @@ Summary: shared libraries for terminal handling Name: ncurses6 Version: 5.9 -Release: 20140412 +Release: 20141213 License: X11 Group: Development/Libraries Source: ncurses-%{version}-%{release}.tgz @@ -10,7 +10,8 @@ Source: ncurses-%{version}-%{release}.tgz %define CC_NORMAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wconversion %define CC_STRICT %{CC_NORMAL} -W -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wwrite-strings -ansi -pedantic -%define _prefix /usr/local/ncurses6 +%global _prefix /usr/local/ncurses6 +%global MY_PKG /usr/lib64/pkgconfig %define MYDATA /usr/local/ncurses/share/terminfo %description @@ -45,6 +46,7 @@ RPATH_LIST=../lib:%{_prefix}/lib \ --enable-ext-mouse \ --enable-hard-tabs \ --enable-interop \ + --enable-pc-files \ --enable-rpath \ --enable-sp-funcs \ --enable-warnings \ @@ -58,6 +60,9 @@ RPATH_LIST=../lib:%{_prefix}/lib \ --with-ticlib \ --with-trace \ --with-cxx-shared \ + --with-pc-suffix=6 \ + --with-pkg-config-libdir=%{MY_PKG} \ + --with-versioned-syms \ --with-xterm-kbs=DEL \ --without-ada \ --without-debug \ @@ -80,6 +85,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_includedir}/* %{_libdir}/* +%{MY_PKG}/*.pc #%{_datadir}/* %changelog