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