gnome-terminal.spec revision 12079
0N/A#
1499N/A# spec file for package gnome-terminal
0N/A#
0N/A# Copyright (c) 2005 Sun Microsystems, Inc.
0N/A# This file and all modifications and additions to the pristine
0N/A# package are under the same license as the package itself.
0N/A#
0N/A# Owner: yippi
0N/A#
0N/A%include l10n.inc
0N/AName: gnome-terminal
0N/ALicense: GPL
0N/AGroup: System/GUI/GNOME
0N/AVersion: 2.21.3
0N/ARelease: 1
0N/ADistribution: Java Desktop System
0N/AVendor: Sun Microsystems, Inc.
0N/ASummary: GNOME Terminal
1472N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.21/%{name}-%{version}.tar.bz2
1472N/ASource1: %{name}-po-sun-%{po_sun_version}.tar.bz2
1472N/A#owner:yippi date:2006-05-04 type:branding
0N/APatch1: gnome-terminal-01-menu-entry.diff
0N/AURL: http://www.gnome.org
0N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
1879N/ADocdir: %{_defaultdocdir}/%{name}
1879N/AAutoreqprov: on
1879N/APrereq: GConf
1879N/A
1879N/A%define libglade_version 2.6.0
1879N/A%define libgnomeui_version 2.4.0
1879N/A%define vte_version 0.13.3
0N/A%define startup_notification_version 0.5
0N/A%define scrollkeeper_version 0.3.12
0N/A
726N/ABuildRequires: libglade-devel >= %{libglade_version}
0N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
726N/ABuildRequires: vte-devel >= %{vte_version}
726N/ABuildRequires: startup-notification-devel >= %{startup_notification_version}
726N/ABuildRequires: scrollkeeper >= %{scrollkeeper_version}
726N/ARequires: libglade >= %{libglade_version}
726N/ARequires: libgnomeui >= %{libgnomeui_version}
3932N/ARequires: vte >= %{vte_version}
726N/ARequires: startup-notification >= %{startup_notification_version}
726N/A
726N/A%description
726N/AGNOME Terminal application, which uses the VTE terminal emulation widget.
726N/A
726N/A%prep
726N/A%setup -q
726N/A%if %build_l10n
726N/Abzcat %SOURCE1 | tar xf -
726N/Acd po-sun; make; cd ..
726N/A%endif
1059N/A%patch1 -p1
726N/A
726N/A# dos2unix to fix 400207.
726N/Ados2unix -ascii po/be.po po/be.po
726N/A
726N/A%build
726N/A%ifos linux
1059N/Aif [ -x /usr/bin/getconf ]; then
1059N/A CPUS=`getconf _NPROCESSORS_ONLN`
1059N/Afi
1059N/A%else
1059N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
726N/A%endif
1580N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
1580N/A CPUS=1
1580N/Afi
1580N/A
1580N/Aintltoolize --force --copy --automake
1580N/Alibtoolize --force
1580N/Aaclocal $ACLOCAL_FLAGS
1580N/Aautomake -a -c -f
1580N/Aautoconf
1580N/A
1580N/ACFLAGS="$RPM_OPT_FLAGS" \
1580N/A./configure --prefix=%{_prefix} \
1580N/A --sysconfdir=%{_sysconfdir} \
1580N/A --disable-scrollkeeper
1580N/Amake -j $CPUS
Error!

 

There was an error!

null

java.lang.NullPointerException