From: Patryk Kaczmarek Date: Thu, 16 Apr 2015 11:46:14 +0000 (+0200) Subject: spec file, manifest and gbs.conf adapted for Tizen X-Git-Tag: accepted/tizen/common/20150416.132531^0 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fat-spi2-atk.git;a=commitdiff_plain;h=305e6dd2f4b8c551108b6907de8146eb8007d657;ds=sidebyside spec file, manifest and gbs.conf adapted for Tizen Change-Id: Ib6ae63f3741b7f3b5e808769ed3c29ddcdeb66d8 --- diff --git a/.gbs.conf b/.gbs.conf new file mode 100644 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 index 0000000..017d22d --- /dev/null +++ b/packaging/at-spi2-atk.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/at-spi2-atk.spec b/packaging/at-spi2-atk.spec new file mode 100644 index 0000000..2f94047 --- /dev/null +++ b/packaging/at-spi2-atk.spec @@ -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) +