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