]> git.pld-linux.org Git - packages/atk.git/blame - atk.spec
- fixed URL
[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
ba06bb46 10Version: 1.26.0
36f4b8e5 11Release: 1
adc5ecf7 12Epoch: 1
f68bcfa8 13License: LGPL v2+
2c0f206f 14Group: X11/Libraries
ba06bb46
MB
15Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/1.26/%{name}-%{version}.tar.bz2
16# Source0-md5: 719229408019c548855673840679f156
693ff330 17URL: http://library.gnome.org/devel/atk/
e44f91cc 18BuildRequires: autoconf >= 2.54
3aca543c 19BuildRequires: automake
ab0b4c04 20BuildRequires: gettext-devel
ba06bb46 21BuildRequires: glib2-devel >= 1:2.20.0
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
ba06bb46 28Requires: glib2 >= 1:2.20.0
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}
ba06bb46 62Requires: glib2-devel >= 1:2.20.0
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 \
11dbc856 113 --with-html-dir=%{_gtkdocdir} \
ef42d581 114 --%{?with_static_libs:en}%{!?with_static_libs:dis}able-static \
115 --enable-shared
116
7744996b 117%{__make}
314e70df 118
119%install
120rm -rf $RPM_BUILD_ROOT
314e70df 121
10850004 122%{__make} install \
7b09545d 123 DESTDIR=$RPM_BUILD_ROOT
10850004 124
ab0b4c04
JB
125%find_lang atk10
126
11dbc856
ER
127%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/atk}
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)
3aca543c 137%doc AUTHORS 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
314e70df 140
141%files devel
142%defattr(644,root,root,755)
3aca543c 143%doc ChangeLog
27cb9681
JB
144%attr(755,root,root) %{_libdir}/libatk-1.0.so
145%{_libdir}/libatk-1.0.la
146%{_includedir}/atk-1.0
147%{_pkgconfigdir}/atk.pc
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.912942 seconds and 4 git commands to generate.