X-Git-Url: http://git.pld-linux.org/?p=packages%2Furxvt.git;a=blobdiff_plain;f=urxvt.spec;h=51279f351c0e33f6a92c79e356025d3e3495a63f;hp=e5f2ee7d5dbd4c0a2a1caf6ab8aba79029805e9d;hb=5afe203ab0ad22b804beed455f628f69bd325836;hpb=80479010d56f7ca2a767beedd2c0fea2d24c36dd diff --git a/urxvt.spec b/urxvt.spec index e5f2ee7..51279f3 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,23 +1,26 @@ +# TODO: utempter support # # Conditional build: +%bcond_with 256colors # build with 256 color support # -%bcond_with 256colors # unsupported 256 colors patch (see FAQ) %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.07 +Version: 9.12 Release: 1 License: GPL v2+ Group: X11/Applications Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: 49bb52c99e002bf85eb41d8385d903b5 +# Source0-md5: 945af37d661c8c45a7cac292160e7c70 Source1: %{name}.desktop 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 @@ -46,16 +49,14 @@ URxvt jest modyfikacją Rxvt uwzględniającą: %prep %setup -q -n rxvt-unicode-%{version} -%if %{with 256colors} -patch -p1 < doc/urxvt-8.2-256color.patch -%endif %build +%{__aclocal} -I. %{__autoheader} %{__autoconf} %configure \ %if %{with 256colors} - --enable-xterm-colors=256 \ + --enable-256-color \ %endif --enable-everything \ --enable-mousewheel \ @@ -64,9 +65,7 @@ patch -p1 < doc/urxvt-8.2-256color.patch --disable-afterimage \ --enable-smart-resize -%{__make} \ - CXXFLAGS="%{rpmcxxflags}" \ - CFLAGS="%{rpmcxxflags}" +%{__make} %install rm -rf $RPM_BUILD_ROOT