[7938] | 1 | %{!?python3_sitelib: %define python3_sitelib %(python3 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} |
---|
| 2 | |
---|
| 3 | |
---|
[9073] | 4 | %define pkg_version 3.14.0 |
---|
[9249] | 5 | %define pkg_release 3%{?_dist_release} |
---|
[2041] | 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} |
---|
[9073] | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.14/%{name}-%{version}.tar.xz |
---|
[2041] | 13 | License: BSD |
---|
[9233] | 14 | Group: User Interface/Desktops |
---|
[2041] | 15 | URL: http://live.gnome.org/Accerciser |
---|
| 16 | |
---|
[7938] | 17 | Requires: python3 >= 3.2 |
---|
| 18 | Requires: python3-pygobject >= 2.90.3 |
---|
| 19 | Requires: python3-pyatspi >= 2.5.2 |
---|
[4812] | 20 | Requires: at-spi2-core |
---|
[2041] | 21 | |
---|
| 22 | Requires(post): desktop-file-utils |
---|
| 23 | Requires(postun): desktop-file-utils |
---|
| 24 | |
---|
[7938] | 25 | BuildRequires: python3-devel >= 3.2 |
---|
[8353] | 26 | BuildRequires: python3-pygobject |
---|
| 27 | BuildRequires: pygobject3-devel |
---|
[4812] | 28 | BuildRequires: gtk3-devel |
---|
| 29 | BuildRequires: at-spi2-core-devel |
---|
[7938] | 30 | BuildRequires: python3-pyatspi |
---|
[2041] | 31 | BuildRequires: glib2-devel >= 2.26.0 |
---|
| 32 | BuildRequires: docbook-dtds |
---|
[6890] | 33 | BuildRequires: yelp-tools |
---|
[7633] | 34 | BuildRequires: autoconf |
---|
| 35 | BuildRequires: gnome-common |
---|
[2041] | 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 |
---|
[9233] | 57 | %configure |
---|
[2041] | 58 | %{__make} %{?_smp_mflags} |
---|
| 59 | |
---|
| 60 | %install |
---|
| 61 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 62 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 63 | |
---|
[6890] | 64 | %find_lang %{name} --with-gnome --all-name |
---|
[2041] | 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 | |
---|
[4812] | 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 |
---|
[2041] | 80 | |
---|
[4812] | 81 | %posttrans |
---|
| 82 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
[2041] | 83 | |
---|
| 84 | |
---|
[6890] | 85 | %files -f %{name}.lang |
---|
[2041] | 86 | %defattr(-,root,root) |
---|
| 87 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 88 | %{_bindir}/accerciser |
---|
[7938] | 89 | %{python3_sitelib}/accerciser |
---|
[2041] | 90 | %{_datadir}/applications/accerciser.desktop |
---|
| 91 | %{_datadir}/accerciser/* |
---|
[4812] | 92 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
| 93 | %{_datadir}/icons/hicolor/*/apps/* |
---|
[7633] | 94 | %{_datadir}/icons/HighContrast/*/apps/* |
---|
[2041] | 95 | %{_mandir}/man1/accerciser.1.gz |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | %changelog |
---|
[9249] | 99 | * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-3 |
---|
| 100 | - rebuild with python-3.4.2 |
---|
| 101 | |
---|
[9233] | 102 | * Mon Jan 5 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.14.0-2 |
---|
| 103 | - moved to User Interface/Desktops Group |
---|
| 104 | |
---|
[9073] | 105 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[8353] | 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 | |
---|
[7938] | 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 | |
---|
[7681] | 117 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[7633] | 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 | |
---|
[7119] | 124 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[6890] | 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 | |
---|
[6011] | 131 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 132 | - new upstream release |
---|
[6078] | 133 | - remove BuildRequires: GConf2-devel |
---|
[6011] | 134 | |
---|
[5038] | 135 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 136 | - new upstream release |
---|
| 137 | |
---|
[4850] | 138 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 139 | - new upstream release |
---|
| 140 | |
---|
[4812] | 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 | |
---|
[4650] | 146 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 147 | - new upstream release |
---|
| 148 | |
---|
[4616] | 149 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
[3876] | 150 | - new upstream release |
---|
| 151 | |
---|
[4616] | 152 | * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 153 | - new upstream release |
---|
| 154 | |
---|
[2041] | 155 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 156 | - initial build for Vine Linux |
---|
| 157 | |
---|