author | davelam |
Fri, 25 Sep 2009 09:25:16 +0000 | |
changeset 16657 | c16ab44a6a3e |
parent 16434 | f21f22550fe9 |
child 16752 | dc4abb30db25 |
permissions | -rw-r--r-- |
10419 | 1 |
# |
2 |
# includes module(s): accerciser |
|
3 |
# |
|
11451 | 4 |
# Copyright (c) 2008 Sun Microsystems, Inc. |
10419 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
16434 | 8 |
%define owner liyuan |
10419 | 9 |
# |
10635 | 10 |
%define pythonver 2.4 |
10419 | 11 |
|
16426 | 12 |
%define OSR gnome.org:0 |
13 |
||
10419 | 14 |
Name: accerciser |
16657 | 15 |
Version: 1.8.0 |
10419 | 16 |
Release: 1%{?dist} |
16266 | 17 |
Vendor: Sun Microsystems, Inc. |
10419 | 18 |
Summary: An interactive Python accessibility explorer for the GNOME desktop |
19 |
||
20 |
Group: Applications/System |
|
14560 | 21 |
License: BSD |
10419 | 22 |
URL: http://live.gnome.org/Accerciser |
16657 | 23 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.8/%{name}-%{version}.tar.bz2 |
11193
81cc49dca056
Mark accerciser-01-remove-from-menu.diff as a branding patch, not a bug.
yippi
parents:
11164
diff
changeset
|
24 |
#owner:liyuan date:2007-11-09 bugster:6610155 type:branding |
11164 | 25 |
Patch1: accerciser-01-remove-from-menu.diff |
10419 | 26 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
27 |
BuildRequires: gnome-doc-utils, desktop-file-utils, scrollkeeper, gnome-python2-libwnck, gettext |
|
28 |
Requires: at-spi, pygtk2, gnome-python2, gnome-python2-libwnck, pygtk2-libglade, gnome-python2-bonobo |
|
29 |
||
30 |
#Requires(pre): GConf2 |
|
31 |
#Requires(post): scrollkeeper GConf2 |
|
32 |
#Requires(postun): scrollkeeper |
|
33 |
#Requires(preun): GConf2 |
|
34 |
||
35 |
%description |
|
36 |
Accerciser is an interactive Python accessibility explorer for the GNOME |
|
37 |
desktop. It uses AT-SPI to inspect and control widgets, allowing you to |
|
38 |
check if an application is providing correct information to assistive |
|
39 |
technologies and automated test frameworks. |
|
40 |
||
41 |
%prep |
|
42 |
%setup -q |
|
11164 | 43 |
%patch1 -p1 |
10419 | 44 |
|
45 |
||
46 |
%build |
|
11936 | 47 |
aclocal $ACLOCAL_FLAGS |
48 |
automake --add-missing |
|
49 |
autoconf |
|
50 |
||
10419 | 51 |
./configure --prefix=%{_prefix} \ |
52 |
--libdir=%{_libdir} \ |
|
53 |
--bindir=%{_bindir} \ |
|
54 |
--datadir=%{_datadir} \ |
|
55 |
--sysconfdir=%{_sysconfdir} \ |
|
56 |
--disable-scrollkeeper |
|
57 |
make |
|
58 |
||
59 |
%install |
|
60 |
rm -rf $RPM_BUILD_ROOT |
|
61 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
62 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
63 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
64 |
||
65 |
#desktop-file-install --vendor="" --delete-original \ |
|
66 |
# --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
|
67 |
# $RPM_BUILD_ROOT/%{_datadir}/applications/%{name}.desktop |
|
68 |
||
69 |
#%find_lang %{name} |
|
70 |
||
10635 | 71 |
# Move to vendor-packages |
72 |
mv $RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/site-packages \ |
|
73 |
$RPM_BUILD_ROOT%{_libdir}/python%{pythonver}/vendor-packages |
|
74 |
||
10419 | 75 |
%clean |
76 |
rm -rf $RPM_BUILD_ROOT |
|
77 |
||
78 |
%prep |
|
79 |
if [ "$1" -gt 1 ]; then |
|
80 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
81 |
gconftool-2 --makefile-uninstall-rule \ |
|
82 |
%{_sysconfdir}/gconf/schemas/accerciser.schemas >/dev/null || : |
|
83 |
killall -HUP gconfd-2 || : |
|
84 |
fi |
|
85 |
||
86 |
%post |
|
87 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
88 |
gconftool-2 --makefile-install-rule \ |
|
89 |
%{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null || : |
|
90 |
killall -HUP gconfd-2 || : |
|
91 |
||
92 |
scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : |
|
93 |
touch --no-create %{_datadir}/icons/hicolor || : |
|
94 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|
95 |
||
96 |
%postun |
|
97 |
scrollkeeper-update -q || : |
|
98 |
touch --no-create %{_datadir}/icons/hicolor || : |
|
99 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
|
100 |
||
101 |
%preun |
|
102 |
if [ "$1" -eq 0 ]; then |
|
103 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
104 |
gconftool-2 --makefile-uninstall-rule \ |
|
105 |
%{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null || : |
|
106 |
killall -HUP gconfd-2 || : |
|
107 |
fi |
|
108 |
||
109 |
%files -f %{name}.lang |
|
110 |
%defattr(-,root,root) |
|
111 |
%doc README AUTHORS ChangeLog COPYING NEWS |
|
112 |
%{_bindir}/%{name} |
|
113 |
#%{python_sitearch}/%{name} |
|
114 |
%{_datadir}/%{name} |
|
115 |
%{_datadir}/omf/%{name} |
|
116 |
%{_datadir}/applications/*.desktop |
|
117 |
%{_datadir}/icons/hicolor/*/apps/%{name}.* |
|
118 |
%{_datadir}/gnome/help/%{name} |
|
119 |
%{_sysconfdir}/gconf/schemas/%{name}.schemas |
|
120 |
||
121 |
%changelog |
|
16657 | 122 |
* Wed Sep 23 2009 - [email protected] |
123 |
- Bump to 1.8.0 |
|
16360 | 124 |
* Wed Aug 26 2009 - [email protected] |
125 |
- Bump to 1.7.91. |
|
16266 | 126 |
* Thu Aug 13 2009 - [email protected] |
127 |
- Update vendor information. |
|
16242 | 128 |
* Wed Aug 12 2009 - [email protected] |
129 |
- Bump to 1.7.90. |
|
16063 | 130 |
* Sun Jul 19 2009 - [email protected] |
131 |
- Bump to 1.7.4. |
|
16002 | 132 |
* Mon Jul 06 2009 - [email protected] |
133 |
- Bump to 1.7.2. |
|
15628 | 134 |
* Wed Apr 15 2009 - [email protected] |
135 |
- Bump to 1.6.1 |
|
15409 | 136 |
* Tue Mar 17 2009 - [email protected] |
137 |
- Bump to 1.6.0 |
|
15130 | 138 |
* Wed Feb 18 2009 - [email protected] |
139 |
- Bump to 1.5.91 |
|
15028 | 140 |
* Thu Feb 05 2009 - [email protected] |
141 |
- Bump to 1.5.9. |
|
14957 | 142 |
* Thu Jan 22 2009 - [email protected] |
143 |
- Bump to 1.5.5. |
|
14874 | 144 |
* Thu Jan 08 2009 - [email protected] |
145 |
- Bump to 1.5.4. |
|
14697 | 146 |
* Wed Dec 03 2008 - [email protected] |
147 |
- Bump to 1.5.2 |
|
14560 | 148 |
* Wed Nov 05 2008 - [email protected] |
149 |
- Change copyright information. |
|
13812 | 150 |
* Mon Sep 29 2008 - [email protected] |
13811 | 151 |
- Correct download URL |
13732 | 152 |
* Tue Sep 23 2008 - [email protected] |
153 |
- Bump to 1.4.0. |
|
13457 | 154 |
* Tue Sep 09 2008 - [email protected] |
155 |
- Bump to 1.3.92. |
|
13369 | 156 |
* Tue Sep 02 2008 - [email protected] |
157 |
- Bump to 1.3.91. |
|
13031 | 158 |
* Tue Aug 05 2008 - [email protected] |
159 |
- Bump to 1.3.6. |
|
12868 | 160 |
* Mon Jul 21 2008 - [email protected] |
161 |
- Bump to 1.3.5. |
|
12684 | 162 |
* Tue Jun 17 2008 - [email protected] |
163 |
- Bump to 1.3.4. Remove upstream patch, 02-pyatspi-check. |
|
12627 | 164 |
* Tue Jun 10 2008 - [email protected] |
165 |
- Add patch 02-pyatspi-check to skip the pyatspi check as it requires a display. |
|
12518 | 166 |
* Wed May 28 2008 - [email protected] |
167 |
- Bump to 1.3.1. |
|
11936 | 168 |
* Thu Mar 27 2008 - [email protected] |
12518 | 169 |
- Bump to 1.2.0. Call aclocal, automake and autoconf to get patched |
170 |
intltool.m4. |
|
11725 | 171 |
* Tue Feb 26 2008 - [email protected] |
172 |
- Bump to 1.1.92. |
|
11615 | 173 |
* Mon Feb 11 2008 - [email protected] |
174 |
- Bump to 1.1.91. |
|
11546 | 175 |
* Tue Jan 29 2008 - [email protected] |
176 |
- Bump to 1.1.90. |
|
11451 | 177 |
* Mon Jan 14 2008 - [email protected] |
178 |
- Bump to 1.1.5. |
|
11275 | 179 |
* Mon Dec 03 2007 - [email protected] |
180 |
- Bump to 1.1.3. |
|
11077 | 181 |
* Tue Oct 30 2007 - [email protected] |
182 |
- Bump to 1.1.1. |
|
10674 | 183 |
* Fri Oct 19 2007 - [email protected] |
184 |
- Bump to 1.0.1. |
|
10635 | 185 |
* Wed Oct 10 2007 - [email protected] |
10641
c9864ab4f7a9
Add bug number (6615442) to %changelog for move from site-packages to vendor-packages.
dcarbery
parents:
10636
diff
changeset
|
186 |
- Move files from site-packages to vendor-packages. Fixes 6615442. |
10509 | 187 |
* Tue Sep 18 2007 - [email protected] |
188 |
- Bump to 1.0.0. |
|
10444 | 189 |
* Tue Sep 04 2007 - [email protected] |
190 |
- Bump to 0.1.92. |
|
191 |
* Sun Sep 02 2007 - [email protected] |
|
192 |
- Initial version. |