]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
- i18n support was added, so use it; release 3
[packages/atk.git] / atk.spec
1 Summary:        ATK - Accessibility Toolkit
2 Summary(pl):    ATK - biblioteka u³atwiaj±ca niepe³nosprawnym korzystanie z komputerów
3 Summary(pt_BR): Interfaces para suporte a acessibilidade
4 Name:           atk
5 Version:        1.1.2
6 Release:        3
7 License:        GPL
8 Group:          X11/Libraries
9 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.1/%{name}-%{version}.tar.bz2
10 Patch0:         %{name}-am16.patch
11 Patch1:         %{name}-xmldoc.patch
12 Patch2:         %{name}-docs-Makefile.patch
13 URL:            http://developer.gnome.org/projects/gap/
14 BuildRequires:  autoconf
15 BuildRequires:  automake
16 BuildRequires:  diffutils
17 BuildRequires:  gettext-devel
18 BuildRequires:  glib2-devel >= 2.0.6
19 BuildRequires:  gtk-doc >= 0.9-4
20 BuildRequires:  libtool
21 BuildRequires:  pango-devel >= 1.0.4
22 BuildRequires:  pkgconfig
23 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Obsoletes:      libatk1.0_0
25
26 %define         _prefix         /usr/X11R6
27 %define         _mandir         %{_prefix}/man
28 %define         _gtkdocdir      %{_defaultdocdir}/gtk-doc/html
29
30 %description
31 The ATK library provides a set of interfaces for adding accessibility
32 support to applications and graphical user interface toolkits. By
33 supporting the ATK interfaces, an application or toolkit can be used
34 as tools such as screen readers and magnifiers, and alternative input
35 devices.
36
37 %description -l pl
38 Biblioteka ATK udostêpnia zestaw interfejsów u³atwiaj±cych
39 niepe³nosprawnym korzystanie z aplikacji i poszczególnych elementów
40 graficznego interfejsu u¿ytkownika. Poprzez wykorzystanie interfejsów
41 ATK, aplikacja lub element interfejsu mo¿e byæ u¿ywany z takimi
42 narzêdziami jak czytniki ekranu i narzêdzia powiêkszaj±ce oraz
43 alternatywnymi urz±dzeniami wej¶ciowymi.
44
45 %description -l pt_BR
46 A biblioteca ATK provê um conjunto de interfaces para adicionar
47 suporte a acessibilidade para aplicações e interfaces gráficas.
48 Suportando a interface ATK, uma aplicação ou interface gráfica pode
49 ser utilizada como ferramentas de leitura e aumento de tela,
50 dispositivos de entrada alternativos, etc.
51
52 %package devel
53 Summary:        ATK - header and development documentation
54 Summary(pl):    Pliki nag³ówkowe i dokumentacja
55 Summary(pt_BR): Interfaces para suporte a acessibilidade
56 Group:          X11/Development/Libraries
57 Requires:       %{name} = %{version}
58 Requires:       glib2-devel
59 Requires:       gtk-doc-common
60 Obsoletes:      libatk1.0_0-devel
61
62 %description devel
63 ATK - header and development documentation.
64
65 %description devel -l pl
66 ATK - pliki nag³ówkowe i dokumentacja programisty.
67
68 %description devel -l pt_BR
69 Interfaces para suporte a acessibilidade.
70
71 %package static
72 Summary:        ATK static library
73 Summary(pl):    Biblioteka statyczna ATK
74 Summary(pt_BR): Interfaces para suporte a acessibilidade
75 Group:          X11/Development/Libraries
76 Requires:       %{name}-devel = %{version}
77
78 %description static
79 ATK static library.
80
81 %description static -l pl
82 Biblioteka statyczna ATK.
83
84 %description static -l pt_BR
85 Interfaces para suporte a acessibilidade.
86
87 %prep
88 %setup -q
89 %patch0 -p1
90 %patch1 -p1
91 %patch2 -p1
92
93 %build
94 rm -f missing acinclude.m4
95 %{__libtoolize}
96 %{__aclocal}
97 %{__autoconf}
98 %{__automake}
99 %configure \
100         --enable-static \
101         --enable-shared \
102         --enable-gtk-doc \
103         --with-html-dir=%{_gtkdocdir}
104
105 %{__make}
106
107 %install
108 rm -rf $RPM_BUILD_ROOT
109
110 %{__make} install \
111         DESTDIR=$RPM_BUILD_ROOT \
112         pkgconfigdir=%{_pkgconfigdir} \
113         HTML_DIR=%{_gtkdocdir}
114
115 %find_lang atk10
116
117 %clean
118 rm -rf $RPM_BUILD_ROOT
119
120 %post   -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
122
123 %files -f atk10.lang
124 %defattr(644,root,root,755)
125 %doc AUTHORS NEWS README
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*
127
128 %files devel
129 %defattr(644,root,root,755)
130 %doc ChangeLog
131 %attr(755,root,root) %{_libdir}/liba*.??
132 %{_includedir}/atk*
133 %{_pkgconfigdir}/atk*
134 %{_gtkdocdir}/atk
135
136 %files static
137 %defattr(644,root,root,755)
138 %attr(644,root,root) %{_libdir}/liba*.a
This page took 0.076877 seconds and 4 git commands to generate.