]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- BR: pkgconfig, rpm-perlprov
[packages/urxvt.git] / urxvt.spec
index e915677433e76d0a8dd4f1e09f944c1e721dbdfc..e5f2ee7d5dbd4c0a2a1caf6ab8aba79029805e9d 100644 (file)
@@ -1,19 +1,25 @@
+#
+# 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:       8.9
+Version:       9.07
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: 033dc1ee5f48a645c0042fa214ae2b5c
+# Source0-md5: 49bb52c99e002bf85eb41d8385d903b5
 Source1:       %{name}.desktop
 URL:           http://software.schmorp.de/
 BuildRequires: autoconf >= 2.50
 BuildRequires: fontconfig-devel
 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
@@ -40,24 +46,23 @@ 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
 %{__autoheader}
 %{__autoconf}
 %configure \
-       --enable-shared \
-       --disable-static \
+%if %{with 256colors}
+       --enable-xterm-colors=256 \
+%endif
        --enable-everything \
-       --enable-xgetdefault \
        --enable-mousewheel \
-       --disable-menubar \
        --enable-next-scroll \
-       --enable-ttygid \
        --with-term=rxvt \
-       --enable-half-shadow \
-       --enable-smart-resize \
-       --enable-256-color \
-       --enable-24bit
+       --disable-afterimage \
+       --enable-smart-resize
 
 %{__make} \
        CXXFLAGS="%{rpmcxxflags}" \
This page took 0.060971 seconds and 4 git commands to generate.