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