X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=package%2Fncurses.spec;h=a69a1a14d3048608cc61c437b2bdf38aa07991ea;hp=a380144d36e0fb179e001cbdba3bce97c23d4ef6;hb=c6cfd97b8beaf0f6deafbf8aac7281cf6aa7f012;hpb=683b593ffaeafaa191e701759b05cdba8086b6b1 diff --git a/package/ncurses.spec b/package/ncurses.spec index a380144d..a69a1a14 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: 20140215 +Release: 20150214 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,17 +46,23 @@ RPATH_LIST=../lib:%{_prefix}/lib \ --enable-ext-mouse \ --enable-hard-tabs \ --enable-interop \ + --enable-pc-files \ --enable-rpath \ --enable-sp-funcs \ --enable-warnings \ --enable-widec \ --verbose \ + --with-chtype=uint32_t \ + --with-mmask_t=uint32_t \ --with-develop \ --with-shared \ --with-termlib \ --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 \ @@ -78,6 +85,7 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/* %{_includedir}/* %{_libdir}/* +%{MY_PKG}/*.pc #%{_datadir}/* %changelog