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