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