]> git.pld-linux.org Git - packages/orca.git/blob - orca.spec
- added R: libgail-gnome
[packages/orca.git] / orca.spec
1 Summary:        Flexible, extensible, and powerful assistive technology
2 Summary(pl.UTF-8):      Elastyczna, rozszerzalna i potężna technologia wspomagająca
3 Name:           orca
4 Version:        2.21.4
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/orca/2.21/%{name}-%{version}.tar.bz2
9 # Source0-md5:  50d6eab67bf50d9588873160666392ff
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/projects/orca/
12 BuildRequires:  ORBit2-devel >= 1:2.14.8
13 BuildRequires:  at-spi-devel >= 1.20.0
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  brlapi-devel
17 BuildRequires:  glib2-devel >= 1:2.14.2
18 BuildRequires:  gnome-mag >= 0.14.8
19 BuildRequires:  gnome-speech >= 0.4.11
20 BuildRequires:  intltool >= 0.36.2
21 BuildRequires:  libbonobo-devel >= 2.20.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  python-devel >= 2.4
25 BuildRequires:  python-gnome-bonobo >= 2.20.0
26 BuildRequires:  rpmbuild(macros) >= 1.311
27 Requires(post,postun):  gtk+2
28 Requires(post,postun):  hicolor-icon-theme
29 Requires:       python-pyatspi
30 Requires:       eel
31 Requires:       gnome-mag >= 0.14.8
32 Requires:       gnome-speech-driver
33 # XXX: based on spotted runtime errors:
34 Requires:       libgail-gnome
35 #
36 Requires:       python-pygtk-atk
37 Requires:       python-pygobject
38 Provides:       gnopernicus
39 Obsoletes:      gnopernicus
40 # sr@Latn vs. sr@latin
41 Conflicts:      glibc-misc < 6:2.7
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %description
45 Orca is a flexible, extensible, and powerful assistive technology for
46 people with visual impairments. Using various combinations of speech
47 synthesis, braille, and magnification, Orca helps provide access to
48 applications and toolkits that support the AT-SPI (e.g., the GNOME
49 desktop).
50
51 %description -l pl.UTF-8
52 Orca to elastyczna, rozszerzalna i potężna technologia wspomagająca
53 dla ludzi z zaburzeniami widzenia. Przy użyciu różnych kombinacji
54 syntezy mowy, braille'a i powiększania Orca pomaga w uzyskaniu
55 dostępu do aplikacji i toolkitów obsługujących AT-SPI (np.
56 pochodzących ze środowiska GNOME).
57
58 %prep
59 %setup -q
60 %patch0 -p1
61
62 sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
63 mv -f po/sr\@{Latn,latin}.po
64
65 %build
66 %{__glib_gettextize}
67 %{__intltoolize}
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure
74 %{__make}
75
76 %install
77 rm -rf $RPM_BUILD_ROOT
78
79 %{__make} install \
80         DESTDIR=$RPM_BUILD_ROOT
81
82 rm -f $RPM_BUILD_ROOT%{py_sitedir}/orca/brlmodule.la
83 %py_postclean
84
85 %find_lang %{name}
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %post
91 %update_icon_cache hicolor
92
93 %postun
94 %update_icon_cache hicolor
95
96 %files -f %{name}.lang
97 %defattr(644,root,root,755)
98 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
99 %attr(755,root,root) %{_bindir}/orca
100 %dir %{_datadir}/orca
101 %dir %{_datadir}/orca/glade
102 %{_datadir}/orca/glade/*.glade
103 %{_desktopdir}/orca.desktop
104 %{_iconsdir}/hicolor/*/*/orca.*
105 %dir %{py_sitedir}/orca
106 %attr(755,root,root) %{py_sitedir}/orca/brlmodule.so
107 %{py_sitedir}/orca/*.py[co]
108 %dir %{py_sitedir}/orca/scripts
109 %{py_sitedir}/orca/scripts/*.py[co]
110 %{_mandir}/man1/orca.1*
This page took 0.070362 seconds and 4 git commands to generate.