X-Git-Url: http://git.pld-linux.org/?p=packages%2Furxvt.git;a=blobdiff_plain;f=urxvt.spec;h=5ae7d5685284e5f0a80b34b6f3923839eb4ca5cc;hp=62c7d8ebb31e7059a1e860330a6be271161e12ca;hb=943ef98a0c3206f76147d5a7a95993e870bf54b7;hpb=5104cc949ab4d95de757add132c45ea8e546ca9d diff --git a/urxvt.spec b/urxvt.spec index 62c7d8e..5ae7d56 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,19 +1,38 @@ +# TODO: utempter support +# +# Conditional build: +%bcond_without 256colors # build without 256 color support +# +%include /usr/lib/rpm/macros.perl Summary: Rxvt terminal with unicode support and some improvements -Summary(pl): Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami +Summary(pl.UTF-8): Terminal Rxvt z obsługą unicode i kilkoma usprawnieniami Name: urxvt -Version: 4.0 +Version: 9.21 Release: 1 +License: GPL v3+ Group: X11/Applications -License: GPL Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: d2a9505ab50f79e7f65bbdfe675cdd58 +# Source0-md5: a9a06c608258c5fd247c3725d8f44582 Source1: %{name}.desktop -URL: http://software.schmorp.de -BuildRequires: XFree86-devel -BuildRequires: autoconf +Patch0: %{name}-tic.patch +URL: http://software.schmorp.de/ +BuildRequires: autoconf >= 2.50 BuildRequires: automake -BuildRequires: libtool -BuildRequires: xft-devel +BuildRequires: fontconfig-devel +BuildRequires: gdk-pixbuf2-devel >= 2.0 +BuildRequires: libstdc++-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) %description @@ -22,42 +41,38 @@ URxvt is a Rxvt modification which includes: - xft font support (antialiasing) - background pixmaps - background tinting +- real transparency -%description -l pl -URxvt jest modyfikacj± Rxvt uwzglêdniaj±c±: -- obs³ugê unicode -- obs³ugê czcionek xft (antialiasing) -- mo¿liwo¶æ ustawienia grafiki jako t³a -- cieniowanie t³a +%description -l pl.UTF-8 +URxvt jest modyfikacją Rxvt uwzględniającą: +- obsługę unicode +- obsługę czcionek xft (antialiasing) +- możliwość ustawienia grafiki jako tła +- cieniowanie tła +- prawdziwą przezroczystość %prep %setup -q -n rxvt-unicode-%{version} +%patch0 -p1 %build -mv -f autoconf/{configure.in,xpm.m4} . -#CFLAGS="%{rpmcflags} -DLINUX_KEYS" -%{__libtoolize} -%{__aclocal} -I . +%{__aclocal} -I. %{__autoheader} %{__autoconf} -%{__automake} || : %configure \ +%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 + --enable-smart-resize + %{__make} %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT @@ -71,7 +86,10 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc doc/menu/* Changes doc/README.* -%attr(755,root,root) %{_bindir}/* +%doc Changes doc/README.xvt +%attr(755,root,root) %{_bindir}/urxvt* +%{_libdir}/%{name} %{_desktopdir}/urxvt.desktop -%{_mandir}/man*/* +%{_mandir}/man1/urxvt*.1* +%{_mandir}/man3/urxvtperl.3* +%{_mandir}/man7/urxvt.7*