]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- up to 9.19
[packages/urxvt.git] / urxvt.spec
index d51197b70c3b704812ca45b190ff740276f02d40..5bd9ef234fb9b11b0c2f11cc749664bc3cb4ac23 100644 (file)
@@ -1,23 +1,36 @@
+# 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:       8.9
-Release:       2
+Version:       9.19
+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: 45ad197eb9b5a840c0f65e3a8131921c
 Source1:       %{name}.desktop
+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)
@@ -40,28 +53,24 @@ URxvt jest modyfikacją Rxvt uwzględniającą:
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
+%patch0 -p1
 
 %build
+%{__aclocal} -I.
 %{__autoheader}
 %{__autoconf}
 %configure \
-       --enable-shared \
-       --disable-static \
+%if %{with 256colors}
+       --enable-256-color \
+%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}" \
-       CFLAGS="%{rpmcxxflags}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.0740189999999999 seconds and 4 git commands to generate.