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