]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- pull https://github.com/pld-linux/urxvt/pull/1 to fix broken locale with perl 5.38
[packages/urxvt.git] / urxvt.spec
index 455eca5cd072bca3a1988d627742ff2d0c1887b8..a485a66d4d8e12befb6848a17dcb78ce08139569 100644 (file)
@@ -1,30 +1,37 @@
+# TODO: utempter support
 #
 # Conditional build:
+%bcond_without 256colors       # build without 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
-Release:       2
-License:       GPL v2+
+Version:       9.31
+Release:       3
+License:       GPL v3+
 Group:         X11/Applications
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: 49bb52c99e002bf85eb41d8385d903b5
+# Source0-md5: 3d0ec83705c9b9ff301a4b9965b3cd9f
 Source1:       %{name}.desktop
+Patch0:                broken-perl-5.38.patch
 URL:           http://software.schmorp.de/
-BuildRequires: autoconf >= 2.50
+BuildRequires: autoconf >= 2.71
+BuildRequires: automake
 BuildRequires: fontconfig-devel
+BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: libptytty-devel
 BuildRequires: libstdc++-devel
-BuildRequires: perl-devel
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov
+BuildRequires: rpmbuild(macros) >= 1.745
 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: zlib-devel
+BuildRequires: xorg-lib-libXmu-devel
+BuildRequires: xorg-lib-libXrender-devel
 Requires:      terminfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,27 +53,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
+%patch0 -p1
 
 %build
+%{__aclocal} -I.
 %{__autoheader}
 %{__autoconf}
 %configure \
 %if %{with 256colors}
-       --enable-xterm-colors=256 \
+       --enable-256-color \
 %endif
        --enable-everything \
        --enable-mousewheel \
        --enable-next-scroll \
-       --with-term=rxvt \
-       --disable-afterimage \
-       --enable-smart-resize
+       --enable-smart-resize \
+       --with-term=rxvt
 
-%{__make} \
-       CXXFLAGS="%{rpmcxxflags}" \
-       CFLAGS="%{rpmcxxflags}"
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -84,9 +87,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc Changes doc/README.xvt
+%attr(755,root,root) %{_bindir}/urclock
 %attr(755,root,root) %{_bindir}/urxvt*
 %{_libdir}/%{name}
 %{_desktopdir}/urxvt.desktop
+%{_mandir}/man1/urclock.1*
 %{_mandir}/man1/urxvt*.1*
 %{_mandir}/man3/urxvtperl.3*
 %{_mandir}/man7/urxvt.7*
This page took 0.032659 seconds and 4 git commands to generate.