spec file, manifest and gbs.conf adapted for Tizen accepted/tizen/common/20150416.132531 accepted/tizen/mobile/20150416.235401 accepted/tizen/tv/20150416.234636 accepted/tizen/wearable/20150417.020550 submit/tizen/20150416.120758 submit/tizen_wearable/20150416.235943
authorPatryk Kaczmarek <patryk.k@samsung.com>
Thu, 16 Apr 2015 11:46:14 +0000 (13:46 +0200)
committerPatryk Kaczmarek <patryk.k@samsung.com>
Thu, 16 Apr 2015 12:01:46 +0000 (14:01 +0200)
Change-Id: Ib6ae63f3741b7f3b5e808769ed3c29ddcdeb66d8

.gbs.conf [new file with mode: 0644]
packaging/at-spi2-atk.manifest [new file with mode: 0644]
packaging/at-spi2-atk.spec [new file with mode: 0644]

diff --git a/.gbs.conf b/.gbs.conf
new file mode 100644 (file)
index 0000000..5b8dc42
--- /dev/null
+++ b/.gbs.conf
@@ -0,0 +1,2 @@
+[general]
+upstream_tag = AT_SPI2_ATK_${upstreamversion}
diff --git a/packaging/at-spi2-atk.manifest b/packaging/at-spi2-atk.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/at-spi2-atk.spec b/packaging/at-spi2-atk.spec
new file mode 100644 (file)
index 0000000..2f94047
--- /dev/null
@@ -0,0 +1,82 @@
+%bcond_with x
+
+Name: at-spi2-atk
+Version: 2_12_0
+Release: 1
+Summary: Assistive Technology Service Provider Interface - GTK+ module
+License: LGPL-2.0+
+Group: System/Libraries
+Url: http://www.gnome.org/
+Source: http://download.gnome.org/sources/at-spi2-atk/2.12/%{name}-2.12.tar.xz
+Source1001: %{name}.manifest
+Requires: at-spi2-core
+BuildRequires: dbus-devel
+BuildRequires: glib2-devel
+BuildRequires: atk-devel
+BuildRequires: at-spi2-core-devel
+BuildRequires: gettext
+%if ! %{with x}
+ExclusiveArch:
+%endif
+
+%description
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+%package -n libatk-bridge-2_0-0
+Summary: ATK/D-Bus bridging library
+Group: System/Libraries
+
+%description -n libatk-bridge-2_0-0
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+The package contains a ATK/D-Bus bridge library.
+
+%package devel
+Summary: Assistive Technology Service Provider Interface - Developent files
+Group: System/Libraries
+Requires: libatk-bridge-2_0-0 = %{version}
+
+%description devel
+AT-SPI is a general interface for applications to make use of the
+accessibility toolkit. This version is based on dbus.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+%build
+%autogen
+%__make %{?_smp_flags}
+
+%install
+rm -rf %{buildroot}
+%make_install
+find %{buildroot} -name '*.la' -or -name '*.a' | xargs rm -f
+find %{buildroot} -name '*.desktop' | xargs rm -f
+
+%clean
+rm -rf %{buildroot}
+
+%post -n libatk-bridge-2_0-0 -p /sbin/ldconfig
+
+%postun -n libatk-bridge-2_0-0 -p /sbin/ldconfig
+
+%files -n libatk-bridge-2_0-0
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_libdir}/libatk-bridge-2.0.so.*
+%{_libdir}/gtk-2.0/modules/libatk-bridge.so
+
+%files devel
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%{_includedir}/at-spi2-atk/2.0/atk-bridge.h
+%{_libdir}/libatk-bridge-2.0.so
+%{_libdir}/pkgconfig/atk-bridge-2.0.pc
+
+%changelog
+* Mon Mar 25 2013 tomasz.duszynski@comarch.com
+- Initial packaging of at-spi2-atk (2.5.92)
+