X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=urxvt.spec;h=60caf636af311eaeca692a8d82e32a694e0ca6cd;hb=4fe41ea351e8ca8aa38be5ea035cf6e8bffad3ab;hp=c2c660bf65ad558ceb2ae96323f533f88f9fab78;hpb=39346a6d652c270f3ea69de17eb5b52526c60cff;p=packages%2Furxvt.git diff --git a/urxvt.spec b/urxvt.spec index c2c660b..60caf63 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,20 +1,30 @@ +# +# TODO: unpackaded perl stuff: +# /usr/lib/urxvt/perl/digital-clock +# /usr/lib/urxvt/perl/example-refresh-hooks +# /usr/lib/urxvt/perl/selection +# /usr/lib/urxvt/urxvt.pm +# Summary: Rxvt terminal with unicode support and some improvements Summary(pl): Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami Name: urxvt -Version: 3.5 +Version: 6.3 Release: 1 Group: X11/Applications License: GPL Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: d1b03748868e99f2524a03ea4be718d8 +# Source0-md5: 411799866fa89ab31f2b19662c36e7ce Source1: %{name}.desktop -Patch0: %{name}-nodoc.patch -URL: http://software.schmorp.de +Patch0: %{name}-link.patch +URL: http://software.schmorp.de/ BuildRequires: XFree86-devel BuildRequires: autoconf BuildRequires: automake +BuildRequires: libstdc++-devel BuildRequires: libtool +BuildRequires: sed >= 4.0 BuildRequires: xft-devel +Requires: terminfo BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -35,15 +45,17 @@ URxvt jest modyfikacj %setup -q -n rxvt-unicode-%{version} %patch0 -p1 +rm -f autoconf/libtool.m4 +ln -sf autoconf/configure.in . + %build -mv -f autoconf/{configure.in,xpm.m4} . -CFLAGS="%{rpmcflags} -DLINUX_KEYS" %{__libtoolize} -%{__aclocal} -I . +%{__aclocal} -I autoconf %{__autoheader} %{__autoconf} -%{__automake} || : %configure \ + --enable-shared \ + --disable-static \ --enable-everything \ --enable-xgetdefault \ --enable-mousewheel \ @@ -55,27 +67,30 @@ CFLAGS="%{rpmcflags} -DLINUX_KEYS" --enable-smart-resize \ --enable-256-color \ --enable-24bit -%{__make} +%{__make} \ + CXXFLAGS="%{rpmcxxflags}" \ + CFLAGS="%{rpmcxxflags}" %install rm -rf $RPM_BUILD_ROOT -install -d $RPM_BUILD_ROOT%{_mandir}/man1 +install -d $RPM_BUILD_ROOT%{_mandir}/man{1,7} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_desktopdir} install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} -install doc/rxvt.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvt.1 -install doc/rxvtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvtc.1 echo '.so urxvtc.1' >$RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.1 %clean rm -rf $RPM_BUILD_ROOT +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + %files %defattr(644,root,root,755) -%doc doc/menu/* Changes README.unicode doc/README.* doc/FAQ +%doc doc/menu/* Changes doc/README.* %attr(755,root,root) %{_bindir}/* %{_desktopdir}/urxvt.desktop -%{_mandir}/man1/* +%{_mandir}/man*/*