|
@@ -1,29 +1,27 @@
|
|
|
-# Something's not quite right with libtool....
|
|
|
-%define __libtoolize :
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
%define glib2_base_version 2.55.0
|
|
|
%define glib2_version %{glib2_base_version}
|
|
|
|
|
|
-Summary: Interfaces for accessibility support.
|
|
|
-Summary(ja): アクセシビリティサポートのためのインタフェース
|
|
|
-Name: atk
|
|
|
-Version: 2.27.1
|
|
|
-Release: 1%{?_dist_release}
|
|
|
-License: LGPL
|
|
|
-Group: System Environment/Libraries
|
|
|
-Source: ftp://ftp.gnome.org/pub/GNOME/sources/atk/2.27/atk-%{version}.tar.xz
|
|
|
-URL: http://developer.gnome.org/projects/gap/
|
|
|
+Summary: Interfaces for accessibility support.
|
|
|
+Summary(ja): アクセシビリティサポートのためのインタフェース
|
|
|
+Name: atk
|
|
|
+Version: 2.36.0
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
+License: LGPL
|
|
|
+URL: http://developer.gnome.org/projects/gap/
|
|
|
+%global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
|
|
|
+Source: https://download.gnome.org/sources/atk/%{shortver}/atk-%{version}.tar.xz
|
|
|
|
|
|
-BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
-BuildRequires: gobject-introspection-devel >= 0.6.7
|
|
|
+BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
-Packager: Takemikaduchi
|
|
|
+BuildRequires: meson
|
|
|
+BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
+BuildRequires: gobject-introspection-devel >= 0.6.7
|
|
|
|
|
|
%description
|
|
|
The ATK library provides a set of interfaces for adding accessibility
|
|
@@ -32,6 +30,7 @@ supporting the ATK interfaces, an application or toolkit can be used
|
|
|
with tools such as screen readers, magnifiers, and alternative input
|
|
|
devices.
|
|
|
|
|
|
+
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: Interfaces for accessibility support.
|
|
|
Summary(ja): アクセシビリティサポートのためのインタフェース
|
|
@@ -45,6 +44,7 @@ supporting the ATK interfaces, an application or toolkit can be used
|
|
|
with tools such as screen readers, magnifiers, and alternative input
|
|
|
devices.
|
|
|
|
|
|
+
|
|
|
%package devel
|
|
|
Summary: Accessability Toolkit development files
|
|
|
Summary(ja): アクセシビリティツールキットの開発用ファイル
|
|
@@ -58,6 +58,7 @@ developer docs for the atk package.
|
|
|
|
|
|
Install atk-devel if you want to develop programs which will use ATK.
|
|
|
|
|
|
+
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Accessability Toolkit development files
|
|
|
Summary(ja): アクセシビリティツールキットの開発用ファイル
|
|
@@ -71,25 +72,28 @@ developer docs for the atk package.
|
|
|
|
|
|
Install atk-devel if you want to develop programs which will use ATK.
|
|
|
|
|
|
+
|
|
|
%prep
|
|
|
%setup -q -n atk-%{version}
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
-%configure --disable-gtk-doc --enable-introspection=yes
|
|
|
-make %{?_smp_mflags}
|
|
|
+%meson \
|
|
|
+ -Ddocs=false \
|
|
|
+ -Dintrospection=true
|
|
|
+%meson_build
|
|
|
|
|
|
-%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%makeinstall
|
|
|
+%install
|
|
|
+rm -rf %{buildroot}
|
|
|
+%meson_install
|
|
|
|
|
|
%find_lang atk10
|
|
|
|
|
|
-# remove unpackaged files
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
+
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
@@ -102,7 +106,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
%files -f atk10.lang
|
|
|
%defattr(-, root, root)
|
|
|
-%doc README AUTHORS COPYING NEWS
|
|
|
+%license COPYING
|
|
|
+%doc README AUTHORS NEWS
|
|
|
%{_libdir}/libatk*.so.*
|
|
|
%{_libdir}/girepository-1.0
|
|
|
|
|
@@ -111,7 +116,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%{_includedir}/*
|
|
|
%{_libdir}/libatk*.so
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
-%{_datadir}/gtk-doc/*
|
|
|
%{_datadir}/gir-1.0
|
|
|
|
|
|
%if %{build_compat32}
|
|
@@ -125,6 +129,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Sat Aug 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.36.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Sat Jan 06 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.27.1-1
|
|
|
- new upstream release.
|
|
|
|