at-poke.spec
author dermotm
Mon, 01 Nov 2004 10:56:45 +0000
changeset 4409 4fec71e58697
parent 4357 2474a25f2946
child 4455 aea26bce3124
permissions -rw-r--r--
Incremented release numbers for build 22
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     1
Name:         at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     2
License:      LGPL
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     3
Group:        System/Libraries/GNOME
2202
eb1fd076c179 2004-03-15 Padraig O'Briain <[email protected]>
padraigo
parents: 2159
diff changeset
     4
Version:      0.2.2
4409
4fec71e58697 Incremented release numbers for build 22
dermotm
parents: 4357
diff changeset
     5
Release:      22
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     6
Distribution: Cinnabar 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     7
Vendor:       Sun Microsystems, Inc.
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     8
Summary:      Tool to poke around accessibility infrastructure
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
     9
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
    10
Source1:      at-poke.1.gz
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    11
URL:          http://developer.gnome.org/projects/gap
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    12
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    13
Docdir:       %{_defaultdocdir}/doc
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    14
Autoreqprov:  on
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    15
Prereq:       /sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    16
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    17
%define libgnomeui_version 2.4.0.1
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    18
%define gtk2_version 2.2.4
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    19
%define atk_version 1.4.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    20
%define at_spi_version 1.1.8
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    21
%define libgail_gnome_version 1.0.2
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    22
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    23
# Requirements: libgail-gnome libglade-2.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    24
BuildRequires: gtk2-devel >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    25
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    26
BuildRequires: at-spi-devel >= %{at_spi_version}
2035
02f0a3709e34 Add libgail-gnome as build requirement.
dc144907
parents: 2027
diff changeset
    27
BuildRequires: libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    28
Requires:      atk >= %{atk_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    29
Requires:      gtk2 >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    30
Requires:      libgnomeui >= %{libgnomeui_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    31
Requires:      at-spi >= %{at_spi_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    32
Requires:      libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    33
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    34
%description
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    35
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
    36
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    37
%prep
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    38
%setup -q 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    39
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    40
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    41
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    42
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    43
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    44
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    45
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    46
  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
    47
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    49
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    50
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    52
./configure --prefix=%{_prefix}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    53
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
make -j $CPUS
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    55
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    56
%install
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    57
make DESTDIR=$RPM_BUILD_ROOT install
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    58
install -d $RPM_BUILD_ROOT%{_mandir}/man1
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    59
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    60
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    61
%clean
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    62
rm -rf $RPM_BUILD_ROOT
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    63
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    64
%post 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    65
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    66
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    67
%postun 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    68
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    69
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    70
%files
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    71
%defattr(-,root,root)
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    72
%{_bindir}/at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    73
%{_datadir}/at-poke/at-poke.glade2
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    74
%{_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
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    77
%changelog
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    78
* Thu Oct 28 2004 - [email protected]
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    79
- Add at-poke.1 manpage
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    80
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    81
* Wed Aug 18 2004 - [email protected]
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    82
- 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
    83
  configure takes.
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    84
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    85
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    86
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    87
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    88
* Wed Feb 25 2004 - [email protected]
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    89
- Initial release version for at-poke