1 | %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
2 | |
---|
3 | |
---|
4 | %define pkg_version 3.14.0 |
---|
5 | %define pkg_release 3%{?_dist_release} |
---|
6 | |
---|
7 | Summary: An interactive Python accessibility explorer for the GNOME desktop. |
---|
8 | Summary(ja): GNOME デスクトップ用 Python アクセシビリティエクスプローラ |
---|
9 | Name: accerciser |
---|
10 | Version: %{pkg_version} |
---|
11 | Release: %{pkg_release} |
---|
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.14/%{name}-%{version}.tar.xz |
---|
13 | License: BSD |
---|
14 | Group: User Interface/Desktops |
---|
15 | URL: http://live.gnome.org/Accerciser |
---|
16 | |
---|
17 | Requires: python3 >= 3.2 |
---|
18 | Requires: python3-pygobject >= 2.90.3 |
---|
19 | Requires: python3-pyatspi >= 2.5.2 |
---|
20 | Requires: at-spi2-core |
---|
21 | |
---|
22 | Requires(post): desktop-file-utils |
---|
23 | Requires(postun): desktop-file-utils |
---|
24 | |
---|
25 | BuildRequires: python3-devel >= 3.2 |
---|
26 | BuildRequires: python3-pygobject |
---|
27 | BuildRequires: pygobject3-devel |
---|
28 | BuildRequires: gtk3-devel |
---|
29 | BuildRequires: at-spi2-core-devel |
---|
30 | BuildRequires: python3-pyatspi |
---|
31 | BuildRequires: glib2-devel >= 2.26.0 |
---|
32 | BuildRequires: docbook-dtds |
---|
33 | BuildRequires: yelp-tools |
---|
34 | BuildRequires: autoconf |
---|
35 | BuildRequires: gnome-common |
---|
36 | |
---|
37 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
38 | |
---|
39 | Vendor: Project Vine |
---|
40 | Distribution: Vine Linux |
---|
41 | Packager: Takemikaduchi |
---|
42 | |
---|
43 | |
---|
44 | %description |
---|
45 | Accerciser is an interactive Python accessibility explorer for the GNOME |
---|
46 | desktop. It uses AT-SPI to inspect and control widgets, allowing you to check |
---|
47 | if an application is providing correct information to assistive technologies |
---|
48 | and automated test frameworks. Accerciser has a simple plugin framework which |
---|
49 | you can use to create custom views of accessibility information. |
---|
50 | |
---|
51 | |
---|
52 | %prep |
---|
53 | %setup -q |
---|
54 | |
---|
55 | |
---|
56 | %build |
---|
57 | %configure |
---|
58 | %{__make} %{?_smp_mflags} |
---|
59 | |
---|
60 | %install |
---|
61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
62 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
63 | |
---|
64 | %find_lang %{name} --with-gnome --all-name |
---|
65 | |
---|
66 | %clean |
---|
67 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
68 | |
---|
69 | |
---|
70 | %post |
---|
71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
72 | update-desktop-database & > /dev/null || : |
---|
73 | |
---|
74 | %postun |
---|
75 | if [ $1 -eq 0 ]; then |
---|
76 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
77 | update-desktop-database & > /dev/null || : |
---|
78 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
79 | fi |
---|
80 | |
---|
81 | %posttrans |
---|
82 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
83 | |
---|
84 | |
---|
85 | %files -f %{name}.lang |
---|
86 | %defattr(-,root,root) |
---|
87 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
88 | %{_bindir}/accerciser |
---|
89 | %{python3_sitelib}/accerciser |
---|
90 | %{_datadir}/applications/accerciser.desktop |
---|
91 | %{_datadir}/accerciser/* |
---|
92 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
93 | %{_datadir}/icons/hicolor/*/apps/* |
---|
94 | %{_datadir}/icons/HighContrast/*/apps/* |
---|
95 | %{_mandir}/man1/accerciser.1.gz |
---|
96 | |
---|
97 | |
---|
98 | %changelog |
---|
99 | * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-3 |
---|
100 | - rebuild with python-3.4.2 |
---|
101 | |
---|
102 | * Mon Jan 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.14.0-2 |
---|
103 | - moved to User Interface/Desktops Group |
---|
104 | |
---|
105 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
106 | - new upstream release |
---|
107 | |
---|
108 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
109 | - new upstream release |
---|
110 | - remove BuildRequires: python3-pygobject-devel |
---|
111 | - add BuildRequires: python3-pygobject, pygobject3-devel |
---|
112 | |
---|
113 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-2 |
---|
114 | - change BuildRequires: python3-pygobject-devel instead of pygobject3 |
---|
115 | - change BuildRequires: python3-pyatspi instead of pyatspi |
---|
116 | |
---|
117 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
118 | - new upstream release |
---|
119 | |
---|
120 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
121 | - new upstream release |
---|
122 | - add BuildRequires: autoconf, gnome-common |
---|
123 | |
---|
124 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
125 | - new upstream release |
---|
126 | |
---|
127 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
128 | - new upstream release |
---|
129 | - change BuildRequires: yelp-tools instead of gome-doc-utils |
---|
130 | |
---|
131 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
132 | - new upstream release |
---|
133 | - remove BuildRequires: GConf2-devel |
---|
134 | |
---|
135 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
136 | - new upstream release |
---|
137 | |
---|
138 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
139 | - new upstream release |
---|
140 | |
---|
141 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
142 | - new upstream release |
---|
143 | - add BuildRequires: gtk3-devel, pygobject3-devel |
---|
144 | - change BuildRequires: at-spi2-core-devel instead of at-spi-devel |
---|
145 | |
---|
146 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
147 | - new upstream release |
---|
148 | |
---|
149 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
150 | - new upstream release |
---|
151 | |
---|
152 | * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
153 | - new upstream release |
---|
154 | |
---|
155 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
156 | - initial build for Vine Linux |
---|
157 | |
---|