]> git.pld-linux.org Git - packages/orca.git/blob - orca.spec
- up to 2.20.2
[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.20.2
5 Release:        1
6 License:        LGPL
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/orca/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  dbb7ecdb53201a951e5acff8931d0e98
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:       at-spi
30 Requires:       eel
31 Requires:       gnome-mag >= 0.14.8
32 Requires:       gnome-speech-driver
33 Requires:       python-pygtk-atk
34 Requires:       python-pygobject
35 Provides:       gnopernicus
36 Obsoletes:      gnopernicus
37 # sr@Latn vs. sr@latin
38 Conflicts:      glibc-misc < 6:2.7
39 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41 %description
42 Orca is a flexible, extensible, and powerful assistive technology for
43 people with visual impairments. Using various combinations of speech
44 synthesis, braille, and magnification, Orca helps provide access to
45 applications and toolkits that support the AT-SPI (e.g., the GNOME
46 desktop).
47
48 %description -l pl.UTF-8
49 Orca to elastyczna, rozszerzalna i potężna technologia wspomagająca
50 dla ludzi z zaburzeniami widzenia. Przy użyciu różnych kombinacji
51 syntezy mowy, braille'a i powiększania Orca pomaga w uzyskaniu
52 dostępu do aplikacji i toolkitów obsługujących AT-SPI (np.
53 pochodzących ze środowiska GNOME).
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 sed -i -e s#sr\@Latn#sr\@latin# po/LINGUAS
60 mv -f po/sr\@{Latn,latin}.po
61
62 %build
63 %{__glib_gettextize}
64 %{__intltoolize}
65 %{__libtoolize}
66 %{__aclocal}
67 %{__autoconf}
68 %{__autoheader}
69 %{__automake}
70 %configure
71 %{__make}
72
73 %install
74 rm -rf $RPM_BUILD_ROOT
75
76 %{__make} install \
77         DESTDIR=$RPM_BUILD_ROOT
78
79 rm -f $RPM_BUILD_ROOT%{py_sitedir}/orca/brlmodule.la
80 %py_postclean
81
82 %find_lang %{name}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post
88 %update_icon_cache hicolor
89
90 %postun
91 %update_icon_cache hicolor
92
93 %files -f %{name}.lang
94 %defattr(644,root,root,755)
95 %doc AUTHORS ChangeLog MAINTAINERS NEWS README TODO
96 %attr(755,root,root) %{_bindir}/orca
97 %dir %{_datadir}/orca
98 %dir %{_datadir}/orca/glade
99 %{_datadir}/orca/glade/*.glade
100 %{_desktopdir}/orca.desktop
101 %{_iconsdir}/hicolor/*/*/orca.*
102 %dir %{py_sitedir}/orca
103 %attr(755,root,root) %{py_sitedir}/orca/brlmodule.so
104 %{py_sitedir}/orca/*.py[co]
105 %dir %{py_sitedir}/orca/scripts
106 %{py_sitedir}/orca/scripts/*.py[co]
107 %{_mandir}/man1/orca.1*
This page took 0.067349 seconds and 4 git commands to generate.