]> git.pld-linux.org Git - packages/compat-ncurses5.git/commitdiff
- enable *.pc files; rel 21
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 7 Dec 2009 10:27:06 +0000 (10:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ncurses.spec -> 1.207

ncurses.spec

index 747a2e6ffe606e475c75e87922184ee9dcf2813e..ac230615ad7d5c5e87a925d8c726138bdb858d21 100644 (file)
@@ -19,7 +19,7 @@ Summary(tr.UTF-8):    Terminal kontrol kitaplığı
 Summary(uk.UTF-8):     ncurses - нова бібліотека керування терміналами
 Name:          ncurses
 Version:       5.7
-Release:       20
+Release:       21
 License:       distributable
 Group:         Libraries
 Source0:       ftp://dickey.his.com/ncurses/%{name}-%{version}.tar.gz
@@ -426,8 +426,9 @@ tworzenia aplikacji używających ncurses w języku Ada95.
 %build
 unset TERMINFO || :
 gcc_target=$(gcc -dumpmachine)
-gcc_version=$(gcc -dumpversion)
+gcc_version=%{cc_version}
 CFLAGS="%{rpmcflags} -DPURE_TERMINFO -D_FILE_OFFSET_BITS=64"
+export PKG_CONFIG_LIBDIR=%{_libdir}/pkgconfig
 cp -f /usr/share/automake/config.sub .
 
 %if "%{pld_release}" == "ti"
@@ -450,6 +451,7 @@ cd obj-$t
        --with-termlib \
        --with-largefile \
        --disable-lp64 \
+       --enable-pc-files \
        --with-chtype='long' \
        --with-mmask-t='long' \
        --with-manpage-aliases \
@@ -633,6 +635,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}w/termcap.h
 %{_includedir}w/tic.h
 %{_includedir}w/unctrl.h
+%{_pkgconfigdir}/*.pc
+
 %{_mandir}/man3/*
 %exclude %{_mandir}/man3/form*
 %exclude %{_mandir}/man3/menu*
This page took 0.109315 seconds and 4 git commands to generate.