]> git.pld-linux.org Git - packages/atk.git/blob - atk.spec
- no more gtk-doc BUAHAHAHAHA
[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.10.3
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.10/%{name}-%{version}.tar.bz2
16 # Source0-md5:  c84a01fea567b365c0d44b227fead948
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.8.1
23 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.4}
24 BuildRequires:  gtk-doc-automake >= 1.4
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.6.3
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.8.1
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 %prep
91 %setup -q
92
93 %build
94 %{?with_apidocs:%{__gtkdocize}}
95 %{__libtoolize}
96 %{__aclocal}
97 %{__autoconf}
98 %{__autoheader}
99 %{__automake}
100 %configure \
101         --%{?with_apidocs:en}%{!?with_apidocs:dis}able-gtk-doc \
102         %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
103         --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
104         --enable-shared
105
106 %{__make}
107
108 %install
109 rm -rf $RPM_BUILD_ROOT
110
111 %{__make} install \
112         DESTDIR=$RPM_BUILD_ROOT
113
114 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
115
116 %find_lang atk10
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
123
124 %files -f atk10.lang
125 %defattr(644,root,root,755)
126 %doc AUTHORS NEWS README
127 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128
129 %files devel
130 %defattr(644,root,root,755)
131 %doc ChangeLog
132 %attr(755,root,root) %{_libdir}/lib*.so
133 %{_libdir}/lib*.la
134 %{_includedir}/atk*
135 %{_pkgconfigdir}/atk*
136 %if %{with apidocs}
137 %{_gtkdocdir}/atk
138 %endif
139
140 %if %{with static_libs}
141 %files static
142 %defattr(644,root,root,755)
143 %{_libdir}/lib*.a
144 %endif
This page took 0.053924 seconds and 4 git commands to generate.