]>
Commit | Line | Data |
---|---|---|
4d2974dc | 1 | Summary: An interactive Python tool for querying accessibility information |
f2b64c8c | 2 | Summary(pl.UTF-8): Interaktywne narzędzie w Pythonie do pobierania informacji o dostępności |
4d2974dc | 3 | Name: accerciser |
428810a8 | 4 | Version: 1.10.1 |
b7963c0c | 5 | Release: 4 |
4d2974dc | 6 | License: BSD |
e1cb222b | 7 | Group: X11/Applications/Accessibility |
428810a8 MB |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/accerciser/1.10/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: 15b14e77108c2fc9ffbef59e9d6cb5b7 | |
4d2974dc | 10 | URL: http://live.gnome.org/Accerciser |
0f0a6766 | 11 | BuildRequires: GConf2-devel >= 2.24.0 |
4d2974dc MB |
12 | BuildRequires: autoconf |
13 | BuildRequires: automake | |
fd6ef42e | 14 | BuildRequires: docbook-dtd412-xml |
9f1fc0be | 15 | BuildRequires: gettext-devel |
0f0a6766 MB |
16 | BuildRequires: gnome-doc-utils >= 0.14.0 |
17 | BuildRequires: intltool >= 0.40.0 | |
fd6ef42e | 18 | BuildRequires: libxml2-progs |
19 | BuildRequires: pkgconfig | |
4d2974dc | 20 | BuildRequires: python >= 1:2.4 |
f41ce09b | 21 | BuildRequires: rpm-pythonprov |
9f1fc0be | 22 | BuildRequires: rpmbuild(find_lang) >= 1.23 |
4d2974dc | 23 | BuildRequires: rpmbuild(macros) >= 1.311 |
428810a8 | 24 | BuildRequires: sed >= 4.0 |
4d2974dc | 25 | Requires(post,postun): gtk+2 |
f2b64c8c | 26 | Requires(post,postun): hicolor-icon-theme |
4d2974dc MB |
27 | Requires(post,preun): GConf2 |
28 | Requires: python-gnome | |
f390ec77 | 29 | Requires: python-gnome-desktop-librsvg |
9f1fc0be | 30 | Requires: python-gnome-desktop-libwnck |
3b96c9d2 MB |
31 | Requires: python-gnome-gconf |
32 | Requires: python-gtksourceview2 | |
4d2974dc | 33 | Requires: python-ipython |
9f1fc0be | 34 | Requires: python-pyatspi |
4d2974dc MB |
35 | Requires: python-pygtk-gtk |
36 | BuildArch: noarch | |
37 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
38 | ||
39 | %description | |
40 | An interactive Python accessibility explorer. | |
41 | ||
f2b64c8c JB |
42 | %description -l pl.UTF-8 |
43 | Interaktywny eksplorator dostępności w Pythonie. | |
44 | ||
4d2974dc MB |
45 | %prep |
46 | %setup -q | |
47 | ||
428810a8 MB |
48 | %{__sed} -i -e 's/en@shaw//' po/LINGUAS |
49 | rm -f po/en@shaw.po | |
50 | ||
4d2974dc MB |
51 | %build |
52 | %{__glib_gettextize} | |
53 | %{__intltoolize} | |
54 | %{__aclocal} | |
55 | %{__autoconf} | |
56 | %{__automake} | |
57 | %configure \ | |
58 | --without-pyreqs \ | |
59 | --disable-scrollkeeper | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %py_postclean | |
69 | ||
9f1fc0be | 70 | %find_lang %{name} --with-gnome --with-omf |
4d2974dc MB |
71 | |
72 | %clean | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | ||
75 | %post | |
76 | %gconf_schema_install accerciser.schemas | |
77 | %update_icon_cache hicolor | |
78 | ||
79 | %preun | |
80 | %gconf_schema_uninstall accerciser.schemas | |
81 | ||
82 | %postun | |
83 | %update_icon_cache hicolor | |
84 | ||
85 | %files -f %{name}.lang | |
86 | %defattr(644,root,root,755) | |
87 | %doc AUTHORS COPYING ChangeLog NEWS README | |
88 | %attr(755,root,root) %{_bindir}/accerciser | |
89 | %{_datadir}/accerciser | |
90 | %{_desktopdir}/accerciser.desktop | |
91 | %{_mandir}/man1/accerciser.1* | |
92 | %{_iconsdir}/hicolor/*/*/* | |
93 | %{py_sitescriptdir}/accerciser | |
94 | %{_sysconfdir}/gconf/schemas/accerciser.schemas |