X-Git-Url: http://git.pld-linux.org/?p=packages%2Furxvt.git;a=blobdiff_plain;f=urxvt.spec;h=d9d2a8ad95ca1b5bb7679c9ce36e6bf75d99f71f;hp=007ba15f65cbbc546152a4d47932eb50258fba68;hb=a7c8109bb176d65c40d8c347a906fcf740ba91a3;hpb=3c5d1f97ed6095930a501028342588cdc5e9f4f7 diff --git a/urxvt.spec b/urxvt.spec index 007ba15..d9d2a8a 100644 --- a/urxvt.spec +++ b/urxvt.spec @@ -1,20 +1,22 @@ Summary: Rxvt terminal with unicode support and some improvements Summary(pl): Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami Name: urxvt -Version: 3.1 +Version: 5.9 Release: 1 Group: X11/Applications License: GPL Source0: http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2 -# Source0-md5: 72695ff1beb8d95e6b72c645b1079461 +# Source0-md5: c160e8199d71324d789657c6d1092a4e Source1: %{name}.desktop -Patch0: %{name}-nodoc.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 @@ -33,17 +35,17 @@ URxvt jest modyfikacj %prep %setup -q -n rxvt-unicode-%{version} -%patch0 -p1 - +sed -i -e 's|-O3||' autoconf/configure.in %build mv -f autoconf/{configure.in,xpm.m4} . -CFLAGS="%{rpmcflags} -DLINUX_KEYS" %{__libtoolize} %{__aclocal} -I . %{__autoheader} %{__autoconf} %{__automake} || : %configure \ + --enable-shared \ + --disable-static \ --enable-everything \ --enable-xgetdefault \ --enable-mousewheel \ @@ -55,27 +57,29 @@ CFLAGS="%{rpmcflags} -DLINUX_KEYS" --enable-smart-resize \ --enable-256-color \ --enable-24bit -%{__make} +%{__make} \ + CPPFLAGS="$CPPFLAGS %{rpmcflags}" %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 -ln -s urxvtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/urxvtd.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*/*