[7681] | 1 | %define pkg_version 3.8.2 |
---|
[2041] | 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} |
---|
[7633] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.8/%{name}-%{version}.tar.xz |
---|
[2041] | 10 | License: BSD |
---|
[4616] | 11 | Group: Desktop/Accessibility |
---|
[2041] | 12 | URL: http://live.gnome.org/Accerciser |
---|
| 13 | |
---|
| 14 | Requires: gnome-python-libwnck >= 2.14 |
---|
| 15 | Requires: gnome-python-rsvg >= 2.14 |
---|
[4812] | 16 | Requires: pygobject3 |
---|
| 17 | Requires: python >= 2.6 |
---|
| 18 | Requires: pyatspi |
---|
| 19 | Requires: at-spi2-core |
---|
[2041] | 20 | |
---|
| 21 | Requires(post): desktop-file-utils |
---|
| 22 | Requires(postun): desktop-file-utils |
---|
| 23 | |
---|
| 24 | BuildRequires: python-devel >= 2.4 |
---|
[4812] | 25 | BuildRequires: pygobject3-devel |
---|
| 26 | BuildRequires: gtk3-devel |
---|
| 27 | BuildRequires: at-spi2-core-devel |
---|
[6078] | 28 | BuildRequires: pyatspi |
---|
[2041] | 29 | BuildRequires: glib2-devel >= 2.26.0 |
---|
| 30 | BuildRequires: docbook-dtds |
---|
[6890] | 31 | BuildRequires: yelp-tools |
---|
[7633] | 32 | BuildRequires: autoconf |
---|
| 33 | BuildRequires: gnome-common |
---|
[2041] | 34 | |
---|
| 35 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 36 | |
---|
| 37 | Vendor: Project Vine |
---|
| 38 | Distribution: Vine Linux |
---|
| 39 | Packager: Takemikaduchi |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | %description |
---|
| 43 | Accerciser is an interactive Python accessibility explorer for the GNOME |
---|
| 44 | desktop. It uses AT-SPI to inspect and control widgets, allowing you to check |
---|
| 45 | if an application is providing correct information to assistive technologies |
---|
| 46 | and automated test frameworks. Accerciser has a simple plugin framework which |
---|
| 47 | you can use to create custom views of accessibility information. |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %prep |
---|
| 51 | %setup -q |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %build |
---|
[7633] | 55 | sed -i "s|3.2|2.7|" configure.ac |
---|
| 56 | autoreconf -if |
---|
[6890] | 57 | %configure --disable-static |
---|
[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 |
---|
[6078] | 89 | %{python_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 |
---|
[7681] | 99 | * Sun May 19 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[7633] | 102 | * Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.0-1 |
---|
| 103 | - new upstream release |
---|
| 104 | - add BuildRequires: autoconf, gnome-common |
---|
| 105 | |
---|
[7119] | 106 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[6890] | 109 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 110 | - new upstream release |
---|
| 111 | - change BuildRequires: yelp-tools instead of gome-doc-utils |
---|
| 112 | |
---|
[6011] | 113 | * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 114 | - new upstream release |
---|
[6078] | 115 | - remove BuildRequires: GConf2-devel |
---|
[6011] | 116 | |
---|
[5038] | 117 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[4850] | 120 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 121 | - new upstream release |
---|
| 122 | |
---|
[4812] | 123 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 124 | - new upstream release |
---|
| 125 | - add BuildRequires: gtk3-devel, pygobject3-devel |
---|
| 126 | - change BuildRequires: at-spi2-core-devel instead of at-spi-devel |
---|
| 127 | |
---|
[4650] | 128 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[4616] | 131 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
[3876] | 132 | - new upstream release |
---|
| 133 | |
---|
[4616] | 134 | * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 135 | - new upstream release |
---|
| 136 | |
---|
[2041] | 137 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 138 | - initial build for Vine Linux |
---|
| 139 | |
---|