author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19881 | 6180c371ed87 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package libgail-gnome |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
85 | 8 |
Name: libgail-gnome |
155 | 9 |
License: LGPL |
214 | 10 |
Group: System/Libraries/GNOME |
5346
65c1493b388b
Revved libgail-gnome to 1.1.1, for bug fix #6240069.
wh70179
parents:
5333
diff
changeset
|
11 |
Version: 1.1.1 |
19643 | 12 |
Release: 42 |
19693 | 13 |
Distribution: Java Desktop System |
575 | 14 |
Vendor: Sun Microsystems, Inc. |
155 | 15 |
Summary: Accessibility implementation for GTK+ and GNOME libraries |
19881 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/libgail-gnome/1.1/%{name}-%{version}.tar.bz2 |
85 | 17 |
URL: http://developer.gnome.org/projects/gap |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
155 | 19 |
Docdir: %{_defaultdocdir}/doc |
20 |
Autoreqprov: on |
|
1080 | 21 |
Prereq: /sbin/ldconfig |
85 | 22 |
|
3628 | 23 |
%define libgnomeui_version 2.6.0 |
24 |
%define gtk2_version 2.4.0 |
|
2329
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
25 |
%define gnome_panel_version 2.6.0 |
3628 | 26 |
%define atk_version 1.7.0 |
27 |
%define at_spi_version 1.5.1 |
|
85 | 28 |
%define at_spi_release 1 |
29 |
||
30 |
BuildRequires: gtk2-devel >= %{gtk2_version} |
|
2329
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
31 |
BuildRequires: gnome-panel-devel >= %{gnome_panel_version} |
85 | 32 |
BuildRequires: atk-devel >= %{atk_version} |
33 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
34 |
BuildRequires: at-spi-devel >= %{at_spi_version}-%{at_spi_release} |
|
155 | 35 |
Requires: atk >= %{atk_version} |
36 |
Requires: gtk2 >= %{gtk2_version} |
|
2329
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
37 |
Requires: gnome-panel >= %{gnome_panel_version} |
155 | 38 |
Requires: libgnomeui >= %{libgnomeui_version} |
39 |
Requires: at-spi >= %{at_spi_version} |
|
40 |
||
85 | 41 |
|
42 |
%description |
|
155 | 43 |
GAIL implements the abstract interfaces found in ATK for GTK+ and GNOME |
44 |
libraries, enabling accessibility technologies such as at-spi to access those |
|
45 |
GUIs. libgail-gnome contains the GNOME portions of GAIL. |
|
85 | 46 |
|
47 |
%prep |
|
48 |
%setup -q |
|
49 |
||
4455 | 50 |
|
85 | 51 |
%build |
3263 | 52 |
%ifos linux |
53 |
if [ -x /usr/bin/getconf ]; then |
|
54 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
55 |
fi |
|
56 |
%else |
|
3846 | 57 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 58 |
%endif |
59 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
60 |
CPUS=1 |
|
61 |
fi |
|
62 |
||
19767 | 63 |
./configure --prefix=%{_prefix} |
85 | 64 |
|
3263 | 65 |
make -j $CPUS |
85 | 66 |
|
67 |
%install |
|
210 | 68 |
make DESTDIR=$RPM_BUILD_ROOT install |
3628 | 69 |
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la |
85 | 70 |
|
71 |
%clean |
|
72 |
rm -rf $RPM_BUILD_ROOT |
|
73 |
||
155 | 74 |
%post |
75 |
/sbin/ldconfig |
|
85 | 76 |
|
155 | 77 |
%postun |
78 |
/sbin/ldconfig |
|
85 | 79 |
|
80 |
%files |
|
81 |
%defattr(-,root,root) |
|
1058 | 82 |
%{_libdir}/gtk-2.0/*/*.so |
2058 | 83 |
%{_libdir}/pkgconfig |
85 | 84 |
|
85 |
%changelog |
|
19767 | 86 |
* Thu Aug 11 2005 - [email protected] |
87 |
- Remove --enable-gtk-doc from configure since this library has no gtk-docs. |
|
88 |
||
5346
65c1493b388b
Revved libgail-gnome to 1.1.1, for bug fix #6240069.
wh70179
parents:
5333
diff
changeset
|
89 |
* Tue Apr 19 2005 - <[email protected]> |
65c1493b388b
Revved libgail-gnome to 1.1.1, for bug fix #6240069.
wh70179
parents:
5333
diff
changeset
|
90 |
- Bump to 1.1.1, for bugfix #6240069. |
65c1493b388b
Revved libgail-gnome to 1.1.1, for bug fix #6240069.
wh70179
parents:
5333
diff
changeset
|
91 |
|
3712 | 92 |
* Tue Aug 24 2004 - [email protected] |
93 |
- removed devel package, this pacakge does not install any docs |
|
19767 | 94 |
|
3665 | 95 |
* Wed Aug 18 2004 - [email protected] |
96 |
- added --enable-gtk-doc. added devel package for gtk-docs. |
|
97 |
||
3464 | 98 |
* Tue Aug 03 2004 - <[email protected]> |
99 |
- Bump to 1.1.0 |
|
100 |
||
3426 | 101 |
* Mon Jul 26 2004 - <[email protected]> |
102 |
- Bump to 1.0.5 |
|
103 |
||
3628 | 104 |
* Wed Jul 07 2004 - [email protected] |
105 |
- port to rpm4 |
|
106 |
||
3263 | 107 |
* Wed Jul 07 2004 - [email protected] |
108 |
- added "-j $CPUS" to make to speed up builds |
|
109 |
||
2329
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
110 |
* Thu Mar 25 2004 - <[email protected]> |
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
111 |
- Add gnome-panel-devel as a dependency. |
cbebc71d6659
libgail-gnome.spec: Add gnome-panel-devel as a dependency.
dc144907
parents:
2299
diff
changeset
|
112 |
|
2299 | 113 |
* Tue Mar 23 2004 - <[email protected]> |
114 |
- Bump to 1.0.3 |
|
115 |
||
2058 | 116 |
* Fri Feb 27 2004 - <[email protected]> |
117 |
- add pkgconfig file |
|
118 |
||
1790 | 119 |
* Wed Feb 18 2004 - [email protected] |
120 |
- Update distro |
|
121 |
||
1231 | 122 |
* Fri Oct 10 2003 - [email protected] |
123 |
- moving up version numbers of deps |
|
1790 | 124 |
|
1058 | 125 |
* Thu Aug 14 2003 - <[email protected]> |
126 |
- remove *.a, *.la |
|
127 |
||
85 | 128 |
* Wed May 14 2003 - [email protected] |
129 |
- initial release version for libgail-gnome |