Remove X related lines
[platform/core/uifw/at-spi2-atk.git] / packaging / at-spi2-atk.spec
1 Name: at-spi2-atk
2 Version: 2.12.0
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.12/%{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
17 %description
18 AT-SPI is a general interface for applications to make use of the
19 accessibility toolkit. This version is based on dbus.
20
21 %package -n libatk-bridge-2_0-0
22 Summary: ATK/D-Bus bridging library
23 Group: System/Libraries
24
25 %description -n libatk-bridge-2_0-0
26 AT-SPI is a general interface for applications to make use of the
27 accessibility toolkit. This version is based on dbus.
28
29 The package contains a ATK/D-Bus bridge library.
30
31 %package devel
32 Summary: Assistive Technology Service Provider Interface - Developent files
33 Group: System/Libraries
34 Requires: libatk-bridge-2_0-0 = %{version}
35
36 %description devel
37 AT-SPI is a general interface for applications to make use of the
38 accessibility toolkit. This version is based on dbus.
39
40 %prep
41 %setup -q
42 cp %{SOURCE1001} .
43
44 %build
45 %autogen
46 %__make %{?_smp_flags}
47
48 %install
49 rm -rf %{buildroot}
50 %make_install
51 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
52 find %{buildroot} -name '*.desktop' | xargs rm -f
53
54 %clean
55 rm -rf %{buildroot}
56
57 %post -n libatk-bridge-2_0-0 -p /sbin/ldconfig
58
59 %postun -n libatk-bridge-2_0-0 -p /sbin/ldconfig
60
61 %files -n libatk-bridge-2_0-0
62 %manifest %{name}.manifest
63 %defattr(-,root,root)
64 %{_libdir}/libatk-bridge-2.0.so.*
65 %{_libdir}/gtk-2.0/modules/libatk-bridge.so
66
67 %files devel
68 %manifest %{name}.manifest
69 %defattr(-,root,root)
70 %{_includedir}/at-spi2-atk/2.0/atk-bridge.h
71 %{_libdir}/libatk-bridge-2.0.so
72 %{_libdir}/pkgconfig/atk-bridge-2.0.pc
73
74 %changelog
75 * Mon Mar 25 2013 tomasz.duszynski@comarch.com
76 - Initial packaging of at-spi2-atk (2.5.92)
77