]> git.pld-linux.org Git - packages/atk.git/blame - atk.spec
- updated to 2.38.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
f75e0d6c 10Version: 2.38.0
0d65647a 11Release: 1
adc5ecf7 12Epoch: 1
f68bcfa8 13License: LGPL v2+
2c0f206f 14Group: X11/Libraries
f75e0d6c
JB
15Source0: https://download.gnome.org/sources/atk/2.38/%{name}-%{version}.tar.xz
16# Source0-md5: 4dcea15cbf166706c166fc4fee05e3f8
3d63263d 17URL: https://developer.gnome.org/atk/
63b29394 18BuildRequires: docbook-dtd412-xml
03c1fb22 19BuildRequires: gettext-tools >= 0.19.2
26cacc68 20BuildRequires: glib2-devel >= 1:2.38.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 28BuildRequires: meson >= 0.46.0
26cacc68 29BuildRequires: ninja >= 1.5
975626ac 30BuildRequires: pkgconfig
f75e0d6c 31BuildRequires: rpm-build >= 4.6
f9cfba09 32BuildRequires: rpmbuild(macros) >= 1.736
70eb579f
ŁK
33BuildRequires: tar >= 1:1.22
34BuildRequires: xz
26cacc68 35Requires: glib2 >= 1:2.38.0
f75e0d6c 36Obsoletes: libatk1.0_0 < 1:2
0ad5858b 37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
314e70df 38
314e70df 39%description
48edf961 40The ATK library provides a set of interfaces for adding accessibility
41support to applications and graphical user interface toolkits. By
42supporting the ATK interfaces, an application or toolkit can be used
43as tools such as screen readers and magnifiers, and alternative input
44devices.
94314051 45
75887df6
JR
46%description -l pl.UTF-8
47Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
48niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
49graficznego interfejsu użytkownika. Poprzez wykorzystanie interfejsów
50ATK, aplikacja lub element interfejsu może być używany z takimi
51narzędziami jak czytniki ekranu i narzędzia powiększające oraz
52alternatywnymi urządzeniami wejściowymi.
53
54%description -l pt_BR.UTF-8
55A biblioteca ATK provê um conjunto de interfaces para adicionar
56suporte a acessibilidade para aplicações e interfaces gráficas.
57Suportando a interface ATK, uma aplicação ou interface gráfica pode
48edf961 58ser utilizada como ferramentas de leitura e aumento de tela,
59dispositivos de entrada alternativos, etc.
314e70df 60
61%package devel
15da6a79 62Summary: ATK - header files
36168609
ER
63Summary(pl.UTF-8): ATK - pliki nagłówkowe
64Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 65Group: X11/Development/Libraries
adc5ecf7 66Requires: %{name} = %{epoch}:%{version}-%{release}
26cacc68 67Requires: glib2-devel >= 1:2.38.0
f75e0d6c 68Obsoletes: libatk1.0_0-devel < 1:2
7744996b 69
314e70df 70%description devel
15da6a79 71ATK - header files.
314e70df 72
75887df6
JR
73%description devel -l pl.UTF-8
74ATK - pliki nagłówkowe.
94314051 75
75887df6 76%description devel -l pt_BR.UTF-8
48edf961 77Interfaces para suporte a acessibilidade.
78
314e70df 79%package static
10850004 80Summary: ATK static library
36168609
ER
81Summary(pl.UTF-8): Biblioteka statyczna ATK
82Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 83Group: X11/Development/Libraries
adc5ecf7 84Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7744996b 85
314e70df 86%description static
10850004 87ATK static library.
7744996b 88
75887df6 89%description static -l pl.UTF-8
94314051 90Biblioteka statyczna ATK.
314e70df 91
75887df6 92%description static -l pt_BR.UTF-8
48edf961 93Interfaces para suporte a acessibilidade.
94
00ed319a 95%package apidocs
96Summary: ATK API documentation
36168609 97Summary(pl.UTF-8): Dokumentacja API ATK
00ed319a 98Group: Documentation
99Requires: gtk-doc-common
ecb14010 100BuildArch: noarch
00ed319a 101
102%description apidocs
103ATK API documentation.
104
75887df6 105%description apidocs -l pl.UTF-8
00ed319a 106Dokumentacja API ATK.
107
314e70df 108%prep
0316715c 109%setup -q
314e70df 110
314e70df 111%build
8c52ea81
JB
112%meson build \
113 -Ddocs=%{__true_false apidocs}
114
f9cfba09 115%ninja_build -C build
314e70df 116
117%install
118rm -rf $RPM_BUILD_ROOT
314e70df 119
f9cfba09 120%ninja_install -C build
01af7ce9 121
11dbc856
ER
122%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/atk}
123
ecb14010 124%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
02c1a01d
JB
125
126%find_lang atk10
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)
8c52ea81 136%doc AUTHORS MAINTAINERS 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
75193da9 139%{_libdir}/girepository-1.0/Atk-1.0.typelib
314e70df 140
141%files devel
142%defattr(644,root,root,755)
27cb9681 143%attr(755,root,root) %{_libdir}/libatk-1.0.so
27cb9681
JB
144%{_includedir}/atk-1.0
145%{_pkgconfigdir}/atk.pc
889aa899 146%{_datadir}/gir-1.0/Atk-1.0.gir
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.166673 seconds and 4 git commands to generate.