at-poke.spec
author dcarbery
Fri, 24 Nov 2006 16:37:59 +0000
branch217update
changeset 19096 d542fc2c823e
parent 8574 14e0002e1ae5
child 8836 c80e3fc47677
permissions -rw-r--r--
Merged trunk changes r9797:9829 into 217update branch.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     1
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     2
# spec file for package at-poke
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     3
#
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     4
# Copyright (c) 2005 Sun Microsystems, Inc.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     5
# This file and all modifications and additions to the pristine
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     6
# package are under the same license as the package itself.
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
     7
#
8529
ace8e9b8a2b7 Add random spec file owners.
laca
parents: 7954
diff changeset
     8
# Owner: padraig
ace8e9b8a2b7 Add random spec file owners.
laca
parents: 7954
diff changeset
     9
#
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    10
Name:         at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    11
License:      LGPL
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    12
Group:        System/Libraries/GNOME
6920
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    13
Version:      0.2.3
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    14
Release:      40
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    15
Distribution: Java Desktop System
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    16
Vendor:       Sun Microsystems, Inc.
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    17
Summary:      Tool to poke around accessibility infrastructure
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    18
Source:       http://ftp.gnome.org/pub/GNOME/sources/at-poke/0.2/%{name}-%{version}.tar.bz2
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    19
Source1:      at-poke.1.gz
8574
14e0002e1ae5 2006-11-16 Padraig O'Briain <[email protected]>
padraig
parents: 8572
diff changeset
    20
#owner:padraig date:2006-04-18 type:bug bugster:6413890 bugzilla:338755
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    21
Patch1:       at-poke-01-crash.diff
8574
14e0002e1ae5 2006-11-16 Padraig O'Briain <[email protected]>
padraig
parents: 8572
diff changeset
    22
#owner:padraig date:2006-08-21 type:branding bugster:none
7954
0ba44dc74c86 2006-08-22 Brian Cameron <[email protected]>
bc99092
parents: 7078
diff changeset
    23
Patch2:       at-poke-02-fixdemo.diff
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    24
URL:          http://developer.gnome.org/projects/gap
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    25
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    26
Docdir:       %{_defaultdocdir}/doc
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    27
Autoreqprov:  on
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    28
Prereq:       /sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    29
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    30
%define libgnomeui_version 2.4.0.1
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    31
%define gtk2_version 2.2.4
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    32
%define atk_version 1.4.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    33
%define at_spi_version 1.1.8
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    34
%define libgail_gnome_version 1.0.2
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    35
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    36
# Requirements: libgail-gnome libglade-2.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    37
BuildRequires: gtk2-devel >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    38
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    39
BuildRequires: at-spi-devel >= %{at_spi_version}
2035
02f0a3709e34 Add libgail-gnome as build requirement.
dc144907
parents: 2027
diff changeset
    40
BuildRequires: libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    41
Requires:      atk >= %{atk_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    42
Requires:      gtk2 >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    43
Requires:      libgnomeui >= %{libgnomeui_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    44
Requires:      at-spi >= %{at_spi_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    45
Requires:      libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    46
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    47
%description
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    48
at-poke is a tool that allows one to examine the widigts from an accessibility perspective.
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    49
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    50
%prep
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    51
%setup -q 
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    52
%patch1 -p1
7954
0ba44dc74c86 2006-08-22 Brian Cameron <[email protected]>
bc99092
parents: 7078
diff changeset
    53
%patch2 -p1
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    54
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    55
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    56
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    61
  CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    62
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    63
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    64
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    65
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    66
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    67
./configure --prefix=%{_prefix}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    68
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    69
make -j $CPUS
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    70
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    71
%install
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    72
make DESTDIR=$RPM_BUILD_ROOT install
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    73
install -d $RPM_BUILD_ROOT%{_mandir}/man1
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    74
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    75
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    76
%clean
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    77
rm -rf $RPM_BUILD_ROOT
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    78
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    79
%post 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    80
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    81
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    82
%postun 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    83
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    84
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    85
%files
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    86
%defattr(-,root,root)
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    87
%{_bindir}/at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    88
%{_datadir}/at-poke/at-poke.glade2
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    89
%{_mandir}/man1/*
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    90
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    91
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    92
%changelog
7954
0ba44dc74c86 2006-08-22 Brian Cameron <[email protected]>
bc99092
parents: 7078
diff changeset
    93
* Mon Aug 21 2006 - [email protected]
0ba44dc74c86 2006-08-22 Brian Cameron <[email protected]>
bc99092
parents: 7078
diff changeset
    94
- Fix location of gtk-demo so at-poke can launch it.
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    95
* Tue Apr 18 2006 - [email protected]
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    96
- Add patch at-poke-01-crash.diff for bug 6413890
6920
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    97
* Mon Mar 13 2006 - [email protected]
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    98
- Bump to 0.2.3.
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    99
* Thu Oct 28 2004 - [email protected]
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
   100
- Add at-poke.1 manpage
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
   101
* Wed Aug 18 2004 - [email protected]
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
   102
- removed --disable-gtk-doc since this isn't an option this module's
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
   103
  configure takes.
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   104
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   105
- added "-j $CPUS" to make to speed up builds
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
   106
* Wed Feb 25 2004 - [email protected]
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
   107
- Initial release version for at-poke