]> git.pld-linux.org Git - packages/gail.git/blob - gail.spec
- apidocs bcond
[packages/gail.git] / gail.spec
1
2 %bcond_without apidocs          # disable gtk-doc
3
4 Summary:        Accessibility implementation for GTK+ and GNOME libraries
5 Summary(pl):    Implementacja u³atwiania pracy niepe³nosprawnym dla GTK+ i GNOME
6 Name:           gail
7 Version:        1.8.5
8 Release:        2
9 License:        LGPL
10 Group:          Libraries
11 Source0:        http://ftp.gnome.org/pub/gnome/sources/gail/1.8/%{name}-%{version}.tar.bz2
12 # Source0-md5:  7587a0a9ee643bb59ef6b2dea06c5a28
13 URL:            http://developer.gnome.org/projects/gap/
14 BuildRequires:  atk-devel >= 1:1.9.1
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  gettext-devel
18 BuildRequires:  gtk+2-devel >= 2:2.6.4
19 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.0}
20 BuildRequires:  gtk-doc-automake
21 BuildRequires:  libgnomecanvas-devel >= 2.6.1
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(macros) >= 1.197
25 Requires:       atk >= 1:1.9.1
26 Requires:       gtk+2 >= 2:2.6.4
27 Requires:       libgnomecanvas >= 2.10.0
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %description
31 GAIL implements the abstract interfaces found in ATK for GTK+ and
32 GNOME libraries, enabling accessibility technologies such as at-spi to
33 access those GUIs.
34
35 %description -l pl
36 GAIL jest implementacj± abstrakcyjnych interfejsów z ATK dla bibliotek
37 GTK+ i GNOME, umo¿liwiaj±c± korzystanie z technik takich jak at-spi,
38 aby u³atwiæ niepe³nosprawnym korzystanie z tych GUI.
39
40 %package devel
41 Summary:        Header files to compile applications that use GAIL
42 Summary(pl):    Pliki nag³ówkowe GAIL
43 Group:          X11/Development/Libraries
44 Requires:       %{name} = %{version}-%{release}
45 Requires:       atk-devel >= 1:1.9.1
46 %{?with_apidocs:Requires:       gtk-doc-common}
47 Requires:       gtk+2-devel >= 2:2.6.4
48 Requires:       libgnomecanvas-devel >= 2.10.0
49
50 %description devel
51 gail-devel contains the header files required to compile applications
52 against the GAIL libraries.
53
54 %description devel -l pl
55 Pakiet gail-devel zawiera pliki nag³ówkowe potrzebne do kompilowania
56 aplikacji u¿ywaj±cych bibliotek GAIL.
57
58 %package static
59 Summary:        Static GAIL libraries
60 Summary(pl):    Statyczne biblioteki GAIL
61 Group:          X11/Development/Libraries
62 Requires:       %{name}-devel = %{version}-%{release}
63
64 %description static
65 gail-static contains the static GAIL libraries.
66
67 %description static -l pl
68 Pakiet gail-static zawiera statyczne biblioteki GAIL.
69
70 %prep
71 %setup -q
72
73 %build
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__automake}
78 %configure \
79         %{?with_apidocs:--enable-gtk-doc} \
80         --enable-static \
81         --with-html-dir=%{_gtkdocdir}
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install \
88         DESTDIR=$RPM_BUILD_ROOT
89
90 # no static modules and *.la for gtk modules - shut up check-files
91 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
92
93 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
94
95 %find_lang %{name}
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %post   -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
102
103 %files -f %{name}.lang
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README
106 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
108
109 %files devel
110 %defattr(644,root,root,755)
111 %{?with_apidocs:%{_gtkdocdir}/*}
112 %{_includedir}/gail-1.0
113 %attr(755,root,root) %{_libdir}/lib*.so
114 %{_libdir}/lib*.la
115 %{_pkgconfigdir}/*.pc
116
117 %files static
118 %defattr(644,root,root,755)
119 %{_libdir}/*.a
This page took 0.033875 seconds and 4 git commands to generate.