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