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