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