]> git.pld-linux.org Git - packages/urxvt.git/blobdiff - urxvt.spec
- kill -lnsl
[packages/urxvt.git] / urxvt.spec
index 233985b9e7970cd2956578e42360710401d243cf..d9d2a8ad95ca1b5bb7679c9ce36e6bf75d99f71f 100644 (file)
@@ -1,19 +1,20 @@
 Summary:       Rxvt terminal with unicode support and some improvements
 Summary(pl):   Terminal Rxvt z obs³ug± unicode i kilkoma usprawnieniami
 Name:          urxvt
-Version:       4.9
+Version:       5.9
 Release:       1
 Group:         X11/Applications
 License:       GPL
 Source0:       http://dist.schmorp.de/rxvt-unicode/rxvt-unicode-%{version}.tar.bz2
-# Source0-md5: cdd9e3bde4beec3242f2942911170164
+# Source0-md5: c160e8199d71324d789657c6d1092a4e
 Source1:       %{name}.desktop
-Patch0:                %{name}-libname.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)
@@ -34,11 +35,9 @@ 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}
@@ -58,7 +57,8 @@ mv -f autoconf/{configure.in,xpm.m4} .
        --enable-smart-resize \
        --enable-256-color \
        --enable-24bit
-%{__make}
+%{__make} \
+       CPPFLAGS="$CPPFLAGS %{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -81,6 +81,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc doc/menu/* Changes doc/README.*
 %attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/liburxvt.so*
 %{_desktopdir}/urxvt.desktop
 %{_mandir}/man*/*
This page took 0.067224 seconds and 4 git commands to generate.