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