]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- fontconfig linking patch (fixes TODO)
[packages/urxvt.git] / urxvt.spec
index 9dc674cc90c597470b5892357a80de7bc714d2e8..6edece0dc5a6c344de18e0ae3153fb01d0264612 100644 (file)
@@ -1,24 +1,23 @@
-#
-# Conditional build:
-#
-%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.06
+Version:       9.09
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: 4cb9330e99fc0b0b05cebf3581557dd8
+# Source0-md5: 3505887adae710382edee90ed5538a01
 Source1:       %{name}.desktop
-Patch0:                %{name}-gcc44.patch
+Patch0:                %{name}-fontconfig.patch
 URL:           http://software.schmorp.de/
 BuildRequires: autoconf >= 2.50
 BuildRequires: fontconfig-devel
+BuildRequires: libev >= 4.0
 BuildRequires: libstdc++-devel
 BuildRequires: perl-devel
+BuildRequires: pkgconfig
+BuildRequires: rpm-perlprov
 BuildRequires: sed >= 4.0
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXft-devel
@@ -46,26 +45,23 @@ URxvt jest modyfikacją Rxvt uwzględniającą:
 %prep
 %setup -q -n rxvt-unicode-%{version}
 %patch0 -p1
-%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 \
-%endif
        --enable-everything \
        --enable-mousewheel \
        --enable-next-scroll \
        --with-term=rxvt \
+       --disable-afterimage \
        --enable-smart-resize
 
 %{__make} \
        CXXFLAGS="%{rpmcxxflags}" \
-       CFLAGS="%{rpmcxxflags}"
+       CFLAGS="%{rpmcxxflags}" \
+       LDFLAGS="%{rpmldflags} -lfontconfig"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.085847 seconds and 4 git commands to generate.