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