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