86744e7f3be42b54dc94a3fd6f2c042f040145aa
[platform/upstream/at-spi2-atk.git] / packaging / at-spi2-atk.spec
1 Name: at-spi2-atk
2 Version: 2.34.1
3 Release: 1
4 Summary: Assistive Technology Service Provider Interface - GTK+ module
5 License: LGPL-2.0+
6 Group: System/Libraries
7 Url: http://www.gnome.org/
8 Source: http://download.gnome.org/sources/at-spi2-atk/2.30/%{name}-%{version}.tar.xz
9 Source1001: %{name}.manifest
10 Requires: at-spi2-core
11 BuildRequires: dbus-devel
12 BuildRequires: glib2-devel
13 BuildRequires: atk-devel
14 BuildRequires: at-spi2-core-devel
15 BuildRequires: gettext
16 BuildRequires: libxml2-devel >= 2.9.1
17 BuildRequires: meson
18
19 %description
20 AT-SPI is a general interface for applications to make use of the
21 accessibility toolkit. This version is based on dbus.
22
23 %package -n libatk-bridge-2_0-0
24 Summary: ATK/D-Bus bridging library
25 Group: System/Libraries
26
27 %description -n libatk-bridge-2_0-0
28 AT-SPI is a general interface for applications to make use of the
29 accessibility toolkit. This version is based on dbus.
30
31 The package contains a ATK/D-Bus bridge library.
32
33 %package devel
34 Summary: Assistive Technology Service Provider Interface - Developent files
35 Group: System/Libraries
36 Requires: libatk-bridge-2_0-0 = %{version}
37
38 %description devel
39 AT-SPI is a general interface for applications to make use of the
40 accessibility toolkit. This version is based on dbus.
41
42 %prep
43 %setup -q
44 cp %{SOURCE1001} .
45
46 %build
47 meson --prefix /usr --libdir %{_libdir} build -Ddisable_p2p=true
48 ninja -C build all
49
50 %install
51 rm -rf %{buildroot}
52
53 export DESTDIR=%{buildroot}
54 ninja -C build install
55
56 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
57 find %{buildroot} -name '*.desktop' | xargs rm -f
58
59 %clean
60 rm -rf %{buildroot}
61
62 %post -n libatk-bridge-2_0-0 -p /sbin/ldconfig
63
64 %postun -n libatk-bridge-2_0-0 -p /sbin/ldconfig
65
66 %files -n libatk-bridge-2_0-0
67 %manifest %{name}.manifest
68 %defattr(-,root,root)
69 %{_libdir}/libatk-bridge-2.0.so.*
70 %{_libdir}/gtk-2.0/modules/libatk-bridge.so
71
72 %files devel
73 %manifest %{name}.manifest
74 %defattr(-,root,root)
75 %{_includedir}/at-spi2-atk/2.0/atk-bridge.h
76 %{_libdir}/libatk-bridge-2.0.so
77 %{_libdir}/pkgconfig/atk-bridge-2.0.pc
78
79 %changelog
80 * Mon Mar 25 2013 tomasz.duszynski@comarch.com
81 - Initial packaging of at-spi2-atk (2.5.92)
82