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