From ee99ef51e981c4fecde47ea4861f68536ec1ccf0 Mon Sep 17 00:00:00 2001 From: Patryk Kaczmarek Date: Tue, 31 Mar 2015 13:09:57 +0200 Subject: [PATCH] spec file, manifest and gbs.conf adapted for Tizen --- .gbs.conf | 2 + packaging/at-spi2-core.manifest | 5 ++ packaging/at-spi2-core.spec | 117 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 124 insertions(+) create mode 100644 .gbs.conf create mode 100644 packaging/at-spi2-core.manifest create mode 100644 packaging/at-spi2-core.spec diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 index 0000000..4d4d1fb --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,2 @@ +[general] +upstream_tag = AT_SPI2_CORE_${upstreamversion} diff --git a/packaging/at-spi2-core.manifest b/packaging/at-spi2-core.manifest new file mode 100644 index 0000000..c976359 --- /dev/null +++ b/packaging/at-spi2-core.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/at-spi2-core.spec b/packaging/at-spi2-core.spec new file mode 100644 index 0000000..7223067 --- /dev/null +++ b/packaging/at-spi2-core.spec @@ -0,0 +1,117 @@ +%define debug_package %{nil} + +Name: at-spi2-core +Version: 2_12_0 +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.12/%{name}-%{version}.tar.xz +Source1001: %{name}.manifest +Requires: dbus +BuildRequires: python-devel +BuildRequires: python-xml +BuildRequires: intltool +BuildRequires: dbus-devel +BuildRequires: glib2-devel +BuildRequires: libX11-devel +BuildRequires: libXtst-devel +BuildRequires: libXi-devel +BuildRequires: gettext +BuildRequires: gtk-doc + +%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} + +%check +mkdir -p %{buildroot}/usr/share/license +cp -f COPYING %{buildroot}/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/services/org.a11y.atspi.Registry.service +%{_datadir}/dbus-1/services/org.a11y.Bus.service + + +%files -n libatspi0 +%manifest %{name}.manifest +%defattr(-, root, root) +%{_libdir}/libatspi.so.0* + +%files -n typelib-1_0-Atspi-2_0 +%manifest %{name}.manifest +%defattr(-, root, root) + +%files devel +%manifest %{name}.manifest +%defattr(-, root, root) +%{_includedir}/at-spi-2.0 +%{_libdir}/libatspi.so +%{_libdir}/pkgconfig/atspi-2.pc + -- 2.7.4