]> git.pld-linux.org Git - packages/gail.git/blob - gail.spec
- rel.5, updated deps, --as-needed support
[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:        5
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.12.1
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  gettext-devel
19 BuildRequires:  gtk+2-devel >= 2:2.10.0
20 %{?with_apidocs:BuildRequires:  gtk-doc >= 1.6}
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:       libgnomecanvas >= 2.14.0
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
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
34 %description -l pl
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.
38
39 %package devel
40 Summary:        Header files to compile applications that use GAIL
41 Summary(pl):    Pliki nag³ówkowe GAIL
42 Group:          X11/Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       atk-devel >= 1:1.12.0
45 %{?with_apidocs:Requires:       gtk-doc-common}
46 Requires:       gtk+2-devel >= 2:2.10.0
47 Requires:       libgnomecanvas-devel >= 2.14.0
48
49 %description devel
50 gail-devel contains the header files required to compile applications
51 against the GAIL libraries.
52
53 %description devel -l pl
54 Pakiet gail-devel zawiera pliki nag³ówkowe potrzebne do kompilowania
55 aplikacji u¿ywaj±cych bibliotek GAIL.
56
57 %package static
58 Summary:        Static GAIL libraries
59 Summary(pl):    Statyczne biblioteki GAIL
60 Group:          X11/Development/Libraries
61 Requires:       %{name}-devel = %{version}-%{release}
62
63 %description static
64 gail-static contains the static GAIL libraries.
65
66 %description static -l pl
67 Pakiet gail-static zawiera statyczne biblioteki GAIL.
68
69 %prep
70 %setup -q
71
72 %build
73 %{?with_apidocs:%{__gtkdocize}}
74 %{__libtoolize}
75 %{__aclocal}
76 %{__autoconf}
77 %{__automake}
78 LDFLAGS="%{rpmldflags} -Wl,--as-needed"
79 %configure \
80         %{?with_apidocs:--enable-gtk-doc} \
81         --enable-static \
82         --with-html-dir=%{_gtkdocdir}
83 %{__make}
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 %{__make} install \
89         DESTDIR=$RPM_BUILD_ROOT
90
91 # no static modules and *.la for gtk modules - shut up check-files
92 rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/lib*.{la,a}
93
94 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/{as,no,tk}
95
96 %find_lang %{name}
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %post   -p /sbin/ldconfig
102 %postun -p /sbin/ldconfig
103
104 %files -f %{name}.lang
105 %defattr(644,root,root,755)
106 %doc AUTHORS ChangeLog NEWS README
107 %attr(755,root,root) %{_libdir}/gtk-2.0/modules/lib*.so
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
109
110 %files devel
111 %defattr(644,root,root,755)
112 %{?with_apidocs:%{_gtkdocdir}/*}
113 %{_includedir}/gail-1.0
114 %attr(755,root,root) %{_libdir}/lib*.so
115 %{_libdir}/lib*.la
116 %{_pkgconfigdir}/*.pc
117
118 %files static
119 %defattr(644,root,root,755)
120 %{_libdir}/*.a
This page took 0.082606 seconds and 4 git commands to generate.