]>
Commit | Line | Data |
---|---|---|
e540cf67 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without apidocs # disable gtk-doc | |
4 | # | |
bb4a8862 | 5 | Summary: Accessibility implementation for GTK+ and GNOME libraries |
145f6e12 | 6 | Summary(pl.UTF-8): Implementacja ułatwiania pracy niepełnosprawnym dla GTK+ i GNOME |
bb4a8862 | 7 | Name: gail |
ab16b2af JB |
8 | Version: 1.9.4 |
9 | Release: 1 | |
bb4a8862 | 10 | License: LGPL |
2c7e24e5 | 11 | Group: Libraries |
6e2431c1 | 12 | Source0: http://ftp.gnome.org/pub/gnome/sources/gail/1.9/%{name}-%{version}.tar.bz2 |
ab16b2af | 13 | # Source0-md5: eff7a5d2fffe914295ca937b128c5f40 |
e35e4705 | 14 | URL: http://developer.gnome.org/projects/gap/ |
312680b7 | 15 | BuildRequires: atk-devel >= 1:1.12.3 |
60189cb5 | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
86557e42 | 18 | BuildRequires: gettext-devel |
312680b7 | 19 | BuildRequires: gtk+2-devel >= 2:2.10.5 |
590b0b07 | 20 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.7} |
1c73ebb5 | 21 | BuildRequires: gtk-doc-automake |
7dcec031 | 22 | BuildRequires: libgnomecanvas-devel >= 2.14.0 |
60189cb5 | 23 | BuildRequires: libtool |
3742124f | 24 | BuildRequires: pkgconfig |
737a4c1e | 25 | BuildRequires: rpmbuild(macros) >= 1.197 |
f75c11d5 | 26 | Requires: libgnomecanvas >= 2.14.0 |
6255d6f9 | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
bb4a8862 | 28 | |
bb4a8862 | 29 | %description |
30 | GAIL implements the abstract interfaces found in ATK for GTK+ and | |
31 | GNOME libraries, enabling accessibility technologies such as at-spi to | |
32 | access those GUIs. | |
33 | ||
145f6e12 JR |
34 | %description -l pl.UTF-8 |
35 | GAIL jest implementacją abstrakcyjnych interfejsów z ATK dla bibliotek | |
36 | GTK+ i GNOME, umożliwiającą korzystanie z technik takich jak at-spi, | |
37 | aby ułatwić niepełnosprawnym korzystanie z tych GUI. | |
6255d6f9 | 38 | |
bb4a8862 | 39 | %package devel |
40 | Summary: Header files to compile applications that use GAIL | |
145f6e12 | 41 | Summary(pl.UTF-8): Pliki nagłówkowe GAIL |
bb4a8862 | 42 | Group: X11/Development/Libraries |
d93d0bb1 | 43 | Requires: %{name} = %{version}-%{release} |
312680b7 | 44 | Requires: atk-devel >= 1:1.12.3 |
1c73ebb5 | 45 | %{?with_apidocs:Requires: gtk-doc-common} |
312680b7 | 46 | Requires: gtk+2-devel >= 2:2.10.5 |
f75c11d5 | 47 | Requires: libgnomecanvas-devel >= 2.14.0 |
bb4a8862 | 48 | |
49 | %description devel | |
49678139 | 50 | gail-devel contains the header files required to compile applications |
bb4a8862 | 51 | against the GAIL libraries. |
52 | ||
145f6e12 JR |
53 | %description devel -l pl.UTF-8 |
54 | Pakiet gail-devel zawiera pliki nagłówkowe potrzebne do kompilowania | |
55 | aplikacji używających bibliotek GAIL. | |
6255d6f9 | 56 | |
bb4a8862 | 57 | %package static |
6255d6f9 | 58 | Summary: Static GAIL libraries |
145f6e12 | 59 | Summary(pl.UTF-8): Statyczne biblioteki GAIL |
bb4a8862 | 60 | Group: X11/Development/Libraries |
d93d0bb1 | 61 | Requires: %{name}-devel = %{version}-%{release} |
bb4a8862 | 62 | |
63 | %description static | |
6255d6f9 JB |
64 | gail-static contains the static GAIL libraries. |
65 | ||
145f6e12 | 66 | %description static -l pl.UTF-8 |
6255d6f9 | 67 | Pakiet gail-static zawiera statyczne biblioteki GAIL. |
bb4a8862 | 68 | |
590b0b07 | 69 | %package apidocs |
70 | Summary: API documentation | |
145f6e12 | 71 | Summary(pl.UTF-8): Dokumentacja API |
590b0b07 | 72 | Group: Documentation |
73 | Requires: gtk-doc-common | |
74 | ||
75 | %description apidocs | |
76 | API documentation. | |
77 | ||
145f6e12 | 78 | %description apidocs -l pl.UTF-8 |
39c5f587 | 79 | Dokumentacja API. |
590b0b07 | 80 | |
bb4a8862 | 81 | %prep |
82 | %setup -q | |
d93d0bb1 | 83 | |
bb4a8862 | 84 | %build |
7dcec031 | 85 | %{?with_apidocs:%{__gtkdocize}} |
60189cb5 | 86 | %{__libtoolize} |
ac85dc8d | 87 | %{__aclocal} |
60189cb5 | 88 | %{__autoconf} |
89 | %{__automake} | |
bb4a8862 | 90 | %configure \ |
1c73ebb5 | 91 | %{?with_apidocs:--enable-gtk-doc} \ |
326aa189 | 92 | --enable-static \ |
93 | --with-html-dir=%{_gtkdocdir} | |
bb4a8862 | 94 | %{__make} |
95 | ||
96 | %install | |
97 | rm -rf $RPM_BUILD_ROOT | |
60189cb5 | 98 | |
bb4a8862 | 99 | %{__make} install \ |
49678139 | 100 | DESTDIR=$RPM_BUILD_ROOT |
bb4a8862 | 101 | |
5b88e2bb JB |
102 | # no static modules and *.la for gtk modules - shut up check-files |
103 | rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a} | |
a6da873b | 104 | |
d93d0bb1 | 105 | %find_lang %{name} |
106 | ||
bb4a8862 | 107 | %clean |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
4fefd0df | 110 | %post -p /sbin/ldconfig |
111 | %postun -p /sbin/ldconfig | |
48afc82d | 112 | |
d93d0bb1 | 113 | %files -f %{name}.lang |
bb4a8862 | 114 | %defattr(644,root,root,755) |
6255d6f9 | 115 | %doc AUTHORS ChangeLog NEWS README |
05591c6b | 116 | %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so |
9f43c7b1 | 117 | %attr(755,root,root) %{_libdir}/lib*.so.*.* |
bb4a8862 | 118 | |
119 | %files devel | |
120 | %defattr(644,root,root,755) | |
9f43c7b1 | 121 | %{_includedir}/gail-1.0 |
05591c6b | 122 | %attr(755,root,root) %{_libdir}/lib*.so |
3742124f | 123 | %{_libdir}/lib*.la |
bb4a8862 | 124 | %{_pkgconfigdir}/*.pc |
125 | ||
126 | %files static | |
127 | %defattr(644,root,root,755) | |
128 | %{_libdir}/*.a | |
590b0b07 | 129 | |
130 | %if %{with apidocs} | |
131 | %files apidocs | |
132 | %defattr(644,root,root,755) | |
133 | %{_gtkdocdir}/* | |
134 | %endif |