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