From 502dca7e3463ce85e77727e932bd0e4b9f16c92f Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Thu, 16 Dec 2010 12:12:24 +0000 Subject: [PATCH] - up to 9.10 - urxvt-fontconfig.patch applied upstream - restore 256colors bcond - don't pass flags to make - ac/am handles them correctly Changed files: urxvt.spec -> 1.57 --- urxvt.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/urxvt.spec b/urxvt.spec index 1255144..066c481 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,15 +1,15 @@ +%bcond_with 256colors # build with 256 color support %include /usr/lib/rpm/macros.perl Summary: Rxvt terminal with unicode support and some improvements Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami Name: urxvt -Version: 9.09 +Version: 9.10 Release: 1 License: GPL v2+ Group: X11/Applications Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: 3505887adae710382edee90ed5538a01 +# Source0-md5: a23aa40b31e843878b6f9c44768de430 Source1: %{name}.desktop -Patch0: %{name}-fontconfig.patch URL: http://software.schmorp.de/ BuildRequires: autoconf >= 2.50 BuildRequires: fontconfig-devel @@ -43,13 +43,15 @@ URxvt jest modyfikacją Rxvt uwzględniającą: %prep %setup -q -n rxvt-unicode-%{version} -%patch0 -p1 %build %{__aclocal} -I. %{__autoheader} %{__autoconf} %configure \ +%if %{with 256colors} + --enable-256-color \ +%endif --enable-everything \ --enable-mousewheel \ --enable-next-scroll \ @@ -57,10 +59,7 @@ URxvt jest modyfikacją Rxvt uwzględniającą: --disable-afterimage \ --enable-smart-resize -%{__make} \ - CXXFLAGS="%{rpmcxxflags}" \ - CFLAGS="%{rpmcxxflags}" \ - LDFLAGS="%{rpmldflags} -lfontconfig" +%{__make} %install rm -rf $RPM_BUILD_ROOT -- 2.44.0