]> git.pld-linux.org Git - packages/at-spi.git/blame - at-spi.spec
- converted to UTF-8
[packages/at-spi.git] / at-spi.spec
CommitLineData
50b7342e 1#
8d2fd974 2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
bcdbffe1 5Summary: Assistive Technology Service Provider Interface
89a18d38 6Summary(pl.UTF-8): Interfejs pozwalający na korzystanie z urządzeń wspomagających
1ed60eac 7Name: at-spi
ea814177 8Version: 1.7.15
dc4a0092 9Release: 1
31bcddeb 10License: LGPL v2+
65c7fc20 11Group: X11/Libraries
50b7342e 12Source0: http://ftp.gnome.org/pub/gnome/sources/at-spi/1.7/%{name}-%{version}.tar.bz2
ea814177 13# Source0-md5: b8af15556d24e850feb2ffb40eda1d31
5747353d 14URL: http://developer.gnome.org/projects/gap/
ea814177
MB
15BuildRequires: ORBit2-devel >= 2.14.4
16BuildRequires: atk-devel >= 1:1.12.4
3d8e3102
JB
17BuildRequires: autoconf
18BuildRequires: automake
52835102 19BuildRequires: gail-devel >= 1.9.3
50b7342e 20BuildRequires: gnome-common >= 2.12.0
ea814177 21BuildRequires: gtk+2-devel >= 2:2.10.7
6b564294 22BuildRequires: gtk-doc >= 1.7
1d959648 23BuildRequires: intltool
52835102 24BuildRequires: libbonobo-devel >= 2.16.0
3d8e3102 25BuildRequires: libtool
81dc3929 26BuildRequires: pkgconfig
59211053 27BuildRequires: rpm-build >= 4.1-10
50b7342e 28BuildRequires: xorg-lib-libXft-devel >= 2.1
29BuildRequires: xorg-lib-libXtst-devel
65c7fc20 30Obsoletes: libat-spi1
f457a051 31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
1ed60eac 32
1ed60eac 33%description
65c7fc20 34at-spi allows assistive technologies to access GTK-based
35applications. Essentially it exposes the internals of applications for
36automation, so tools such as screen readers, magnifiers, or even
37scripting interfaces can query and interact with GUI controls.
1ed60eac 38
89a18d38
JR
39%description -l pl.UTF-8
40at-spi pozwala na korzystanie z urządzeń wspomagających w celu dostępu
41do aplikacji bazujących na GTK. Przede wszystkim udostępnia wewnętrzne
42interfejsy aplikacji dla automatyzacji, więc urządzenia takie jak
43czytniki ekranu, lupy, czy nawet interfejsy skryptowe mogą odpytywać i
44współpracować z kontrolkami interfejsu graficznego.
5747353d 45
1ed60eac 46%package devel
65c7fc20 47Summary: at-spi development files
89a18d38 48Summary(pl.UTF-8): Pliki programistyczne at-spi
65c7fc20 49Group: X11/Development/Libraries
28c0711b 50Requires: %{name} = %{version}-%{release}
ea814177
MB
51Requires: ORBit2-devel >= 2.14.4
52Requires: atk-devel >= 1:1.12.4
52835102 53Requires: gail-devel >= 1.9.3
ea814177 54Requires: gtk+2-devel >= 2:2.10.7
52835102 55Requires: libbonobo-devel >= 2.16.0
65c7fc20 56Obsoletes: libat-spi1-devel
1ed60eac
AF
57
58%description devel
65c7fc20 59at-spi development files.
1ed60eac 60
89a18d38 61%description devel -l pl.UTF-8
5747353d
JB
62Pliki programistyczne at-spi.
63
1ed60eac
AF
64%package static
65Summary: at-spi static library
89a18d38 66Summary(pl.UTF-8): Statyczna biblioteka at-spi
65c7fc20 67Group: X11/Development/Libraries
28c0711b 68Requires: %{name}-devel = %{version}-%{release}
1ed60eac
AF
69
70%description static
65c7fc20 71at-spi static library.
1ed60eac 72
89a18d38 73%description static -l pl.UTF-8
5747353d
JB
74Statyczna biblioteka at-spi.
75
6b564294 76%package apidocs
77Summary: at-spi API documentation
89a18d38 78Summary(pl.UTF-8): Dokumentacja API at-spi
6b564294 79Group: Documentation
80Requires: gtk-doc-common
81
82%description apidocs
83at-spi API documentation.
84
89a18d38 85%description apidocs -l pl.UTF-8
6b564294 86Dokumentacja API at-spi.
87
1ed60eac
AF
88%prep
89%setup -q
90
91%build
b4b6efd9 92%{__libtoolize}
89f121e8 93%{__aclocal}
b4b6efd9 94%{__automake}
95%{__autoconf}
28b697dc 96%configure \
dc4a0092 97 %{!?with_static_libs:--disable-static} \
28c0711b 98 --enable-gtk-doc \
dc4a0092 99 --enable-static \
100 --with-html-dir=%{_gtkdocdir}
1ed60eac
AF
101%{__make}
102
103%install
104rm -rf $RPM_BUILD_ROOT
3d8e3102 105
1ed60eac
AF
106%{__make} install \
107 DESTDIR=$RPM_BUILD_ROOT \
28d377be 108 HTML_DIR=%{_gtkdocdir}
1ed60eac 109
5c63673f
JB
110# no static modules
111rm -f $RPM_BUILD_ROOT%{_libdir}/{gtk-2.0/modules,orbit-2.0}/*.{la,a}
112
50b7342e 113%find_lang %{name}
114
1ed60eac
AF
115%clean
116rm -rf $RPM_BUILD_ROOT
117
5aa4de25 118%post -p /sbin/ldconfig
119%postun -p /sbin/ldconfig
1ed60eac 120
50b7342e 121%files -f %{name}.lang
1ed60eac 122%defattr(644,root,root,755)
dc4a0092 123%attr(755,root,root) %{_libdir}/lib*.so.*.*
e0fa1993 124%attr(755,root,root) %{_libdir}/at-spi-registryd
dc4a0092 125%attr(755,root,root) %{_libdir}/orbit-2.0/*.so
e0fa1993 126%attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
127%{_libdir}/bonobo/servers/*
128%{_datadir}/idl/*
1ed60eac
AF
129
130%files devel
131%defattr(644,root,root,755)
1ed60eac 132%{_includedir}/*
dc4a0092 133%attr(755,root,root) %{_libdir}/lib*.so
134%{_libdir}/lib*.la
1ed60eac
AF
135%{_pkgconfigdir}/*
136
8d2fd974 137%if %{with static_libs}
1ed60eac
AF
138%files static
139%defattr(644,root,root,755)
140%{_libdir}/*.a
8d2fd974 141%endif
6b564294 142
143%files apidocs
144%defattr(644,root,root,755)
145%{_gtkdocdir}/*
146%{_docdir}/%{name}-%{version}
This page took 0.064052 seconds and 4 git commands to generate.