From: filon Date: Fri, 8 Feb 2002 10:04:12 +0000 (+0000) Subject: - added conditonal _with_gcc3 for building with gcc3 X-Git-Tag: RA-1_0~17 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fblackbox.git;a=commitdiff_plain;h=fe6df00784e6eae1c963da2436cf2aaaede5f61b - added conditonal _with_gcc3 for building with gcc3 - cleaned up CXX stuff, release 3 Changed files: blackbox.spec -> 1.53 --- diff --git a/blackbox.spec b/blackbox.spec index 4557030..d37e19e 100644 --- a/blackbox.spec +++ b/blackbox.spec @@ -1,8 +1,10 @@ +# _with_gcc3: budowanie z gcc3 + Summary: Very small and fast window manger for the X Window Summary(pl): Ma³y i szybki menad¿er okien dla X Window Name: blackbox Version: 0.62.1 -Release: 2 +Release: 3 License: GPL Group: X11/Window Managers Group(de): X11/Fenstermanager @@ -23,6 +25,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _mandir %{_prefix}/man %define _sysconfdir /etc/X11/%{name} +%{?_with_gcc3:%define __cxx "%{__cc} -lstdc++"} +%{!?_with_gcc3:%define __cxx "%{__cc}"} + %description Blackbox is a window manager for the X Window environment, which is almost completely compliant with ICCCM specified operation policies. @@ -47,7 +52,7 @@ aclocal autoconf automake -a -c %configure -%{__make} CXX=%{?__cxx:"%{__cxx}"}%{!?__cxx:"g++"} +%{__make} %install rm -rf $RPM_BUILD_ROOT