at-poke.spec
author padraigo
Tue, 18 Apr 2006 08:13:55 +0000
changeset 7078 ef4b06a493e5
parent 6920 8a1f0dcb9c72
child 7954 0ba44dc74c86
permissions -rw-r--r--
2006-04-18 Padraig O'Briain <[email protected]> * at-poke.spec: Add reference to patch at-poke-01-crash.diff * at-poke-01-crash.diff: Patch to fix bug 6413890.
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
#
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     8
Name:         at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     9
License:      LGPL
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    10
Group:        System/Libraries/GNOME
6920
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    11
Version:      0.2.3
5518
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    12
Release:      40
235b0b4aa324 merged the gnome-2-10 branch to HEAD
laca
parents: 5517
diff changeset
    13
Distribution: Java Desktop System
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    14
Vendor:       Sun Microsystems, Inc.
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    15
Summary:      Tool to poke around accessibility infrastructure
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    16
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
    17
Source1:      at-poke.1.gz
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    18
Patch1:       at-poke-01-crash.diff
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    19
URL:          http://developer.gnome.org/projects/gap
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    20
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    21
Docdir:       %{_defaultdocdir}/doc
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    22
Autoreqprov:  on
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    23
Prereq:       /sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    24
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    25
%define libgnomeui_version 2.4.0.1
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    26
%define gtk2_version 2.2.4
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    27
%define atk_version 1.4.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    28
%define at_spi_version 1.1.8
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    29
%define libgail_gnome_version 1.0.2
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    30
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    31
# Requirements: libgail-gnome libglade-2.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    32
BuildRequires: gtk2-devel >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    33
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    34
BuildRequires: at-spi-devel >= %{at_spi_version}
2035
02f0a3709e34 Add libgail-gnome as build requirement.
dc144907
parents: 2027
diff changeset
    35
BuildRequires: libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    36
Requires:      atk >= %{atk_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    37
Requires:      gtk2 >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    38
Requires:      libgnomeui >= %{libgnomeui_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    39
Requires:      at-spi >= %{at_spi_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    40
Requires:      libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    41
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    42
%description
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    43
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
    44
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    45
%prep
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    46
%setup -q 
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    47
%patch1 -p1
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    48
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    49
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    50
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    55
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    56
  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
    57
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    58
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    59
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    60
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    61
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    62
./configure --prefix=%{_prefix}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    63
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    64
make -j $CPUS
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    65
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    66
%install
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    67
make DESTDIR=$RPM_BUILD_ROOT install
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    68
install -d $RPM_BUILD_ROOT%{_mandir}/man1
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    69
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
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
%clean
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    72
rm -rf $RPM_BUILD_ROOT
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    73
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    74
%post 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    75
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    76
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    77
%postun 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    78
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    79
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    80
%files
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    81
%defattr(-,root,root)
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    82
%{_bindir}/at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    83
%{_datadir}/at-poke/at-poke.glade2
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    84
%{_mandir}/man1/*
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    85
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    86
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    87
%changelog
7078
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    88
* Tue Apr 18 2006 - [email protected]
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    89
- Add patch at-poke-01-crash.diff for bug 6413890
ef4b06a493e5 2006-04-18 Padraig O'Briain <[email protected]>
padraigo
parents: 6920
diff changeset
    90
6920
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    91
* Mon Mar 13 2006 - [email protected]
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    92
- Bump to 0.2.3.
8a1f0dcb9c72 2006-03-13 Damien Carbery <[email protected]>
dc144907
parents: 5518
diff changeset
    93
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    94
* Thu Oct 28 2004 - [email protected]
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    95
- Add at-poke.1 manpage
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    96
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    97
* Wed Aug 18 2004 - [email protected]
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    98
- 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
    99
  configure takes.
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
   100
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   101
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   102
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
   103
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
   104
* Wed Feb 25 2004 - [email protected]
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
   105
- Initial release version for at-poke