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