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