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