[5038] | 1 | %define pkg_version 3.2.1 |
---|
[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} |
---|
[4850] | 9 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/3.2/%{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 |
---|
[2041] | 17 | Requires: pygtk2 >= 2.8 |
---|
[4812] | 18 | Requires: python >= 2.6 |
---|
[2041] | 19 | Requires: pygtk2-libglade >= 2.8 |
---|
| 20 | Requires: gnome-python >= 2.12 |
---|
[4812] | 21 | Requires: pyatspi |
---|
| 22 | Requires: at-spi2-core |
---|
[2041] | 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 |
---|
[4812] | 29 | BuildRequires: pygobject3-devel |
---|
[2041] | 30 | BuildRequires: pygtk2-devel >= 2.8 |
---|
[4812] | 31 | BuildRequires: gtk3-devel |
---|
| 32 | BuildRequires: at-spi2-core-devel |
---|
[2041] | 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 | |
---|
[4812] | 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 |
---|
[2041] | 81 | |
---|
[4812] | 82 | %posttrans |
---|
| 83 | glib-compile-schemas %{_datadir}/glib-2.0/schemas |
---|
[2041] | 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/* |
---|
[4812] | 93 | %{_datadir}/glib-2.0/schemas/*.xml |
---|
[2041] | 94 | %{_datadir}/gnome/help/accerciser/* |
---|
[4812] | 95 | %{_datadir}/icons/hicolor/*/apps/* |
---|
[2041] | 96 | %{_datadir}/locale/*/*/accerciser* |
---|
| 97 | %{_mandir}/man1/accerciser.1.gz |
---|
| 98 | |
---|
| 99 | |
---|
| 100 | %changelog |
---|
[5038] | 101 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1 |
---|
| 102 | - new upstream release |
---|
| 103 | |
---|
[4850] | 104 | * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1 |
---|
| 105 | - new upstream release |
---|
| 106 | |
---|
[4812] | 107 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 108 | - new upstream release |
---|
| 109 | - add BuildRequires: gtk3-devel, pygobject3-devel |
---|
| 110 | - change BuildRequires: at-spi2-core-devel instead of at-spi-devel |
---|
| 111 | |
---|
[4650] | 112 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
[4616] | 115 | * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1 |
---|
[3876] | 116 | - new upstream release |
---|
| 117 | |
---|
[4616] | 118 | * Mon May 02 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.1-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[2041] | 121 | * Sun Oct 10 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1 |
---|
| 122 | - initial build for Vine Linux |
---|
| 123 | |
---|