1 | %define pkg_version 3.4.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/3.4/%{name}-%{version}.tar.xz |
---|
10 | License: BSD |
---|
11 | Group: Desktop/Accessibility |
---|
12 | URL: http://live.gnome.org/Accerciser |
---|
13 | |
---|
14 | Requires: gnome-python-libwnck >= 2.14 |
---|
15 | Requires: gnome-python-rsvg >= 2.14 |
---|
16 | Requires: pygobject3 |
---|
17 | Requires: python >= 2.6 |
---|
18 | Requires: pyatspi |
---|
19 | Requires: at-spi2-core |
---|
20 | |
---|
21 | Requires(post): desktop-file-utils |
---|
22 | Requires(postun): desktop-file-utils |
---|
23 | |
---|
24 | BuildRequires: python-devel >= 2.4 |
---|
25 | BuildRequires: pygobject3-devel |
---|
26 | BuildRequires: gtk3-devel |
---|
27 | BuildRequires: at-spi2-core-devel |
---|
28 | BuildRequires: pyatspi |
---|
29 | BuildRequires: glib2-devel >= 2.26.0 |
---|
30 | BuildRequires: gnome-doc-utils >= 0.3.2 |
---|
31 | BuildRequires: docbook-dtds |
---|
32 | |
---|
33 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
34 | |
---|
35 | Vendor: Project Vine |
---|
36 | Distribution: Vine Linux |
---|
37 | Packager: Takemikaduchi |
---|
38 | |
---|
39 | |
---|
40 | %description |
---|
41 | Accerciser is an interactive Python accessibility explorer for the GNOME |
---|
42 | desktop. It uses AT-SPI to inspect and control widgets, allowing you to check |
---|
43 | if an application is providing correct information to assistive technologies |
---|
44 | and automated test frameworks. Accerciser has a simple plugin framework which |
---|
45 | you can use to create custom views of accessibility information. |
---|
46 | |
---|
47 | |
---|
48 | %prep |
---|
49 | %setup -q |
---|
50 | |
---|
51 | |
---|
52 | %build |
---|
53 | %configure --disable-scrollkeeper --without-pyreqs |
---|
54 | %{__make} %{?_smp_mflags} |
---|
55 | |
---|
56 | %install |
---|
57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
58 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
59 | |
---|
60 | |
---|
61 | %clean |
---|
62 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | |
---|
65 | %post |
---|
66 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
67 | update-desktop-database & > /dev/null || : |
---|
68 | |
---|
69 | %postun |
---|
70 | if [ $1 -eq 0 ]; then |
---|
71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
72 | update-desktop-database & > /dev/null || : |
---|
73 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
74 | fi |
---|
75 | |
---|
76 | %posttrans |
---|
77 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
78 | |
---|
79 | |
---|
80 | %files |
---|
81 | %defattr(-,root,root) |
---|
82 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
83 | %{_bindir}/accerciser |
---|
84 | %{python_sitelib}/accerciser |
---|
85 | %{_datadir}/applications/accerciser.desktop |
---|
86 | %{_datadir}/accerciser/* |
---|
87 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
88 | %{_datadir}/gnome/help/accerciser/* |
---|
89 | %{_datadir}/icons/hicolor/*/apps/* |
---|
90 | %{_datadir}/locale/*/*/accerciser* |
---|
91 | %{_mandir}/man1/accerciser.1.gz |
---|
92 | |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
96 | - new upstream release |
---|
97 | - remove BuildRequires: GConf2-devel |
---|
98 | |
---|
99 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
100 | - new upstream release |
---|
101 | |
---|
102 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
103 | - new upstream release |
---|
104 | |
---|
105 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
106 | - new upstream release |
---|
107 | - add BuildRequires: gtk3-devel, pygobject3-devel |
---|
108 | - change BuildRequires: at-spi2-core-devel instead of at-spi-devel |
---|
109 | |
---|
110 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
111 | - new upstream release |
---|
112 | |
---|
113 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
120 | - initial build for Vine Linux |
---|
121 | |
---|