]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
- 1.12.2, updated deps
[packages/atk.git] / atk.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # disable gtk-doc
4 %bcond_without  static_libs     # don't build static library
5 #
6 Summary:        ATK - Accessibility Toolkit
7 Summary(pl):    ATK - biblioteka u³atwiaj±ca niepe³nosprawnym korzystanie z komputerów
8 Summary(pt_BR): Interfaces para suporte a acessibilidade
9 Name:           atk
10 Version:        1.12.2
11 Release:        1
12 Epoch:          1
13 License:        LGPL v2+
14 Group:          X11/Libraries
15 Source0:        http://ftp.gnome.org/pub/gnome/sources/atk/1.12/%{name}-%{version}.tar.bz2
16 # Source0-md5:  c753b04801c6c3334a9e0ec54551ace4
17 URL:            http://developer.gnome.org/projects/gap/
18 BuildRequires:  autoconf >= 2.54
19 BuildRequires:  automake
20 BuildRequires:  diffutils
21 BuildRequires:  gettext-devel
22 BuildRequires:  glib2-devel >= 1:2.12.2
23 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.7}
24 BuildRequires:  gtk-doc-automake >= 1.7
25 BuildRequires:  libtool >= 2:1.5.16
26 BuildRequires:  perl-base
27 BuildRequires:  pkgconfig
28 BuildRequires:  rpmbuild(macros) >= 1.197
29 Requires:       glib2 >= 1:2.12.2
30 Obsoletes:      libatk1.0_0
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 The ATK library provides a set of interfaces for adding accessibility
35 support to applications and graphical user interface toolkits. By
36 supporting the ATK interfaces, an application or toolkit can be used
37 as tools such as screen readers and magnifiers, and alternative input
38 devices.
39
40 %description -l pl
41 Biblioteka ATK udostêpnia zestaw interfejsów u³atwiaj±cych
42 niepe³nosprawnym korzystanie z aplikacji i poszczególnych elementów
43 graficznego interfejsu u¿ytkownika. Poprzez wykorzystanie interfejsów
44 ATK, aplikacja lub element interfejsu mo¿e byæ u¿ywany z takimi
45 narzêdziami jak czytniki ekranu i narzêdzia powiêkszaj±ce oraz
46 alternatywnymi urz±dzeniami wej¶ciowymi.
47
48 %description -l pt_BR
49 A biblioteca ATK provê um conjunto de interfaces para adicionar
50 suporte a acessibilidade para aplicações e interfaces gráficas.
51 Suportando a interface ATK, uma aplicação ou interface gráfica pode
52 ser utilizada como ferramentas de leitura e aumento de tela,
53 dispositivos de entrada alternativos, etc.
54
55 %package devel
56 Summary:        ATK - header and development documentation
57 Summary(pl):    Pliki nag³ówkowe i dokumentacja
58 Summary(pt_BR): Interfaces para suporte a acessibilidade
59 Group:          X11/Development/Libraries
60 Requires:       %{name} = %{epoch}:%{version}-%{release}
61 Requires:       glib2-devel >= 1:2.12.2
62 Requires:       gtk-doc-common
63 Obsoletes:      libatk1.0_0-devel
64
65 %description devel
66 ATK - header and development documentation.
67
68 %description devel -l pl
69 ATK - pliki nag³ówkowe i dokumentacja programisty.
70
71 %description devel -l pt_BR
72 Interfaces para suporte a acessibilidade.
73
74 %package static
75 Summary:        ATK static library
76 Summary(pl):    Biblioteka statyczna ATK
77 Summary(pt_BR): Interfaces para suporte a acessibilidade
78 Group:          X11/Development/Libraries
79 Requires:       %{name}-devel = %{epoch}:%{version}-%{release}
80
81 %description static
82 ATK static library.
83
84 %description static -l pl
85 Biblioteka statyczna ATK.
86
87 %description static -l pt_BR
88 Interfaces para suporte a acessibilidade.
89
90 %package apidocs
91 Summary:        ATK API documentation
92 Summary(pl):    Dokumentacja API ATK
93 Group:          Documentation
94 Requires:       gtk-doc-common
95
96 %description apidocs
97 ATK API documentation.
98
99 %description apidocs -l pl
100 Dokumentacja API ATK.
101
102 %prep
103 %setup -q
104
105 %build
106 %{?with_apidocs:%{__gtkdocize}}
107 %{__libtoolize}
108 %{__aclocal}
109 %{__autoconf}
110 %{__autoheader}
111 %{__automake}
112 %configure \
113         --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
114         %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
115         --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
116         --enable-shared
117
118 %{__make}
119
120 %install
121 rm -rf $RPM_BUILD_ROOT
122
123 %{__make} install \
124         DESTDIR=$RPM_BUILD_ROOT
125
126 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{as,tk,ug}
127
128 %find_lang atk10
129
130 %clean
131 rm -rf $RPM_BUILD_ROOT
132
133 %post   -p /sbin/ldconfig
134 %postun -p /sbin/ldconfig
135
136 %files -f atk10.lang
137 %defattr(644,root,root,755)
138 %doc AUTHORS NEWS README
139 %attr(755,root,root) %{_libdir}/lib*.so.*.*
140
141 %files devel
142 %defattr(644,root,root,755)
143 %doc ChangeLog
144 %attr(755,root,root) %{_libdir}/lib*.so
145 %{_libdir}/lib*.la
146 %{_includedir}/atk*
147 %{_pkgconfigdir}/atk*
148 %if %{with apidocs}
149 %{_gtkdocdir}/atk
150 %endif
151
152 %if %{with static_libs}
153 %files static
154 %defattr(644,root,root,755)
155 %{_libdir}/lib*.a
156 %endif
157
158 %if %{with apidocs}
159 %files apidocs
160 %defattr(644,root,root,755)
161 %{_gtkdocdir}/atk
162 %endif
This page took 0.099558 seconds and 4 git commands to generate.