author | dermotm |
Mon, 23 May 2005 09:34:35 +0000 | |
changeset 5460 | 54346da409d4 |
parent 5414 | 219255e89582 |
child 5484 | b4c330e76240 |
permissions | -rw-r--r-- |
2006 | 1 |
Name: at-poke |
2 |
License: LGPL |
|
3 |
Group: System/Libraries/GNOME |
|
2202 | 4 |
Version: 0.2.2 |
5460 | 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 | 7 |
Vendor: Sun Microsystems, Inc. |
8 |
Summary: Tool to poke around accessibility infrastructure |
|
9 |
Source: http://ftp.gnome.org/pub/GNOME/sources/at-poke/0.2/%{name}-%{version}.tar.bz2 |
|
4357 | 10 |
Source1: at-poke.1.gz |
4455 | 11 |
Source2: l10n-configure.sh |
2006 | 12 |
URL: http://developer.gnome.org/projects/gap |
13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
14 |
Docdir: %{_defaultdocdir}/doc |
|
15 |
Autoreqprov: on |
|
16 |
Prereq: /sbin/ldconfig |
|
17 |
||
18 |
%define libgnomeui_version 2.4.0.1 |
|
19 |
%define gtk2_version 2.2.4 |
|
20 |
%define atk_version 1.4.0 |
|
21 |
%define at_spi_version 1.1.8 |
|
2027 | 22 |
%define libgail_gnome_version 1.0.2 |
2006 | 23 |
|
24 |
# Requirements: libgail-gnome libglade-2.0 |
|
25 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
26 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
2027 | 27 |
BuildRequires: at-spi-devel >= %{at_spi_version} |
2035 | 28 |
BuildRequires: libgail-gnome >= %{libgail_gnome_version} |
2006 | 29 |
Requires: atk >= %{atk_version} |
30 |
Requires: gtk2 >= %{gtk2_version} |
|
31 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
32 |
Requires: at-spi >= %{at_spi_version} |
|
2027 | 33 |
Requires: libgail-gnome >= %{libgail_gnome_version} |
2006 | 34 |
|
35 |
%description |
|
36 |
at-poke is a tool that allows one to examine the widigts from an accessibility perspective. |
|
37 |
||
38 |
%prep |
|
39 |
%setup -q |
|
40 |
||
4455 | 41 |
bash -x %SOURCE2 |
42 |
||
2006 | 43 |
%build |
3263 | 44 |
%ifos linux |
45 |
if [ -x /usr/bin/getconf ]; then |
|
46 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
47 |
fi |
|
48 |
%else |
|
3846 | 49 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 50 |
%endif |
51 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
52 |
CPUS=1 |
|
53 |
fi |
|
54 |
||
3662 | 55 |
./configure --prefix=%{_prefix} |
2006 | 56 |
|
3263 | 57 |
make -j $CPUS |
2006 | 58 |
|
59 |
%install |
|
60 |
make DESTDIR=$RPM_BUILD_ROOT install |
|
4357 | 61 |
install -d $RPM_BUILD_ROOT%{_mandir}/man1 |
62 |
install --mode=0644 %SOURCE1 $RPM_BUILD_ROOT%{_mandir}/man1 |
|
2006 | 63 |
|
64 |
%clean |
|
65 |
rm -rf $RPM_BUILD_ROOT |
|
66 |
||
67 |
%post |
|
68 |
/sbin/ldconfig |
|
69 |
||
70 |
%postun |
|
71 |
/sbin/ldconfig |
|
72 |
||
73 |
%files |
|
74 |
%defattr(-,root,root) |
|
75 |
%{_bindir}/at-poke |
|
76 |
%{_datadir}/at-poke/at-poke.glade2 |
|
4357 | 77 |
%{_mandir}/man1/* |
2006 | 78 |
|
79 |
||
80 |
%changelog |
|
4357 | 81 |
* Thu Oct 28 2004 - [email protected] |
82 |
- Add at-poke.1 manpage |
|
83 |
||
3662 | 84 |
* Wed Aug 18 2004 - [email protected] |
85 |
- removed --disable-gtk-doc since this isn't an option this module's |
|
86 |
configure takes. |
|
87 |
||
3263 | 88 |
* Wed Jul 07 2004 - [email protected] |
89 |
- added "-j $CPUS" to make to speed up builds |
|
90 |
||
2006 | 91 |
* Wed Feb 25 2004 - [email protected] |
92 |
- Initial release version for at-poke |