]> git.pld-linux.org Git - packages/gail.git/blame - gail.spec
- drop libgnomecanvas BR/R as it is not needed anymore
[packages/gail.git] / gail.spec
CommitLineData
e540cf67 1#
2# Conditional build:
3%bcond_without apidocs # disable gtk-doc
4#
bb4a8862 5Summary: Accessibility implementation for GTK+ and GNOME libraries
8aca3fab 6Summary(pl.UTF-8): Implementacja ułatwiania pracy niepełnosprawnym dla GTK+ i GNOME
bb4a8862 7Name: gail
db19c6c9 8Version: 1.19.6
ab16b2af 9Release: 1
bb4a8862 10License: LGPL
2c7e24e5 11Group: Libraries
db19c6c9
MB
12Source0: http://ftp.gnome.org/pub/GNOME/sources/gail/1.19/%{name}-%{version}.tar.bz2
13# Source0-md5: 5ba765ceb192c0903742043c48677483
e35e4705 14URL: http://developer.gnome.org/projects/gap/
db19c6c9 15BuildRequires: atk-devel >= 1:1.19.6
60189cb5 16BuildRequires: autoconf
17BuildRequires: automake
86557e42 18BuildRequires: gettext-devel
db19c6c9 19BuildRequires: gtk+2-devel >= 2:2.10.14
abb2db34 20%{?with_apidocs:BuildRequires: gtk-doc >= 1.8}
1c73ebb5 21BuildRequires: gtk-doc-automake
60189cb5 22BuildRequires: libtool
3742124f 23BuildRequires: pkgconfig
737a4c1e 24BuildRequires: rpmbuild(macros) >= 1.197
6255d6f9 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
bb4a8862 26
bb4a8862 27%description
28GAIL implements the abstract interfaces found in ATK for GTK+ and
29GNOME libraries, enabling accessibility technologies such as at-spi to
30access those GUIs.
31
145f6e12
JR
32%description -l pl.UTF-8
33GAIL jest implementacją abstrakcyjnych interfejsów z ATK dla bibliotek
34GTK+ i GNOME, umożliwiającą korzystanie z technik takich jak at-spi,
35aby ułatwić niepełnosprawnym korzystanie z tych GUI.
6255d6f9 36
bb4a8862 37%package devel
38Summary: Header files to compile applications that use GAIL
8aca3fab 39Summary(pl.UTF-8): Pliki nagłówkowe GAIL
bb4a8862 40Group: X11/Development/Libraries
d93d0bb1 41Requires: %{name} = %{version}-%{release}
db19c6c9
MB
42Requires: atk-devel >= 1:1.19.6
43Requires: gtk+2-devel >= 2:2.10.14
bb4a8862 44
45%description devel
49678139 46gail-devel contains the header files required to compile applications
bb4a8862 47against the GAIL libraries.
48
145f6e12
JR
49%description devel -l pl.UTF-8
50Pakiet gail-devel zawiera pliki nagłówkowe potrzebne do kompilowania
51aplikacji używających bibliotek GAIL.
6255d6f9 52
bb4a8862 53%package static
6255d6f9 54Summary: Static GAIL libraries
8aca3fab 55Summary(pl.UTF-8): Statyczne biblioteki GAIL
bb4a8862 56Group: X11/Development/Libraries
d93d0bb1 57Requires: %{name}-devel = %{version}-%{release}
bb4a8862 58
59%description static
6255d6f9
JB
60gail-static contains the static GAIL libraries.
61
145f6e12 62%description static -l pl.UTF-8
6255d6f9 63Pakiet gail-static zawiera statyczne biblioteki GAIL.
bb4a8862 64
590b0b07 65%package apidocs
abb2db34
MB
66Summary: API documentation
67Summary(pl.UTF-8): Dokumentacja API
590b0b07 68Group: Documentation
69Requires: gtk-doc-common
70
71%description apidocs
abb2db34 72API documentation.
590b0b07 73
145f6e12 74%description apidocs -l pl.UTF-8
39c5f587 75Dokumentacja 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
93rm -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
99rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
a6da873b 100
d93d0bb1 101%find_lang %{name}
102
bb4a8862 103%clean
104rm -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
This page took 0.063052 seconds and 4 git commands to generate.