X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=urxvt.spec;h=5ae7d5685284e5f0a80b34b6f3923839eb4ca5cc;hb=943ef98a0c3206f76147d5a7a95993e870bf54b7;hp=1255144e5d3421a9a65da3cae3b18bbf70ea4d6a;hpb=b61c1add578ba788dce37eca6b606d01d7a16165;p=packages%2Furxvt.git diff --git a/urxvt.spec b/urxvt.spec index 1255144..5ae7d56 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,26 +1,36 @@ +# TODO: utempter support +# +# Conditional build: +%bcond_without 256colors # build without 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.21 Release: 1 -License: GPL v2+ +License: GPL v3+ Group: X11/Applications Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: 3505887adae710382edee90ed5538a01 +# Source0-md5: a9a06c608258c5fd247c3725d8f44582 Source1: %{name}.desktop -Patch0: %{name}-fontconfig.patch +Patch0: %{name}-tic.patch URL: http://software.schmorp.de/ BuildRequires: autoconf >= 2.50 +BuildRequires: automake BuildRequires: fontconfig-devel +BuildRequires: gdk-pixbuf2-devel >= 2.0 BuildRequires: libstdc++-devel -BuildRequires: perl-devel +BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: pkgconfig BuildRequires: rpm-perlprov BuildRequires: sed >= 4.0 +BuildRequires: startup-notification-devel +BuildRequires: xorg-lib-libX11-devel BuildRequires: xorg-lib-libXext-devel BuildRequires: xorg-lib-libXft-devel BuildRequires: xorg-lib-libXpm-devel +BuildRequires: xorg-lib-libXrender-devel BuildRequires: zlib-devel Requires: terminfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -50,17 +60,16 @@ URxvt jest modyfikacją Rxvt uwzględniającą: %{__autoheader} %{__autoconf} %configure \ +%if %{with 256colors} + --enable-256-color \ +%endif --enable-everything \ --enable-mousewheel \ --enable-next-scroll \ --with-term=rxvt \ - --disable-afterimage \ --enable-smart-resize -%{__make} \ - CXXFLAGS="%{rpmcxxflags}" \ - CFLAGS="%{rpmcxxflags}" \ - LDFLAGS="%{rpmldflags} -lfontconfig" +%{__make} %install rm -rf $RPM_BUILD_ROOT