at-poke.spec
author dermotm
Mon, 23 May 2005 09:34:35 +0000
changeset 5460 54346da409d4
parent 5414 219255e89582
child 5484 b4c330e76240
permissions -rw-r--r--
Incremented release numbers for build 36
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
5460
54346da409d4 Incremented release numbers for build 36
dermotm
parents: 5414
diff changeset
     5
Release:      36
4867
e8cfe7e64783 *.spec (almost): update Vendor and Distribution tags
dermotm
parents: 4860
diff changeset
     6
Distribution: Java Desktop System, Release 3
2006
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
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    11
Source2:      l10n-configure.sh
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    12
URL:          http://developer.gnome.org/projects/gap
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    13
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    14
Docdir:       %{_defaultdocdir}/doc
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    15
Autoreqprov:  on
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    16
Prereq:       /sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    17
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    18
%define libgnomeui_version 2.4.0.1
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    19
%define gtk2_version 2.2.4
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    20
%define atk_version 1.4.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    21
%define at_spi_version 1.1.8
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    22
%define libgail_gnome_version 1.0.2
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    23
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    24
# Requirements: libgail-gnome libglade-2.0
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    25
BuildRequires: gtk2-devel >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    26
BuildRequires: libgnomeui-devel >= %{libgnomeui_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    27
BuildRequires: at-spi-devel >= %{at_spi_version}
2035
02f0a3709e34 Add libgail-gnome as build requirement.
dc144907
parents: 2027
diff changeset
    28
BuildRequires: libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    29
Requires:      atk >= %{atk_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    30
Requires:      gtk2 >= %{gtk2_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    31
Requires:      libgnomeui >= %{libgnomeui_version}
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    32
Requires:      at-spi >= %{at_spi_version}
2027
c05294e22973 2004-02-26 Laszlo Peter <[email protected]>
laca
parents: 2006
diff changeset
    33
Requires:      libgail-gnome >= %{libgail_gnome_version}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    34
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    35
%description
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    36
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
    37
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    38
%prep
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    39
%setup -q 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    40
4455
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    41
bash -x %SOURCE2
aea26bce3124 2004-11-05 Takao Fujiwara <[email protected]>
fujiwara
parents: 4409
diff changeset
    42
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    43
%build
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    44
%ifos linux
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    45
if [ -x /usr/bin/getconf ]; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    46
  CPUS=`getconf _NPROCESSORS_ONLN`
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    47
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    48
%else
3846
9ab79af72b15 2004-09-05 Laszlo Peter <[email protected]>
laca
parents: 3679
diff changeset
    49
  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
    50
%endif
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    51
if test "x$CPUS" = "x" -o $CPUS = 0; then
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    52
  CPUS=1
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    53
fi
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    54
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    55
./configure --prefix=%{_prefix}
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    56
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    57
make -j $CPUS
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    58
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    59
%install
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    60
make DESTDIR=$RPM_BUILD_ROOT install
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    61
install -d $RPM_BUILD_ROOT%{_mandir}/man1
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    62
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    63
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    64
%clean
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    65
rm -rf $RPM_BUILD_ROOT
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    66
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    67
%post 
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
%postun 
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    71
/sbin/ldconfig
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    72
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    73
%files
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    74
%defattr(-,root,root)
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    75
%{_bindir}/at-poke
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    76
%{_datadir}/at-poke/at-poke.glade2
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    77
%{_mandir}/man1/*
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    78
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    79
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    80
%changelog
4357
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    81
* Thu Oct 28 2004 - [email protected]
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    82
- Add at-poke.1 manpage
2474a25f2946 Cinnabar Manpage Delivery... phew
mattk
parents: 4276
diff changeset
    83
3662
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    84
* Wed Aug 18 2004 - [email protected]
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    85
- 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
    86
  configure takes.
9a0f94df5218 2004-08-20 Brian Cameron <[email protected]>
bc99092
parents: 3519
diff changeset
    87
3263
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    88
* Wed Jul 07 2004 - [email protected]
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    89
- added "-j $CPUS" to make to speed up builds
3c14210c0b99 add -j to make to speed up build
dermotm
parents: 3224
diff changeset
    90
2006
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    91
* Wed Feb 25 2004 - [email protected]
a9557990edef Tool to poke around accessibility infrastructure.
dc144907
parents:
diff changeset
    92
- Initial release version for at-poke