]> git.pld-linux.org Git - packages/atk.git/blame - atk.spec
- updated to 2.32.0
[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
ecb14010 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
d5b194e7 10Version: 2.32.0
0d65647a 11Release: 1
adc5ecf7 12Epoch: 1
f68bcfa8 13License: LGPL v2+
2c0f206f 14Group: X11/Libraries
d5b194e7
JB
15Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/2.32/%{name}-%{version}.tar.xz
16# Source0-md5: c10b0b2af3c199e42caa6275b845c49d
3d63263d 17URL: https://developer.gnome.org/atk/
63b29394 18BuildRequires: docbook-dtd412-xml
03c1fb22 19BuildRequires: gettext-tools >= 0.19.2
7b0da334 20BuildRequires: glib2-devel >= 1:2.32.0
8c52ea81 21%if %(locale -a | grep -q '^C\.utf8$'; echo $?)
da12a7cc
JB
22BuildRequires: glibc-localedb-all
23%endif
c4751c13 24BuildRequires: gobject-introspection-devel >= 1.32.0
a2fc2193 25%if %{with apidocs}
c4751c13 26BuildRequires: gtk-doc >= 1.25
a2fc2193 27%endif
8c52ea81
JB
28BuildRequires: meson >= 0.46.0
29BuildRequires: ninja
975626ac 30BuildRequires: pkgconfig
39fb4997 31BuildRequires: python >= 1:2.5
8c52ea81 32BuildRequires: rpmbuild(macros) >= 1.728
70eb579f
ŁK
33BuildRequires: tar >= 1:1.22
34BuildRequires: xz
7b0da334 35Requires: glib2 >= 1:2.32.0
74225e33 36Obsoletes: libatk1.0_0
2488716f 37# sr@Latn vs. sr@latin
38Conflicts: glibc-misc < 6:2.7
0ad5858b 39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
314e70df 40
314e70df 41%description
48edf961 42The ATK library provides a set of interfaces for adding accessibility
43support to applications and graphical user interface toolkits. By
44supporting the ATK interfaces, an application or toolkit can be used
45as tools such as screen readers and magnifiers, and alternative input
46devices.
94314051 47
75887df6
JR
48%description -l pl.UTF-8
49Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
50niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
51graficznego interfejsu użytkownika. Poprzez wykorzystanie interfejsów
52ATK, aplikacja lub element interfejsu może być używany z takimi
53narzędziami jak czytniki ekranu i narzędzia powiększające oraz
54alternatywnymi urządzeniami wejściowymi.
55
56%description -l pt_BR.UTF-8
57A biblioteca ATK provê um conjunto de interfaces para adicionar
58suporte a acessibilidade para aplicações e interfaces gráficas.
59Suportando a interface ATK, uma aplicação ou interface gráfica pode
48edf961 60ser utilizada como ferramentas de leitura e aumento de tela,
61dispositivos de entrada alternativos, etc.
314e70df 62
63%package devel
15da6a79 64Summary: ATK - header files
36168609
ER
65Summary(pl.UTF-8): ATK - pliki nagłówkowe
66Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 67Group: X11/Development/Libraries
adc5ecf7 68Requires: %{name} = %{epoch}:%{version}-%{release}
7b0da334 69Requires: glib2-devel >= 1:2.32.0
74225e33 70Obsoletes: libatk1.0_0-devel
7744996b 71
314e70df 72%description devel
15da6a79 73ATK - header files.
314e70df 74
75887df6
JR
75%description devel -l pl.UTF-8
76ATK - pliki nagłówkowe.
94314051 77
75887df6 78%description devel -l pt_BR.UTF-8
48edf961 79Interfaces para suporte a acessibilidade.
80
314e70df 81%package static
10850004 82Summary: ATK static library
36168609
ER
83Summary(pl.UTF-8): Biblioteka statyczna ATK
84Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 85Group: X11/Development/Libraries
adc5ecf7 86Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7744996b 87
314e70df 88%description static
10850004 89ATK static library.
7744996b 90
75887df6 91%description static -l pl.UTF-8
94314051 92Biblioteka statyczna ATK.
314e70df 93
75887df6 94%description static -l pt_BR.UTF-8
48edf961 95Interfaces para suporte a acessibilidade.
96
00ed319a 97%package apidocs
98Summary: ATK API documentation
36168609 99Summary(pl.UTF-8): Dokumentacja API ATK
00ed319a 100Group: Documentation
101Requires: gtk-doc-common
ecb14010
ER
102%if "%{_rpmversion}" >= "5"
103BuildArch: noarch
104%endif
00ed319a 105
106%description apidocs
107ATK API documentation.
108
75887df6 109%description apidocs -l pl.UTF-8
00ed319a 110Dokumentacja API ATK.
111
314e70df 112%prep
0316715c 113%setup -q
314e70df 114
314e70df 115%build
8c52ea81
JB
116%meson build \
117 -Ddocs=%{__true_false apidocs}
118
119%meson_build -C build
314e70df 120
121%install
122rm -rf $RPM_BUILD_ROOT
314e70df 123
8c52ea81 124%meson_install -C build
01af7ce9 125
11dbc856
ER
126%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/atk}
127
ecb14010 128%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
02c1a01d
JB
129
130%find_lang atk10
131
314e70df 132%clean
133rm -rf $RPM_BUILD_ROOT
134
8e131f75 135%post -p /sbin/ldconfig
136%postun -p /sbin/ldconfig
94314051 137
ab0b4c04 138%files -f atk10.lang
314e70df 139%defattr(644,root,root,755)
8c52ea81 140%doc AUTHORS MAINTAINERS NEWS README
27cb9681 141%attr(755,root,root) %{_libdir}/libatk-1.0.so.*.*.*
11dbc856 142%attr(755,root,root) %ghost %{_libdir}/libatk-1.0.so.0
75193da9 143%{_libdir}/girepository-1.0/Atk-1.0.typelib
314e70df 144
145%files devel
146%defattr(644,root,root,755)
27cb9681 147%attr(755,root,root) %{_libdir}/libatk-1.0.so
27cb9681
JB
148%{_includedir}/atk-1.0
149%{_pkgconfigdir}/atk.pc
889aa899 150%{_datadir}/gir-1.0/Atk-1.0.gir
314e70df 151
ef42d581 152%if %{with static_libs}
314e70df 153%files static
154%defattr(644,root,root,755)
27cb9681 155%{_libdir}/libatk-1.0.a
ef42d581 156%endif
00ed319a 157
158%if %{with apidocs}
159%files apidocs
160%defattr(644,root,root,755)
161%{_gtkdocdir}/atk
162%endif
This page took 0.222169 seconds and 4 git commands to generate.