]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
- version 1.3.4 from snap for now, still waiting for release
[packages/atk.git] / atk.spec
1
2 %define         snap    20030617
3
4 Summary:        ATK - Accessibility Toolkit
5 Summary(pl):    ATK - biblioteka u³atwiaj±ca niepe³nosprawnym korzystanie z komputerów
6 Summary(pt_BR): Interfaces para suporte a acessibilidade
7 Name:           atk
8 Version:        1.3.4
9 Release:        0.%{snap}
10 License:        GPL
11 Group:          X11/Libraries
12 #Source0:       http://ftp.gnome.org/pub/gnome/sources/%{name}/1.3/%{name}-%{version}.tar.bz2
13 Source0:        %{name}-%{version}-%{snap}.tar.bz2
14 # Source0-md5:  99e5829b07d3171d486b9f0d467c9b1b
15 URL:            http://developer.gnome.org/projects/gap/
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  diffutils
19 BuildRequires:  gettext-devel
20 BuildRequires:  glib2-devel >= 2.2.0
21 BuildRequires:  gtk-doc >= 0.9-4
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpm-build >= 4.1-10
25 Buildroot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Obsoletes:      libatk1.0_0
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} = %{version}
56 Requires:       glib2-devel
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 = %{version}
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 cp /usr/share/gtk-doc/data/gtk-doc.make .
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
101 %{__make}
102
103 %install
104 rm -rf $RPM_BUILD_ROOT
105
106 %{__make} install \
107         DESTDIR=$RPM_BUILD_ROOT 
108
109 %find_lang atk10
110
111 %clean
112 rm -rf $RPM_BUILD_ROOT
113
114 %post   -p /sbin/ldconfig
115 %postun -p /sbin/ldconfig
116
117 %files -f atk10.lang
118 %defattr(644,root,root,755)
119 %doc AUTHORS NEWS README
120 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121
122 %files devel
123 %defattr(644,root,root,755)
124 %doc ChangeLog
125 %{_libdir}/liba*.la
126 %attr(755,root,root) %{_libdir}/liba*.so
127 %{_includedir}/atk*
128 %{_pkgconfigdir}/atk*
129 %{_gtkdocdir}/atk
130
131 %files static
132 %defattr(644,root,root,755)
133 %attr(644,root,root) %{_libdir}/liba*.a
This page took 0.068556 seconds and 4 git commands to generate.