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