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