1 | %define pkg_version 1.12.1 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Summary: An interactive Python accessibility explorer for the GNOME desktop. |
---|
5 | Summary(ja): GNOME デスクトップ用 Python アクセシビリティエクスプローラ |
---|
6 | Name: accerciser |
---|
7 | Version: %{pkg_version} |
---|
8 | Release: %{pkg_release} |
---|
9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/1.12/%{name}-%{version}.tar.bz2 |
---|
10 | License: BSD |
---|
11 | Group: User Interface/Desktops |
---|
12 | URL: http://live.gnome.org/Accerciser |
---|
13 | |
---|
14 | Requires: gnome-python-libwnck >= 2.14 |
---|
15 | Requires: gnome-python-rsvg >= 2.14 |
---|
16 | Requires: at-spi-python |
---|
17 | Requires: pygtk2 >= 2.8 |
---|
18 | Requires: python >= 2.4 |
---|
19 | Requires: pygtk2-libglade >= 2.8 |
---|
20 | Requires: at-spi >= 1.7 |
---|
21 | Requires: gnome-python >= 2.12 |
---|
22 | Requires: glib2 >= 2.26.0 |
---|
23 | |
---|
24 | Requires(post): desktop-file-utils |
---|
25 | Requires(postun): desktop-file-utils |
---|
26 | |
---|
27 | BuildRequires: python-devel >= 2.4 |
---|
28 | BuildRequires: pygtk2-devel >= 2.8 |
---|
29 | BuildRequires: at-spi-devel >= 1.7 |
---|
30 | BuildRequires: gnome-python-devel >= 2.12 |
---|
31 | BuildRequires: glib2-devel >= 2.26.0 |
---|
32 | BuildRequires: GConf2-devel |
---|
33 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
34 | BuildRequires: docbook-dtds |
---|
35 | |
---|
36 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
37 | |
---|
38 | Vendor: Project Vine |
---|
39 | Distribution: Vine Linux |
---|
40 | Packager: Takemikaduchi |
---|
41 | |
---|
42 | |
---|
43 | %description |
---|
44 | Accerciser is an interactive Python accessibility explorer for the GNOME |
---|
45 | desktop. It uses AT-SPI to inspect and control widgets, allowing you to check |
---|
46 | if an application is providing correct information to assistive technologies |
---|
47 | and automated test frameworks. Accerciser has a simple plugin framework which |
---|
48 | you can use to create custom views of accessibility information. |
---|
49 | |
---|
50 | |
---|
51 | %prep |
---|
52 | %setup -q |
---|
53 | |
---|
54 | |
---|
55 | %build |
---|
56 | %configure --disable-scrollkeeper --without-pyreqs |
---|
57 | %{__make} %{?_smp_mflags} |
---|
58 | |
---|
59 | %install |
---|
60 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
61 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
62 | |
---|
63 | |
---|
64 | %clean |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | |
---|
68 | %post |
---|
69 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
70 | %{_bindir}/gconftool-2 --makefile-install-rule \ |
---|
71 | %{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null ||: |
---|
72 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
73 | update-desktop-database & > /dev/null || : |
---|
74 | |
---|
75 | %preun |
---|
76 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
77 | update-desktop-database & > /dev/null || : |
---|
78 | export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
---|
79 | %{_bindir}/gconftool-2 --makefile-uninstall-rule \ |
---|
80 | %{_sysconfdir}/gconf/schemas/accerciser.schemas > /dev/null ||: |
---|
81 | |
---|
82 | |
---|
83 | |
---|
84 | %files |
---|
85 | %defattr(-,root,root) |
---|
86 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
87 | %{_bindir}/accerciser |
---|
88 | %{_prefix}/lib/python?.?/site-packages/accerciser |
---|
89 | %{_datadir}/applications/accerciser.desktop |
---|
90 | %{_datadir}/icons/hicolor/*/apps/* |
---|
91 | %{_datadir}/accerciser/* |
---|
92 | %{_datadir}/gnome/help/accerciser/* |
---|
93 | %{_datadir}/omf/accerciser/* |
---|
94 | %{_datadir}/locale/*/*/accerciser* |
---|
95 | %{_mandir}/man1/accerciser.1.gz |
---|
96 | %{_sysconfdir}/gconf/schemas/accerciser.schemas |
---|
97 | |
---|
98 | |
---|
99 | %changelog |
---|
100 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
101 | - new upstream release |
---|
102 | - change Group: User Interface/Desktops instead of Desktop/Accessibility |
---|
103 | |
---|
104 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
105 | - initial build for Vine Linux |
---|
106 | |
---|