Imported version 2.7.91
[platform/core/uifw/at-spi2-core.git] / packaging / at-spi2-core.spec
1 Name: at-spi2-core
2 Version: 2.7.91
3 Release: 1
4 Summary: Assistive Technology Service Provider Interface - D-Bus based implementation
5 License: GPL-2.0+
6 Group: System/Libraries
7 Url: http://www.gnome.org/
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.7/%{name}-%{version}.tar.xz
9
10 Requires: dbus
11 BuildRequires: intltool
12 BuildRequires: dbus-devel
13 BuildRequires: glib2-devel
14 BuildRequires: libX11-devel
15 BuildRequires: libXtst-devel
16 BuildRequires: libXi-devel
17 BuildRequires: gobject-introspection-devel
18 BuildRequires: gettext
19
20 BuildRoot: %{buildroot}
21
22 %description
23 AT-SPI is a general interface for applications to make use of the
24 accessibility toolkit. This version is based on dbus.
25
26 This package contains the AT-SPI registry daemon. It provides a
27 mechanism for all assistive technologies to discover and interact
28 with applications running on the desktop.
29
30 %package -n libatspi0
31 Summary: An Accessibility ToolKit -- Library
32 Group: System/Libraries
33
34 %description -n libatspi0
35 AT-SPI is a general interface for applications to make use of the
36 accessibility toolkit. This version is based on dbus.
37
38 %package -n typelib-1_0-Atspi-2_0
39 Summary: An Accessibility ToolKit -- Introspection bindings
40 Group: System/Libraries
41
42 %description -n typelib-1_0-Atspi-2_0
43 AT-SPI is a general interface for applications to make use of the
44 accessibility toolkit. This version is based on dbus.
45
46 This package provides the GObject Introspection bindings for the
47 libatspi library.
48
49 %package devel
50 Summary: Include Files and Libraries mandatory for Development
51 Group: Development/Libraries
52 Requires: %{name} = %{version}
53 Requires: libatspi0 = %{version}
54 Requires: typelib-1_0-Atspi-2_0 = %{version}
55
56 %description devel
57 This package contains all necessary include files and libraries needed
58 to develop applications that require these.
59
60 %prep
61 %setup -q
62
63 %build
64 %configure --libexecdir=%{_libexecdir}/at-spi2 \
65     --with-dbus-daemondir=%{_bindir} \
66     --disable-static
67 make %{?_smp_flags}
68
69 %install
70 rm -rf %{buildroot}
71 find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
72 %make_install
73 %find_lang %{name}
74
75 %clean
76 rm -fr %{buildroot}
77
78 %post -n libatspi0 -p /sbin/ldconfig
79
80 %postun -n libatspi0 -p /sbin/ldconfig
81
82 %files -f %{name}.lang
83 %manifest packaging/%{name}.manifest
84 %defattr(-,root,root)
85 %doc AUTHORS README
86 %license COPYING
87 %{_libexecdir}/at-spi2/at-spi-bus-launcher
88 %{_libexecdir}/at-spi2/at-spi2-registryd
89 %config %{_sysconfdir}/at-spi2/accessibility.conf
90 %{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
91 %{_datadir}/dbus-1/services/org.a11y.atspi.Registry.service
92 %{_datadir}/dbus-1/services/org.a11y.Bus.service
93
94 %files -n libatspi0
95 %manifest packaging/%{name}.manifest
96 %defattr(-, root, root)
97 %{_libdir}/libatspi.so.0*
98
99 %files -n typelib-1_0-Atspi-2_0
100 %manifest packaging/%{name}.manifest
101 %defattr(-, root, root)
102 %{_libdir}/girepository-1.0/Atspi-2.0.typelib
103
104 %files devel
105 %manifest packaging/%{name}.manifest
106 %defattr(-, root, root)
107 %{_includedir}/at-spi-2.0
108 %{_libdir}/libatspi.so
109 %{_libdir}/pkgconfig/atspi-2.pc
110 %{_datadir}/gir-1.0/*.gir
111 %doc %{_datadir}/gtk-doc/html/libatspi
112
113 %changelog
114 * Mon Mar 25 2013 tomasz.duszynski@comarch.com
115 - Initial packaging of at-spi2-core (2.7.91)
116