]> git.pld-linux.org Git - packages/atk.git/blame - atk.spec
- updated to 2.0.1
[packages/atk.git] / atk.spec
CommitLineData
2023cd2d
JB
1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4%bcond_without static_libs # don't build static library
5#
314e70df 6Summary: ATK - Accessibility Toolkit
36168609
ER
7Summary(pl.UTF-8): ATK - biblioteka ułatwiająca niepełnosprawnym korzystanie z komputerów
8Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
314e70df 9Name: atk
86764ffe 10Version: 2.0.1
154e8e2c 11Release: 1
adc5ecf7 12Epoch: 1
f68bcfa8 13License: LGPL v2+
2c0f206f 14Group: X11/Libraries
01af7ce9 15Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/2.0/%{name}-%{version}.tar.bz2
86764ffe 16# Source0-md5: 87f20b78deaedef858ac54358c0786b1
693ff330 17URL: http://library.gnome.org/devel/atk/
01af7ce9
MB
18BuildRequires: autoconf >= 2.63
19BuildRequires: automake >= 1:1.10
63b29394 20BuildRequires: docbook-dtd412-xml
ab0b4c04 21BuildRequires: gettext-devel
ba06bb46 22BuildRequires: glib2-devel >= 1:2.20.0
01af7ce9
MB
23BuildRequires: gobject-introspection-devel >= 0.10.0
24%{?with_apidocs:BuildRequires: gtk-doc >= 1.13}
25BuildRequires: gtk-doc-automake >= 1.13
26BuildRequires: libtool >= 2:2.2
957a2a07 27BuildRequires: perl-base
975626ac 28BuildRequires: pkgconfig
8bd26b76 29BuildRequires: rpmbuild(macros) >= 1.197
ba06bb46 30Requires: glib2 >= 1:2.20.0
74225e33 31Obsoletes: libatk1.0_0
2488716f 32# sr@Latn vs. sr@latin
33Conflicts: glibc-misc < 6:2.7
0ad5858b 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
314e70df 35
314e70df 36%description
48edf961 37The ATK library provides a set of interfaces for adding accessibility
38support to applications and graphical user interface toolkits. By
39supporting the ATK interfaces, an application or toolkit can be used
40as tools such as screen readers and magnifiers, and alternative input
41devices.
94314051 42
75887df6
JR
43%description -l pl.UTF-8
44Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
45niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
46graficznego interfejsu użytkownika. Poprzez wykorzystanie interfejsów
47ATK, aplikacja lub element interfejsu może być używany z takimi
48narzędziami jak czytniki ekranu i narzędzia powiększające oraz
49alternatywnymi urządzeniami wejściowymi.
50
51%description -l pt_BR.UTF-8
52A biblioteca ATK provê um conjunto de interfaces para adicionar
53suporte a acessibilidade para aplicações e interfaces gráficas.
54Suportando a interface ATK, uma aplicação ou interface gráfica pode
48edf961 55ser utilizada como ferramentas de leitura e aumento de tela,
56dispositivos de entrada alternativos, etc.
314e70df 57
58%package devel
15da6a79 59Summary: ATK - header files
36168609
ER
60Summary(pl.UTF-8): ATK - pliki nagłówkowe
61Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 62Group: X11/Development/Libraries
adc5ecf7 63Requires: %{name} = %{epoch}:%{version}-%{release}
ba06bb46 64Requires: glib2-devel >= 1:2.20.0
74225e33 65Obsoletes: libatk1.0_0-devel
7744996b 66
314e70df 67%description devel
15da6a79 68ATK - header files.
314e70df 69
75887df6
JR
70%description devel -l pl.UTF-8
71ATK - pliki nagłówkowe.
94314051 72
75887df6 73%description devel -l pt_BR.UTF-8
48edf961 74Interfaces para suporte a acessibilidade.
75
314e70df 76%package static
10850004 77Summary: ATK static library
36168609
ER
78Summary(pl.UTF-8): Biblioteka statyczna ATK
79Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 80Group: X11/Development/Libraries
adc5ecf7 81Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7744996b 82
314e70df 83%description static
10850004 84ATK static library.
7744996b 85
75887df6 86%description static -l pl.UTF-8
94314051 87Biblioteka statyczna ATK.
314e70df 88
75887df6 89%description static -l pt_BR.UTF-8
48edf961 90Interfaces para suporte a acessibilidade.
91
00ed319a 92%package apidocs
93Summary: ATK API documentation
36168609 94Summary(pl.UTF-8): Dokumentacja API ATK
00ed319a 95Group: Documentation
96Requires: gtk-doc-common
97
98%description apidocs
99ATK API documentation.
100
75887df6 101%description apidocs -l pl.UTF-8
00ed319a 102Dokumentacja API ATK.
103
314e70df 104%prep
0316715c 105%setup -q
314e70df 106
314e70df 107%build
c8a20703 108%{?with_apidocs:%{__gtkdocize}}
29ba22b0 109%{__libtoolize}
75193da9 110%{__aclocal} -I m4
29ba22b0
JB
111%{__autoconf}
112%{__autoheader}
113%{__automake}
65904f3a 114%configure \
01af7ce9
MB
115 --disable-silent-rules \
116 %{__enable_disable apidocs gtk-doc} \
11dbc856 117 --with-html-dir=%{_gtkdocdir} \
01af7ce9 118 %{__enable_disable static_libs static} \
ef42d581 119 --enable-shared
120
7744996b 121%{__make}
314e70df 122
123%install
124rm -rf $RPM_BUILD_ROOT
314e70df 125
10850004 126%{__make} install \
7b09545d 127 DESTDIR=$RPM_BUILD_ROOT
10850004 128
01af7ce9
MB
129%{__rm} $RPM_BUILD_ROOT%{_libdir}/libatk-1.0.la
130
ab0b4c04
JB
131%find_lang atk10
132
11dbc856
ER
133%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/atk}
134
314e70df 135%clean
136rm -rf $RPM_BUILD_ROOT
137
8e131f75 138%post -p /sbin/ldconfig
139%postun -p /sbin/ldconfig
94314051 140
ab0b4c04 141%files -f atk10.lang
314e70df 142%defattr(644,root,root,755)
3aca543c 143%doc AUTHORS NEWS README
27cb9681 144%attr(755,root,root) %{_libdir}/libatk-1.0.so.*.*.*
11dbc856 145%attr(755,root,root) %ghost %{_libdir}/libatk-1.0.so.0
75193da9 146%{_libdir}/girepository-1.0/Atk-1.0.typelib
314e70df 147
148%files devel
149%defattr(644,root,root,755)
3aca543c 150%doc ChangeLog
27cb9681 151%attr(755,root,root) %{_libdir}/libatk-1.0.so
27cb9681
JB
152%{_includedir}/atk-1.0
153%{_pkgconfigdir}/atk.pc
889aa899 154%{_datadir}/gir-1.0/Atk-1.0.gir
314e70df 155
ef42d581 156%if %{with static_libs}
314e70df 157%files static
158%defattr(644,root,root,755)
27cb9681 159%{_libdir}/libatk-1.0.a
ef42d581 160%endif
00ed319a 161
162%if %{with apidocs}
163%files apidocs
164%defattr(644,root,root,755)
165%{_gtkdocdir}/atk
166%endif
This page took 0.075976 seconds and 4 git commands to generate.