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