atk/atk.spec

53 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:31:43 -04:00
Name: atk
Version: 2.30.0
Release: 2
Summary: Interfaces for accessibility support
License: LGPLv2+
URL: http://developer.gnome.org/platform-overview/stable/atk
Source0: http://download.gnome.org/sources/atk/2.30/atk-%{version}.tar.xz
BuildRequires: glib2-devel gettext gobject-introspection-devel gtk-doc meson
%description
The Accessibility Toolkit(ATK) is an open source software library, part of
the GNOME project, which provides application programming interfaces for
implementing accessibility support in software.
%package devel
Summary: Development files for the ATK accessibility toolkit
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
This package provides libraries, header files, and developer documentation
needed for ATK related applications or toolkits.
%prep
%autosetup -p1
%build
%meson -Ddocs=true
%meson_build
%install
%meson_install
sed -i 's/idm[0-9]\{5,32\}\"/idm12345678912345\"/g' $(find %{_buildrootdir} -name api-index-full.html)
%find_lang atk10
%files -f atk10.lang
%license COPYING
%doc README AUTHORS NEWS
%{_libdir}/libatk-1.0.so.*
%{_libdir}/girepository-1.0
%files devel
%{_includedir}/atk-1.0
%{_libdir}/libatk-1.0.so
%{_libdir}/pkgconfig/atk.pc
%{_datadir}/gtk-doc/html/atk
%{_datadir}/gir-1.0
%changelog
* Tue Sep 10 2019 Alex Chao <zhaolei746@huawei.com> - 2.30.0-2
- Package init