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