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