]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- updated to ver. 5.3 (fixed Long Escape Sequence Buffer Overflow)
[packages/urxvt.git] / urxvt.spec
index 9ea1707a6fbc558e3fbfe2a787c82834b0b90180..1d055f20727d76acb10f072b57f9b6363f8cd840 100644 (file)
@@ -1,20 +1,21 @@
 Summary:       Rxvt terminal with unicode support and some improvements
 Summary(pl):   Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
 Name:          urxvt
-Version:       3.3
+Version:       5.3
 Release:       1
 Group:         X11/Applications
 License:       GPL
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: d6f784bf79d0657cc17f5b0e04e4ebcf
+# Source0-md5: 1a5372a40d728c8a50e059b5d826490e
 Source1:       %{name}.desktop
-Patch0:                %{name}-nodoc.patch
+Patch0:                %{name}-libname.patch
 URL:           http://software.schmorp.de
 BuildRequires: XFree86-devel
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
 BuildRequires: xft-devel
+Requires:      terminfo
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,17 +34,19 @@ URxvt jest modyfikacj
 
 %prep
 %setup -q -n rxvt-unicode-%{version}
-%patch0 -p1
+#%patch0 -p1 
 
 %build
 mv -f autoconf/{configure.in,xpm.m4} .
-CFLAGS="%{rpmcflags} -DLINUX_KEYS"
+#CFLAGS="%{rpmcflags} -DLINUX_KEYS"
 %{__libtoolize}
 %{__aclocal} -I .
 %{__autoheader}
 %{__autoconf}
 %{__automake} || :
 %configure \
+       --enable-shared \
+       --disable-static \
        --enable-everything \
        --enable-xgetdefault \
        --enable-mousewheel \
@@ -59,23 +62,24 @@ CFLAGS="%{rpmcflags} -DLINUX_KEYS"
 
 %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*/*
This page took 0.031351 seconds and 4 git commands to generate.