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