8 |
%define pkgname atk |
%define pkgname atk |
9 |
|
|
10 |
# Version of glib needed |
# Version of glib needed |
11 |
%define req_glib2_version 2.5.7 |
%define req_glib2_version 2.6.0 |
12 |
|
%define gobject_introspection_version 0.9.6 |
13 |
|
|
14 |
%define lib_name %mklibname %{name}_ %{lib_major} |
%define lib_name %mklibname %{name}_ %{lib_major} |
15 |
%define develname %mklibname -d %{name} |
%define develname %mklibname -d %{name} |
16 |
|
|
17 |
Name: %{pkgname}%{api_version} |
Name: %{pkgname}%{api_version} |
18 |
Version: 1.32.0 |
Version: 2.0.0 |
19 |
Release: %mkrel 2 |
Release: %mkrel 1 |
20 |
Summary: Accessibility features for Gtk+ |
Summary: Accessibility features for Gtk+ |
21 |
License: LGPLv2+ |
License: LGPLv2+ |
22 |
Group: Accessibility |
Group: Accessibility |
23 |
Url: http://developer.gnome.org/projects/gap/ |
Url: http://developer.gnome.org/projects/gap/ |
24 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%pkgname-%version.tar.bz2 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/%pkgname/%pkgname-%version.tar.bz2 |
|
Buildroot: %_tmppath/%name-%{version}-root |
|
25 |
BuildRequires: libglib2-devel >= %{req_glib2_version} |
BuildRequires: libglib2-devel >= %{req_glib2_version} |
26 |
%if %enable_gtkdoc |
%if %enable_gtkdoc |
27 |
BuildRequires: gtk-doc |
BuildRequires: gtk-doc |
28 |
%endif |
%endif |
29 |
BuildRequires: gobject-introspection-devel |
BuildRequires: gobject-introspection-devel >= %{gobject_introspection_version} |
30 |
|
# Bootstrap requirements |
31 |
|
BuildRequires: gnome-common gtk-doc |
32 |
|
|
33 |
%description |
%description |
34 |
Accessibility means providing system infrastructure that allows add-on |
Accessibility means providing system infrastructure that allows add-on |
87 |
%setup -q -n %{pkgname}-%{version} |
%setup -q -n %{pkgname}-%{version} |
88 |
|
|
89 |
%build |
%build |
|
|
|
90 |
%configure2_5x \ |
%configure2_5x \ |
|
--enable-static \ |
|
91 |
%if %enable_gtkdoc |
%if %enable_gtkdoc |
92 |
--enable-gtk-doc |
--enable-gtk-doc |
93 |
%endif |
%endif |
98 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
99 |
%makeinstall_std |
%makeinstall_std |
100 |
|
|
101 |
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
102 |
|
|
103 |
%{find_lang} %{pkgname}10 |
%{find_lang} %{pkgname}10 |
104 |
|
|
105 |
%clean |
%clean |
120 |
%doc %{_datadir}/gtk-doc/html/* |
%doc %{_datadir}/gtk-doc/html/* |
121 |
%{_includedir}/* |
%{_includedir}/* |
122 |
%{_libdir}/*.so |
%{_libdir}/*.so |
|
%{_libdir}/*.a |
|
|
%{_libdir}/*.la |
|
123 |
%{_libdir}/pkgconfig/* |
%{_libdir}/pkgconfig/* |
124 |
%_datadir/gir-1.0/Atk-%{api_version}.gir |
%_datadir/gir-1.0/Atk-%{api_version}.gir |
125 |
|
|