|
@@ -1,6 +1,8 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
Name: at-spi2-atk
|
|
Name: at-spi2-atk
|
|
Version: 2.6.0
|
|
Version: 2.6.0
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
|
|
Summary: A GTK+ module that bridges ATK to D-Bus at-spi
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
@@ -49,6 +51,37 @@ Requires: glib2-devel
|
|
The %{name}-devel package contains libraries and header files for
|
|
The %{name}-devel package contains libraries and header files for
|
|
developing applications that use %{name}.
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
+# compat32
|
|
|
|
+%package -n compat32-%{name}
|
|
|
|
+Summary: A GTK+ module that bridges ATK to D-Bus at-spi
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+Requires: compat32-at-spi2-core
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}
|
|
|
|
+at-spi allows assistive technologies to access GTK-based
|
|
|
|
+applications. Essentially it exposes the internals of applications for
|
|
|
|
+automation, so tools such as screen readers, magnifiers, or even
|
|
|
|
+scripting interfaces can query and interact with GUI controls.
|
|
|
|
+
|
|
|
|
+This version of at-spi is a major break from previous versions.
|
|
|
|
+It has been completely rewritten to use D-Bus rather than
|
|
|
|
+ORBIT / CORBA for its transport protocol.
|
|
|
|
+
|
|
|
|
+This package includes a gtk-module that bridges ATK to the new
|
|
|
|
+D-Bus based at-spi.
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
|
+Summary: Development package for %{name}
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
+Requires: compat32-at-spi2-core-devel
|
|
|
|
+
|
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
|
+Files for development with compat32-%{name}.
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
@@ -66,8 +99,10 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
|
|
|
|
|
|
|
|
+%post -p /sbin/ldconfig
|
|
|
|
|
|
%postun
|
|
%postun
|
|
|
|
+/sbin/ldconfig
|
|
if [ $1 -eq 0 ]; then
|
|
if [ $1 -eq 0 ]; then
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
fi
|
|
fi
|
|
@@ -75,6 +110,11 @@ fi
|
|
%posttrans
|
|
%posttrans
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
|
|
|
|
|
|
+
|
|
|
|
+%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
+
|
|
|
|
+
|
|
%files
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
%doc COPYING AUTHORS README
|
|
%doc COPYING AUTHORS README
|
|
@@ -94,8 +134,22 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas
|
|
%{_libdir}/libatk-bridge-2.0.so
|
|
%{_libdir}/libatk-bridge-2.0.so
|
|
%{_libdir}/pkgconfig/atk-bridge-2.0.pc
|
|
%{_libdir}/pkgconfig/atk-bridge-2.0.pc
|
|
|
|
|
|
|
|
+# compat32
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/libatk-bridge-2.0.so.*
|
|
|
|
+
|
|
|
|
+%files -n compat32-%{name}-devel
|
|
|
|
+%defattr(-,root,root,-)
|
|
|
|
+%{_libdir}/libatk-bridge-2.0.so
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-2
|
|
|
|
+- create compat32 sub packages
|
|
|
|
+
|
|
* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
|
|
* Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.6.0-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- remove BuildRequires: gtk2-devel
|
|
- remove BuildRequires: gtk2-devel
|