summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorjk7744.park <jk7744.park@samsung.com>2015-10-26 15:41:08 +0900
committerjk7744.park <jk7744.park@samsung.com>2015-10-26 15:41:08 +0900
commit728e3f7e6866b63f3c3772de381d4f40d66b7487 (patch)
tree768ee2fb4e95e5119ed03100c63cfe73490dd42e /packaging
parentb178bd1793db6d0385664b6e1930ab417de34cf5 (diff)
downloadat-spi2-core-tizen_2.4.tar.gz
at-spi2-core-tizen_2.4.tar.bz2
at-spi2-core-tizen_2.4.zip
Diffstat (limited to 'packaging')
-rw-r--r--packaging/at-spi2-core.manifest28
-rw-r--r--packaging/at-spi2-core.spec115
-rw-r--r--packaging/at-spi2.manifest5
3 files changed, 148 insertions, 0 deletions
diff --git a/packaging/at-spi2-core.manifest b/packaging/at-spi2-core.manifest
new file mode 100644
index 0000000..5070244
--- /dev/null
+++ b/packaging/at-spi2-core.manifest
@@ -0,0 +1,28 @@
+<manifest>
+ <define>
+ <domain name="atspi" policy="shared"/>
+ <permit>
+ <smack permit="dbus" type="rwx" />
+ <smack permit="xorg" type="rwx" />
+ <smack permit="system::use_internet" type="w" />
+ </permit>
+ <request>
+ <smack request="dbus" type="rwx" />
+ <smack request="xorg" type="rwx" />
+ <smack request="tizen::vconf::public::r::platform::rw" type="rw" />
+ <smack request="system::homedir" type="x" />
+ <smack request="device::sys_logging" type="rwx" />
+ <smack request="device::app_logging" type="rwx" />
+ <smack request="sdbd" type="rwx" />
+ <smack request="pkgmgr::db" type="rwx" />
+ <smack request="app-svc::db" type="rwx" />
+ <smack request="aul::launch" type="rwx" />
+ <smack request="aul::terminate" type="rwx" />
+ <smack request="sys-assert::core" type="rwxat" />
+ </request>
+ </define>
+
+ <request>
+ <domain name="atspi"/>
+ </request>
+</manifest>
diff --git a/packaging/at-spi2-core.spec b/packaging/at-spi2-core.spec
new file mode 100644
index 0000000..41550b6
--- /dev/null
+++ b/packaging/at-spi2-core.spec
@@ -0,0 +1,115 @@
+Name: at-spi2-core
+Version: 2.16.1
+Release: 0
+Summary: Assistive Technology Service Provider Interface - D-Bus based implementation
+License: LGPL-2.0+
+Group: System/Libraries
+Url: http://www.gnome.org/
+Source: http://ftp.gnome.org/pub/GNOME/sources/at-spi2-core/2.16/%{name}-%{version}.tar.xz
+Source1001: %{name}.manifest
+Requires: dbus
+BuildRequires: python-devel
+BuildRequires: python-xml
+BuildRequires: intltool
+BuildRequires: dbus-devel
+BuildRequires: glib2-devel
+BuildRequires: gettext
+BuildRequires: libX11-devel
+BuildRequires: libXtst-devel
+BuildRequires: libXi-devel
+BuildRequires: pkgconfig(vconf)
+BuildRequires: pkgconfig(appsvc)
+BuildRequires: pkgconfig(dlog)
+
+%description
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+This package contains the AT-SPI registry daemon. It provides a
+mechanism for all assistive technologies to discover and interact
+with applications running on the desktop.
+
+%package -n libatspi0
+Summary: An Accessibility ToolKit -- Library
+Group: System/Libraries
+
+%description -n libatspi0
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+%package -n typelib-1_0-Atspi-2_0
+Summary: An Accessibility ToolKit -- Introspection bindings
+Group: System/Libraries
+
+%description -n typelib-1_0-Atspi-2_0
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+This package provides the GObject Introspection bindings for the
+libatspi library.
+
+%package devel
+Summary: Include Files and Libraries mandatory for Development
+Group: Development/Libraries
+Requires: %{name} = %{version}
+Requires: libatspi0 = %{version}
+Requires: typelib-1_0-Atspi-2_0 = %{version}
+
+%description devel
+This package contains all necessary include files and libraries needed
+to develop applications that require these.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%autogen --libexecdir=%{_libexecdir}/at-spi2 \
+ --with-dbus-daemondir=%{_bindir} \
+ --disable-static
+%__make %{?_smp_flags}
+
+%install
+rm -rf %{buildroot}
+find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
+%make_install
+%find_lang %{name}
+mkdir -p %{buildroot}/%{_datadir}/usr/share/license
+cp -f %{_builddir}/%{buildsubdir}/COPYING %{buildroot}/%{_datadir}/usr/share/license/%{name}
+
+%clean
+rm -fr %{buildroot}
+
+%post -n libatspi0 -p /sbin/ldconfig
+
+%postun -n libatspi0 -p /sbin/ldconfig
+
+%files -f %{name}.lang
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc AUTHORS README
+#%license COPYING
+%{_libexecdir}/at-spi2/at-spi-bus-launcher
+%{_libexecdir}/at-spi2/at-spi2-registryd
+%config %{_sysconfdir}/at-spi2/accessibility.conf
+%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
+%{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service
+%{_datadir}/dbus-1/services/org.a11y.Bus.service
+%{_datadir}/usr/share/license/%{name}
+
+%files -n libatspi0
+%manifest packaging/at-spi2.manifest
+%defattr(-, root, root)
+%{_libdir}/libatspi.so.0*
+
+%files -n typelib-1_0-Atspi-2_0
+%manifest packaging/at-spi2.manifest
+%defattr(-, root, root)
+
+%files devel
+%manifest packaging/at-spi2.manifest
+%defattr(-, root, root)
+%{_includedir}/at-spi-2.0
+%{_libdir}/libatspi.so
+%{_libdir}/pkgconfig/atspi-2.pc
+
diff --git a/packaging/at-spi2.manifest b/packaging/at-spi2.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/at-spi2.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>