]>
Commit | Line | Data |
---|---|---|
4d2974dc MB |
1 | Summary: An interactive Python tool for querying accessibility information |
2 | Name: accerciser | |
f8440c60 | 3 | Version: 1.0.1 |
7b341686 | 4 | Release: 2 |
4d2974dc MB |
5 | License: BSD |
6 | Group: Applications | |
7 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/1.0/%{name}-%{version}.tar.bz2 | |
f8440c60 | 8 | # Source0-md5: 0bfcef80d75ab5772fca31e5021721c4 |
4d2974dc MB |
9 | URL: http://live.gnome.org/Accerciser |
10 | BuildRequires: GConf2-devel >= 2.20.0 | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: gnome-doc-utils >= 0.12.0 | |
14 | BuildRequires: intltool >= 0.36.2 | |
15 | BuildRequires: python >= 1:2.4 | |
4d2974dc MB |
16 | BuildRequires: rpmbuild(macros) >= 1.311 |
17 | Requires(post,postun): gtk+2 | |
18 | Requires(post,preun): GConf2 | |
19 | Requires: python-gnome | |
20 | Requires: python-ipython | |
21 | Requires: python-pygtk-gtk | |
22 | BuildArch: noarch | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | An interactive Python accessibility explorer. | |
27 | ||
28 | %prep | |
29 | %setup -q | |
30 | ||
31 | %build | |
32 | %{__glib_gettextize} | |
33 | %{__intltoolize} | |
34 | %{__aclocal} | |
35 | %{__autoconf} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | --without-pyreqs \ | |
39 | --disable-scrollkeeper | |
40 | %{__make} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %{__make} install \ | |
46 | DESTDIR=$RPM_BUILD_ROOT | |
47 | ||
48 | %py_postclean | |
49 | ||
7b341686 | 50 | %find_lang %{name} --with-gnome |
4d2974dc MB |
51 | |
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %post | |
56 | %gconf_schema_install accerciser.schemas | |
57 | %update_icon_cache hicolor | |
58 | ||
59 | %preun | |
60 | %gconf_schema_uninstall accerciser.schemas | |
61 | ||
62 | %postun | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %files -f %{name}.lang | |
66 | %defattr(644,root,root,755) | |
67 | %doc AUTHORS COPYING ChangeLog NEWS README | |
68 | %attr(755,root,root) %{_bindir}/accerciser | |
69 | %{_datadir}/accerciser | |
70 | %{_desktopdir}/accerciser.desktop | |
71 | %{_mandir}/man1/accerciser.1* | |
72 | %{_iconsdir}/hicolor/*/*/* | |
73 | %{py_sitescriptdir}/accerciser | |
74 | %{_sysconfdir}/gconf/schemas/accerciser.schemas | |
7b341686 JR |
75 | %{_datadir}/omf/accerciser/accerciser-C.omf |
76 | %lang(ca) %{_datadir}/omf/accerciser/accerciser-ca.omf | |
77 | %lang(en_GB) %{_datadir}/omf/accerciser/accerciser-en_GB.omf | |
78 | %lang(es) %{_datadir}/omf/accerciser/accerciser-es.omf | |
79 | %lang(oc) %{_datadir}/omf/accerciser/accerciser-oc.omf | |
80 | %lang(sv) %{_datadir}/omf/accerciser/accerciser-sv.omf |