]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- updated to 9.12
[packages/urxvt.git] / urxvt.spec
index 221b5342759b44c8fbcd0806a1224b681c5e1587..51279f351c0e33f6a92c79e356025d3e3495a63f 100644 (file)
@@ -1,29 +1,26 @@
-# TODO:
-# - Build fails on all platforms, same error for previous TH/TI built version 9.07
-#              /usr/bin/ld: rxvtfont.o: undefined reference to symbol 'FcPatternDel'
-#              /usr/bin/ld: note: 'FcPatternDel' is defined in DSO /usr/lib64/libfontconfig.so so try adding it to the linker command line
-#              /usr/lib64/libfontconfig.so: could not read symbols: Invalid operation
+# TODO: utempter support
 #
 # Conditional build:
+%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
-Release:       0.1
+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: 3505887adae710382edee90ed5538a01
+# Source0-md5: 945af37d661c8c45a7cac292160e7c70
 Source1:       %{name}.desktop
 URL:           http://software.schmorp.de/
 BuildRequires: autoconf >= 2.50
+BuildRequires: automake
 BuildRequires: fontconfig-devel
-BuildRequires: fontconfig-libs
-BuildRequires: libev >= 4.0
+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
@@ -54,9 +51,13 @@ URxvt jest modyfikacją Rxvt uwzględniającą:
 %setup -q -n rxvt-unicode-%{version}
 
 %build
+%{__aclocal} -I.
 %{__autoheader}
 %{__autoconf}
 %configure \
+%if %{with 256colors}
+       --enable-256-color \
+%endif
        --enable-everything \
        --enable-mousewheel \
        --enable-next-scroll \
@@ -64,10 +65,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
This page took 0.084913 seconds and 4 git commands to generate.