]> git.pld-linux.org Git - packages/crossmingw32-atk.git/blob - crossmingw32-atk.spec
9e44c59e304f27f74efdf010d4f1b485fb756a63
[packages/crossmingw32-atk.git] / crossmingw32-atk.spec
1 #
2 %define         _realname   atk
3 Summary:        ATK - Accessibility Toolkit - cross Mingw32 version
4 Summary(pl.UTF-8):      ATK - biblioteka ułatwiająca niepełnosprawnym korzystanie z komputerów - wersja skrośna dla Mingw32
5 Summary(pt_BR.UTF-8):   Interfaces para suporte a acessibilidade
6 Name:           crossmingw32-%{_realname}
7 Version:        1.12.4
8 Release:        1
9 License:        LGPL v2+
10 Group:          X11/Libraries
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/atk/1.12/%{_realname}-%{version}.tar.bz2
12 # Source0-md5:  0a2c6a7bbc380e3a3d94e9061f76a849
13 URL:            http://developer.gnome.org/projects/gap/
14 BuildRequires:  autoconf >= 2.54
15 BuildRequires:  automake
16 BuildRequires:  crossmingw32-gettext
17 BuildRequires:  crossmingw32-glib2 >= 2.12.4
18 BuildRequires:  crossmingw32-pkgconfig
19 BuildRequires:  libtool >= 2:1.5.16
20 BuildRequires:  perl-base
21 BuildRequires:  rpmbuild(macros) >= 1.197
22 Requires:       crossmingw32-glib2 >= 2.12.4
23 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25 %define         no_install_post_strip   1
26
27 %define         target                  i386-mingw32
28 %define         target_platform         i386-pc-mingw32
29 %define         arch                    %{_prefix}/%{target}
30 %define         gccarch                 %{_prefix}/lib/gcc-lib/%{target}
31 %define         gcclib                  %{_prefix}/lib/gcc-lib/%{target}/%{version}
32
33 %define         _sysprefix              /usr
34 %define         _prefix                 %{_sysprefix}/%{target}
35 %define         _pkgconfigdir           %{_prefix}/lib/pkgconfig
36 %define         __cc                    %{target}-gcc
37 %define         __cxx                   %{target}-g++
38
39 %description
40 The ATK library provides a set of interfaces for adding accessibility
41 support to applications and graphical user interface toolkits. By
42 supporting the ATK interfaces, an application or toolkit can be used
43 as tools such as screen readers and magnifiers, and alternative input
44 devices.
45
46 %description -l pl.UTF-8
47 Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
48 niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
49 graficznego interfejsu użytkownika. Poprzez wykorzystanie
50 interfejsów ATK, aplikacja lub element interfejsu może być używany
51 z takimi narzędziami jak czytniki ekranu i narzędzia powiększające
52 oraz alternatywnymi urządzeniami wejściowymi.
53
54 %description -l pt_BR.UTF-8
55 A biblioteca ATK provê um conjunto de interfaces para adicionar
56 suporte a acessibilidade para aplicações e interfaces gráficas.
57 Suportando a interface ATK, uma aplicação ou interface gráfica pode
58 ser utilizada como ferramentas de leitura e aumento de tela,
59 dispositivos de entrada alternativos, etc.
60
61 %prep
62 %setup -q -n %{_realname}-%{version}
63
64 %build
65 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
66 %{__libtoolize}
67 %{__aclocal}
68 %{__autoconf}
69 %{__autoheader}
70 %{__automake}
71 %configure \
72         --target=%{target} \
73         --host=%{target} \
74         --disable-gtk-doc \
75         --enable-static
76
77 %{__make}
78
79 %install
80 rm -rf $RPM_BUILD_ROOT
81
82 %{__make} install \
83         DESTDIR=$RPM_BUILD_ROOT
84
85 %find_lang atk10
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files -f atk10.lang
91 %defattr(644,root,root,755)
92 %doc AUTHORS NEWS README
93 %{_libdir}/lib*.la
94 %{_libdir}/lib*.a
95 %{_bindir}/*.dll
96 %{_includedir}/atk*
97 %{_pkgconfigdir}/atk*
This page took 0.110755 seconds and 3 git commands to generate.