]> git.pld-linux.org Git - packages/at-spi.git/blobdiff - at-spi.spec
- sr@Latn -> sr@latin, rel. 2
[packages/at-spi.git] / at-spi.spec
index 231eb663968fb943f00db79e51807ed953b44aff..6772fbe76483f1a35474042154da2d96ef1958b9 100644 (file)
 %bcond_without static_libs     # don't build static library
 #
 Summary:       Assistive Technology Service Provider Interface
-Summary(pl):   Interfejs pozwalaj±cy na korzystanie z urz±dzeñ wspomagaj±cych
+Summary(pl.UTF-8):     Interfejs pozwalający na korzystanie z urządzeń wspomagających
 Name:          at-spi
-Version:       1.7.9
-Release:       1
+Version:       1.20.1
+Release:       2
 License:       LGPL v2+
 Group:         X11/Libraries
-Source0:       http://ftp.gnome.org/pub/gnome/sources/at-spi/1.7/%{name}-%{version}.tar.bz2
-# Source0-md5: 04e88cfd462861f12ed2d11da3279d31
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/at-spi/1.20/%{name}-%{version}.tar.bz2
+# Source0-md5: 9dc4ce96c17452cd285d006d03574e93
 URL:           http://developer.gnome.org/projects/gap/
-BuildRequires: ORBit2-devel
-BuildRequires: atk-devel >= 1:1.10.3
+BuildRequires: ORBit2-devel >= 2.14.9
+BuildRequires: atk-devel >= 1:1.20.0
 BuildRequires: autoconf
 BuildRequires: automake
-BuildRequires: gail-devel >= 1.9.0
-BuildRequires: gnome-common >= 2.12.0
-BuildRequires: gtk+2-devel >= 2:2.10.0
-BuildRequires: gtk-doc >= 1.6
-BuildRequires: intltool
-BuildRequires: libbonobo-devel >= 2.15.0
+BuildRequires: gail-devel >= 1.20.0
+BuildRequires: gnome-common >= 2.20.0
+BuildRequires: gtk+2-devel >= 2:2.12.0
+BuildRequires: gtk-doc >= 1.8
+BuildRequires: intltool >= 0.36.2
+BuildRequires: libbonobo-devel >= 2.20.0
 BuildRequires: libtool
 BuildRequires: pkgconfig
+BuildRequires: popt-devel
 BuildRequires: rpm-build >= 4.1-10
+BuildRequires: rpmbuild(macros) >= 1.219
+BuildRequires: xorg-lib-libXevie-devel
 BuildRequires: xorg-lib-libXft-devel >= 2.1
 BuildRequires: xorg-lib-libXtst-devel
 Obsoletes:     libat-spi1
+# sr@Latn vs. sr@latin
+Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-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.
-
-%description -l pl
-at-spi pozwala na korzystanie z urz±dzeñ wspomagaj±cych w celu dostêpu
-do aplikacji bazuj±cych na GTK. Przede wszystkim udostêpnia wewnêtrzne
-interfejsy aplikacji dla automatyzacji, wiêc urz±dzenia takie jak
-czytniki ekranu, lupy, czy nawet interfejsy skryptowe mog± odpytywaæ i
-wspó³pracowaæ z kontrolkami interfejsu graficznego.
+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.
+
+%description -l pl.UTF-8
+AT-SPI pozwala na korzystanie z urządzeń wspomagających w celu dostępu
+do aplikacji bazujących na GTK. Przede wszystkim udostępnia wewnętrzne
+interfejsy aplikacji dla automatyzacji, więc urządzenia takie jak
+czytniki ekranu, lupy, czy nawet interfejsy skryptowe mogą odpytywać i
+współpracować z kontrolkami interfejsu graficznego.
 
 %package devel
-Summary:       at-spi development files
-Summary(pl):   Pliki programistyczne at-spi
+Summary:       AT-SPI development files
+Summary(pl.UTF-8):     Pliki programistyczne AT-SPI
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
-Requires:      ORBit2-devel
-Requires:      atk-devel >= 1:1.12.1
-Requires:      gail-devel >= 1.9.0
-Requires:      gtk+2-devel >= 2:2.10.0
-Requires:      gtk-doc-common
-Requires:      libbonobo-devel >= 2.15.0
+Requires:      ORBit2-devel >= 2.14.9
+Requires:      atk-devel >= 1:1.20.0
+Requires:      gail-devel >= 1.20.0
+Requires:      gtk+2-devel >= 2:2.12.0
+Requires:      libbonobo-devel >= 2.20.0
 Obsoletes:     libat-spi1-devel
 
 %description devel
-at-spi development files.
+AT-SPI development files.
 
-%description devel -l pl
-Pliki programistyczne at-spi.
+%description devel -l pl.UTF-8
+Pliki programistyczne AT-SPI.
 
 %package static
-Summary:       at-spi static library
-Summary(pl):   Statyczna biblioteka at-spi
+Summary:       AT-SPI static library
+Summary(pl.UTF-8):     Statyczna biblioteka AT-SPI
 Group:         X11/Development/Libraries
 Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-at-spi static library.
+AT-SPI static library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka AT-SPI.
+
+%package apidocs
+Summary:       AT-SPI API documentation
+Summary(pl.UTF-8):     Dokumentacja API AT-SPI
+Group:         Documentation
+Requires:      gtk-doc-common
+
+%description apidocs
+AT-SPI API documentation.
+
+%description apidocs -l pl.UTF-8
+Dokumentacja API AT-SPI.
+
+%package -n python-pyatspi
+Summary:       AT-SPI Python bindings
+Summary(pl.UTF-8):     Wiązania AT-SPI dla Pythona
+Group:         Development/Languages/Python
+Requires:      python-pyorbit
+
+%description -n python-pyatspi
+AT-SPI Python bindings.
 
-%description static -l pl
-Statyczna biblioteka at-spi.
+%description -n python-pyatspi -l pl.UTF-8
+Wiązania AT-SPI dla Pythona.
 
 %prep
 %setup -q
 
 %build
+%{__glib_gettextize}
+%{__intltoolize}
 %{__libtoolize}
 %{__aclocal}
 %{__automake}
 %{__autoconf}
-LDFLAGS="%{rpmldflags} -Wl,--as-needed"
 %configure \
        %{!?with_static_libs:--disable-static} \
        --enable-gtk-doc \
@@ -100,6 +129,10 @@ rm -rf $RPM_BUILD_ROOT
 # no static modules
 rm -f $RPM_BUILD_ROOT%{_libdir}/{gtk-2.0/modules,orbit-2.0}/*.{la,a}
 
+%py_postclean
+
+[ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
+       mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang %{name}
 
 %clean
@@ -120,7 +153,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/*
-%{_gtkdocdir}/*
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_pkgconfigdir}/*
@@ -130,3 +162,13 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/*.a
 %endif
+
+%files apidocs
+%defattr(644,root,root,755)
+%{_gtkdocdir}/*
+%{_docdir}/%{name}-%{version}
+
+%files -n python-pyatspi
+%defattr(644,root,root,755)
+%dir %{py_sitedir}/pyatspi
+%{py_sitedir}/pyatspi/*.py[co]
This page took 0.226326 seconds and 4 git commands to generate.