gtkperf.spec
author hh150184
Tue, 24 Jan 2006 11:56:37 +0000
branchgnome-2-12
changeset 19207 b59a653a3329
parent 6306 bd43732ccff2
child 6923 45fbffcf5f44
permissions -rw-r--r--
* evolution-jescs.spec: Bump to 2.4.4, Remove unused define evolution_imagesdir and evolution_libsdir, Remove hard code 1.2, 2.4. * Solaris/SUNWevolution-jescs.spec: Remove *.la under /usr/lib when install, s/evolution-data-server-1.2/evolution-data-server-*/g.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6165
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     1
#
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     2
# spec file for package gtkperf
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     3
#
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     5
# This file and all modifications and additions to the pristine
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     6
# package are under the same license as the package itself.
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     7
#
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     8
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
     9
Name:         gtkperf
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    10
License:      GPL
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    11
Group:        System/GUI/GNOME
6306
bd43732ccff2 * gtkperf.spec: Bump to 0.40. Remove upstream patch.
dc144907
parents: 6165
diff changeset
    12
Version:      0.40
6165
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    13
Release:      1
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    14
Distribution: Java Desktop System
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    15
Vendor:	      Sun Microsystems, Inc.
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    16
Summary:      GTK+ performance testing tool
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    17
Source:       http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}_%{version}.tar.gz
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    18
URL:          http://sourceforge.net/projects/gtkperf
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    19
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    20
Autoreqprov:  on
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    21
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    22
%define gtk2_version 2.5.3
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    23
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    24
Requires: gtk2 >= %{gtk2_version}
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    25
BuildRequires: gtk2-devel >= %{gtk2_version}
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    26
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    27
%description
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    28
GTK+ performance testing tool. It is meant for measuring perfomance of
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    29
different widgets and themes. Can be also used to find out ways of
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    30
improving GTK+ application-level performance.
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    31
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    32
%prep
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    33
%setup -q -n %name
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    34
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    35
%build
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    36
%ifos linux
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    37
if [ -x /usr/bin/getconf ]; then
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    38
  CPUS=`getconf _NPROCESSORS_ONLN`
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    39
fi
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    40
%else
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    41
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    42
%endif
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    43
if test "x$CPUS" = "x" -o $CPUS = 0; then
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    44
  CPUS=1
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    45
fi
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    46
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    47
./configure \
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    48
    --prefix=%{_prefix} \
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    49
    --sysconfdir=%{_sysconfdir} \
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    50
    --libexecdir=%{_libexecdir} \
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    51
    --localstatedir=/var/lib	\
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    52
    --disable-nls
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    53
make -j $CPUS
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    54
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    55
%install
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    56
make install DESTDIR=$RPM_BUILD_ROOT
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    57
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    58
%clean
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    59
rm -rf $RPM_BUILD_ROOT
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    60
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    61
%files
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    62
%defattr (-, root, root)
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    63
%{_bindir}/*
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    64
%{_datadir}/*
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    65
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    66
%changelog
6306
bd43732ccff2 * gtkperf.spec: Bump to 0.40. Remove upstream patch.
dc144907
parents: 6165
diff changeset
    67
* Wed Nov 30 2005 - [email protected]
bd43732ccff2 * gtkperf.spec: Bump to 0.40. Remove upstream patch.
dc144907
parents: 6165
diff changeset
    68
- Bump to 0.40. Remove upstream patch.
bd43732ccff2 * gtkperf.spec: Bump to 0.40. Remove upstream patch.
dc144907
parents: 6165
diff changeset
    69
6165
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    70
* Mon Oct 24 2005 - [email protected]
389c1d72c7e6 * gtkperf.spec: Added. GTK+ performance testing tool.
dc144907
parents:
diff changeset
    71
- Initial Sun release.