]> git.pld-linux.org Git - packages/atk.git/blame - atk.spec
Update to 2.8.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
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
d5bad364
MB
10Version: 2.8.0
11Release: 1
adc5ecf7 12Epoch: 1
f68bcfa8 13License: LGPL v2+
2c0f206f 14Group: X11/Libraries
d5bad364
MB
15Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/2.8/%{name}-%{version}.tar.xz
16# Source0-md5: c652bd25530825d604dae1c1ebd2da02
693ff330 17URL: http://library.gnome.org/devel/atk/
01af7ce9
MB
18BuildRequires: autoconf >= 2.63
19BuildRequires: automake >= 1:1.10
63b29394 20BuildRequires: docbook-dtd412-xml
ab0b4c04 21BuildRequires: gettext-devel
7b0da334 22BuildRequires: glib2-devel >= 1:2.32.0
01af7ce9 23BuildRequires: gobject-introspection-devel >= 0.10.0
a2fc2193
ŁK
24%if %{with apidocs}
25BuildRequires: gtk-doc >= 1.13
01af7ce9 26BuildRequires: gtk-doc-automake >= 1.13
a2fc2193 27%endif
01af7ce9 28BuildRequires: libtool >= 2:2.2
957a2a07 29BuildRequires: perl-base
975626ac 30BuildRequires: pkgconfig
8bd26b76 31BuildRequires: rpmbuild(macros) >= 1.197
70eb579f
ŁK
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
7b0da334 34Requires: glib2 >= 1:2.32.0
74225e33 35Obsoletes: libatk1.0_0
2488716f 36# sr@Latn vs. sr@latin
37Conflicts: glibc-misc < 6:2.7
0ad5858b 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
314e70df 39
314e70df 40%description
48edf961 41The ATK library provides a set of interfaces for adding accessibility
42support to applications and graphical user interface toolkits. By
43supporting the ATK interfaces, an application or toolkit can be used
44as tools such as screen readers and magnifiers, and alternative input
45devices.
94314051 46
75887df6
JR
47%description -l pl.UTF-8
48Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
49niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
50graficznego interfejsu użytkownika. Poprzez wykorzystanie interfejsów
51ATK, aplikacja lub element interfejsu może być używany z takimi
52narzędziami jak czytniki ekranu i narzędzia powiększające oraz
53alternatywnymi urządzeniami wejściowymi.
54
55%description -l pt_BR.UTF-8
56A biblioteca ATK provê um conjunto de interfaces para adicionar
57suporte a acessibilidade para aplicações e interfaces gráficas.
58Suportando a interface ATK, uma aplicação ou interface gráfica pode
48edf961 59ser utilizada como ferramentas de leitura e aumento de tela,
60dispositivos de entrada alternativos, etc.
314e70df 61
62%package devel
15da6a79 63Summary: ATK - header files
36168609
ER
64Summary(pl.UTF-8): ATK - pliki nagłówkowe
65Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 66Group: X11/Development/Libraries
adc5ecf7 67Requires: %{name} = %{epoch}:%{version}-%{release}
7b0da334 68Requires: glib2-devel >= 1:2.32.0
74225e33 69Obsoletes: libatk1.0_0-devel
7744996b 70
314e70df 71%description devel
15da6a79 72ATK - header files.
314e70df 73
75887df6
JR
74%description devel -l pl.UTF-8
75ATK - pliki nagłówkowe.
94314051 76
75887df6 77%description devel -l pt_BR.UTF-8
48edf961 78Interfaces para suporte a acessibilidade.
79
314e70df 80%package static
10850004 81Summary: ATK static library
36168609
ER
82Summary(pl.UTF-8): Biblioteka statyczna ATK
83Summary(pt_BR.UTF-8): Interfaces para suporte a acessibilidade
2c0f206f 84Group: X11/Development/Libraries
adc5ecf7 85Requires: %{name}-devel = %{epoch}:%{version}-%{release}
7744996b 86
314e70df 87%description static
10850004 88ATK static library.
7744996b 89
75887df6 90%description static -l pl.UTF-8
94314051 91Biblioteka statyczna ATK.
314e70df 92
75887df6 93%description static -l pt_BR.UTF-8
48edf961 94Interfaces para suporte a acessibilidade.
95
00ed319a 96%package apidocs
97Summary: ATK API documentation
36168609 98Summary(pl.UTF-8): Dokumentacja API ATK
00ed319a 99Group: Documentation
100Requires: gtk-doc-common
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
c8a20703 112%{?with_apidocs:%{__gtkdocize}}
29ba22b0 113%{__libtoolize}
75193da9 114%{__aclocal} -I m4
29ba22b0
JB
115%{__autoconf}
116%{__autoheader}
117%{__automake}
65904f3a 118%configure \
01af7ce9
MB
119 --disable-silent-rules \
120 %{__enable_disable apidocs gtk-doc} \
11dbc856 121 --with-html-dir=%{_gtkdocdir} \
01af7ce9 122 %{__enable_disable static_libs static} \
ef42d581 123 --enable-shared
124
7744996b 125%{__make}
314e70df 126
127%install
128rm -rf $RPM_BUILD_ROOT
314e70df 129
10850004 130%{__make} install \
7b09545d 131 DESTDIR=$RPM_BUILD_ROOT
10850004 132
01af7ce9
MB
133%{__rm} $RPM_BUILD_ROOT%{_libdir}/libatk-1.0.la
134
11dbc856
ER
135%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}/atk}
136
02c1a01d
JB
137%{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{sr@ije,sr@ijekavian}
138
139%find_lang atk10
140
314e70df 141%clean
142rm -rf $RPM_BUILD_ROOT
143
8e131f75 144%post -p /sbin/ldconfig
145%postun -p /sbin/ldconfig
94314051 146
ab0b4c04 147%files -f atk10.lang
314e70df 148%defattr(644,root,root,755)
3aca543c 149%doc AUTHORS NEWS README
27cb9681 150%attr(755,root,root) %{_libdir}/libatk-1.0.so.*.*.*
11dbc856 151%attr(755,root,root) %ghost %{_libdir}/libatk-1.0.so.0
75193da9 152%{_libdir}/girepository-1.0/Atk-1.0.typelib
314e70df 153
154%files devel
155%defattr(644,root,root,755)
3aca543c 156%doc ChangeLog
27cb9681 157%attr(755,root,root) %{_libdir}/libatk-1.0.so
27cb9681
JB
158%{_includedir}/atk-1.0
159%{_pkgconfigdir}/atk.pc
889aa899 160%{_datadir}/gir-1.0/Atk-1.0.gir
314e70df 161
ef42d581 162%if %{with static_libs}
314e70df 163%files static
164%defattr(644,root,root,755)
27cb9681 165%{_libdir}/libatk-1.0.a
ef42d581 166%endif
00ed319a 167
168%if %{with apidocs}
169%files apidocs
170%defattr(644,root,root,755)
171%{_gtkdocdir}/atk
172%endif
This page took 5.03921 seconds and 4 git commands to generate.