]> git.pld-linux.org Git - packages/at-spi.git/blob - at-spi.spec
a8e5a62833d5d95aaba37e7f2421c5c0d4882fd0
[packages/at-spi.git] / at-spi.spec
1 Summary:        Assistive Technology Service Provider Interface
2 Summary(pl):    Interfejs pozwalaj±cy na korzystanie z urz±dzeñ wspomagaj±cych
3 Name:           at-spi
4 Version:        1.3.1
5 Release:        2
6 License:        LGPL
7 Group:          X11/Libraries
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/%{name}/1.3/%{name}-%{version}.tar.bz2
9 Patch0:         %{name}-am.patch
10 URL:            http://developer.gnome.org/projects/gap/
11 BuildRequires:  atk-devel >= 1.3.1
12 BuildRequires:  gail-devel >= 1.3.1
13 BuildRequires:  gtk-doc >= 0.10-1
14 BuildRequires:  gtk+2-devel >= 2.2.0
15 BuildRequires:  libbonobo-devel >= 2.0.0
16 BuildRequires:  popt-devel
17 BuildRequires:  rpm-build >= 4.1-10
18 BuildRequires:  xft-devel >= 2.1
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Obsoletes:      libat-spi1
21
22 %description
23 at-spi allows assistive technologies to access GTK-based
24 applications. Essentially it exposes the internals of applications for
25 automation, so tools such as screen readers, magnifiers, or even
26 scripting interfaces can query and interact with GUI controls.
27
28 %description -l pl
29 at-spi pozwala na korzystanie z urz±dzeñ wspomagaj±cych w celu dostêpu
30 do aplikacji bazuj±cych na GTK. Przede wszystkim udostêpnia wewnêtrzne
31 interfejsy aplikacji dla automatyzacji, wiêc urz±dzenia takie jak
32 czytniki ekranu, lupy, czy nawet interfejsy skryptowe mog± odpytywaæ i
33 wspó³pracowaæ z kontrolkami interfejsu graficznego.
34
35 %package devel
36 Summary:        at-spi development files
37 Summary(pl):    Pliki programistyczne at-spi
38 Group:          X11/Development/Libraries
39 Requires:       %{name} = %{version}
40 Requires:       gtk-doc-common
41 Obsoletes:      libat-spi1-devel
42
43 %description devel
44 at-spi development files.
45
46 %description devel -l pl
47 Pliki programistyczne at-spi.
48
49 %package static
50 Summary:        at-spi static library
51 Summary(pl):    Statyczna biblioteka at-spi
52 Group:          X11/Development/Libraries
53 Requires:       %{name}-devel = %{version}
54
55 %description static
56 at-spi static library.
57
58 %description static -l pl
59 Statyczna biblioteka at-spi.
60
61 %prep
62 %setup -q
63 %patch0 -p1
64
65 %build
66 %{__libtoolize}
67 %{__aclocal} -I %{_aclocaldir}/gnome2-macros
68 %{__automake}
69 %{__autoconf}
70 %configure \
71         --enable-static
72
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT \
79         HTML_DIR=%{_gtkdocdir} 
80
81 # no static modules
82 rm -f $RPM_BUILD_ROOT%{_libdir}/{gtk-2.0/modules,orbit-2.0}/*.{la,a}
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
93 %attr(755,root,root) %{_libdir}/at-spi-registryd
94 %attr(755,root,root) %{_libdir}/orbit-2.0/*.so
95 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
96 %{_libdir}/bonobo/servers/*
97 %{_datadir}/idl/*
98
99 %files devel
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/lib*.so
102 %{_libdir}/lib*.la
103 %{_includedir}/*
104 %doc %{_gtkdocdir}/*
105 %{_pkgconfigdir}/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/*.a
This page took 0.057676 seconds and 2 git commands to generate.