X-Git-Url: http://git.pld-linux.org/?p=packages%2Furxvt.git;a=blobdiff_plain;f=urxvt.spec;h=5bd9ef234fb9b11b0c2f11cc749664bc3cb4ac23;hp=b128df8dac856c730cfcfa0837cc28fd048ab084;hb=dbb4c913a77cf343a78f2ce77cccf9e12a02d808;hpb=66672474771fc7e238fa76330ddae9d97be1d3ef diff --git a/urxvt.spec b/urxvt.spec index b128df8..5bd9ef2 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,71 +1,75 @@ -Summary: urxvt - terminal emulator in an X window -Summary(pl): Emulator terminala dla X Window +# 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: 3.1 +Version: 9.19 Release: 1 +License: GPL v2+ Group: X11/Applications -License: GPL Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: 72695ff1beb8d95e6b72c645b1079461 +# Source0-md5: 45ad197eb9b5a840c0f65e3a8131921c Source1: %{name}.desktop -Patch0: rxvt-utmp98.patch -Patch1: rxvt-utmp98-2.patch -Patch2: rxvt-xim.patch -Patch3: rxvt-utmpx.patch -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: utempter-devel -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 -Rxvt is a VT100 terminal emulator for X. It is intended as a -replacement for xterm(1) for users who do not require the more -esoteric features of xterm. Specifically urxvt does not implement the -Tektronix 4014 emulation, session logging and toolkit style -configurability. As a result, urxvt uses much less swap space than -xterm - a significant advantage on a machine serving many X sessions. +URxvt is a Rxvt modification which includes: +- unicode support +- xft font support (antialiasing) +- background pixmaps +- background tinting +- real transparency -%description -l pl -Rxvt jest emulatorem terminala VT100 dla X Window. Jest on -interesuj±cym zamiennikiem dla programu xterm(1) dla u¿ytkowników, -którzy nie potrzebuj± bardziej wyszukanych mo¿liwo¶ci xterma jak -emulacja terminala Tektronix 4014, logowanie sesji czy pewne -mo¿liwo¶ci konfiguracyjnye na poziomie X toolkit. Rezygnacja z tych -mo¿liwo¶ci zaowocowa³a tym, ¿e urxvt potrzebuje o wiele mniej pamiêci -do uruchomienia. +%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 -#%patch1 -p1 -#%patch2 -p1 -#%patch3 -p1 +%patch0 -p1 %build -mv -f autoconf/{configure.in,xpm.m4} . -CFLAGS="%{rpmcflags} -DLINUX_KEYS" -%{__libtoolize} -%{__aclocal} -I . +%{__aclocal} -I. %{__autoheader} %{__autoconf} -%{__automake} || : %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=urxvt \ - --enable-half-shadow \ - --enable-smart-resize \ - --enable-256-color + --with-term=rxvt \ + --disable-afterimage \ + --enable-smart-resize + %{__make} %install @@ -76,13 +80,17 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} +echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc doc/menu/* ChangeLog -%attr(755,root,root) %{_bindir}/* +%doc Changes doc/README.xvt +%attr(755,root,root) %{_bindir}/urxvt* +%{_libdir}/%{name} %{_desktopdir}/urxvt.desktop -%{_mandir}/man1/* +%{_mandir}/man1/urxvt*.1* +%{_mandir}/man3/urxvtperl.3* +%{_mandir}/man7/urxvt.7*