]> git.pld-linux.org Git - packages/accerciser.git/blob - accerciser.spec
- release 4
[packages/accerciser.git] / accerciser.spec
1 Summary:        An interactive Python tool for querying accessibility information
2 Summary(pl.UTF-8):      Interaktywne narzędzie w Pythonie do pobierania informacji o dostępności
3 Name:           accerciser
4 Version:        1.10.1
5 Release:        4
6 License:        BSD
7 Group:          X11/Applications/Accessibility
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/accerciser/1.10/%{name}-%{version}.tar.bz2
9 # Source0-md5:  15b14e77108c2fc9ffbef59e9d6cb5b7
10 URL:            http://live.gnome.org/Accerciser
11 BuildRequires:  GConf2-devel >= 2.24.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  docbook-dtd412-xml
15 BuildRequires:  gettext-devel
16 BuildRequires:  gnome-doc-utils >= 0.14.0
17 BuildRequires:  intltool >= 0.40.0
18 BuildRequires:  libxml2-progs
19 BuildRequires:  pkgconfig
20 BuildRequires:  python >= 1:2.4
21 BuildRequires:  rpm-pythonprov
22 BuildRequires:  rpmbuild(find_lang) >= 1.23
23 BuildRequires:  rpmbuild(macros) >= 1.311
24 BuildRequires:  sed >= 4.0
25 Requires(post,postun):  gtk+2
26 Requires(post,postun):  hicolor-icon-theme
27 Requires(post,preun):   GConf2
28 Requires:       python-gnome
29 Requires:       python-gnome-desktop-librsvg
30 Requires:       python-gnome-desktop-libwnck
31 Requires:       python-gnome-gconf
32 Requires:       python-gtksourceview2
33 Requires:       python-ipython
34 Requires:       python-pyatspi
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
42 %description -l pl.UTF-8
43 Interaktywny eksplorator dostępności w Pythonie.
44
45 %prep
46 %setup -q
47
48 %{__sed} -i -e 's/en@shaw//' po/LINGUAS
49 rm -f po/en@shaw.po
50
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
70 %find_lang %{name} --with-gnome --with-omf
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
This page took 0.081652 seconds and 3 git commands to generate.