]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
- added missing BR gcc-c++
[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 BuildRequires:  gcc-c++
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}
54 Requires:       glib2-devel >= 2.2.3
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}
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
86 %build
87 cp /usr/share/gtk-doc/data/gtk-doc.make .
88 %{__libtoolize}
89 %{__aclocal}
90 %{__autoconf}
91 %{__autoheader}
92 %{__automake}
93 %configure \
94         --enable-static \
95         --enable-shared \
96         --enable-gtk-doc \
97         --with-html-dir=%{_gtkdocdir}
98
99 %{__make}
100
101 %install
102 rm -rf $RPM_BUILD_ROOT
103
104 %{__make} install \
105         DESTDIR=$RPM_BUILD_ROOT
106
107 %find_lang atk10
108
109 %clean
110 rm -rf $RPM_BUILD_ROOT
111
112 %post   -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
114
115 %files -f atk10.lang
116 %defattr(644,root,root,755)
117 %doc AUTHORS NEWS README
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
119
120 %files devel
121 %defattr(644,root,root,755)
122 %doc ChangeLog
123 %{_libdir}/liba*.la
124 %attr(755,root,root) %{_libdir}/liba*.so
125 %{_includedir}/atk*
126 %{_pkgconfigdir}/atk*
127 %{_gtkdocdir}/atk
128
129 %files static
130 %defattr(644,root,root,755)
131 %attr(644,root,root) %{_libdir}/liba*.a
This page took 0.375152 seconds and 4 git commands to generate.