|
@@ -1,30 +1,21 @@
|
|
|
+%bcond_with systemd
|
|
|
%bcond_with firstbuild
|
|
|
+
|
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
%define _unpackaged_files_terminate_build 1
|
|
|
|
|
|
-# Meson settings
|
|
|
-%global _vpath_srcdir .
|
|
|
-%global _vpath_builddir %{_target_platform}
|
|
|
-%global __global_cflags %{optflags}
|
|
|
-%global __global_cxxflags %{optflags}
|
|
|
-%global __global_fflags %{optflags} -I%_fmoddir
|
|
|
-%global __global_fcflags %{optflags} -I%_fmoddir
|
|
|
-%global __global_ldflags -Wl,-z,relro %{_hardened_ldflags}
|
|
|
-%global _hardened_ldflags ""
|
|
|
-%global __meson_wrap_mode default
|
|
|
-
|
|
|
-
|
|
|
Name: at-spi2-core
|
|
|
-Version: 2.36.0
|
|
|
-Release: 1%{?_dist_release}
|
|
|
Summary: Protocol definitions and daemon for D-Bus at-spi
|
|
|
+Version: 2.40.0
|
|
|
+Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
+Group: desktop-gnome,accessibility
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
License: LGPLv2+
|
|
|
URL: https://www.freedesktop.org/wiki/Accessibility/AT-SPI2/
|
|
|
%global shortver %(echo %{version} | sed -e 's/\.[0-9]*$//')
|
|
|
Source0: https://download.gnome.org/sources/at-spi2-core/%{shortver}/%{name}-%{version}.tar.xz
|
|
|
-Vendor: Project Vine
|
|
|
-Distribution: Vine Linux
|
|
|
|
|
|
BuildRequires: meson
|
|
|
BuildRequires: dbus-devel
|
|
@@ -57,7 +48,7 @@ ORBIT / CORBA for its transport protocol.
|
|
|
|
|
|
%package devel
|
|
|
Summary: Development files and headers for at-spi2-core
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
@@ -68,7 +59,7 @@ API documentation for libatspi.
|
|
|
# compat32
|
|
|
%package -n compat32-%{name}
|
|
|
Summary: Protocol definitions and daemon for D-Bus at-spi
|
|
|
-Group: System Environment/Libraries
|
|
|
+Group: desktop-gnome,accessibility,legacy
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
@@ -84,7 +75,7 @@ ORBIT / CORBA for its transport protocol.
|
|
|
|
|
|
%package -n compat32-%{name}-devel
|
|
|
Summary: Development files and headers for at-spi2-core
|
|
|
-Group: Development/Libraries
|
|
|
+Group: programming,legacy
|
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
@@ -93,6 +84,8 @@ The at-spi2-core-devel package includes the header files and
|
|
|
API documentation for libatspi.
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
+
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
@@ -100,18 +93,15 @@ API documentation for libatspi.
|
|
|
%meson -Denable_docs=false
|
|
|
%meson_build
|
|
|
|
|
|
+
|
|
|
%install
|
|
|
%meson_install
|
|
|
|
|
|
%{find_lang} %{name}
|
|
|
|
|
|
+%if ! %{with systemd}
|
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd
|
|
|
-
|
|
|
-%post -p /sbin/ldconfig
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
+%endif
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
@@ -125,7 +115,9 @@ rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd
|
|
|
%{_datadir}/dbus-1/accessibility-services/org.a11y.atspi.Registry.service
|
|
|
%{_datadir}/dbus-1/services/org.a11y.Bus.service
|
|
|
%{_datadir}/defaults/at-spi2/accessibility.conf
|
|
|
-
|
|
|
+%if %{with systemd}
|
|
|
+%{_userunitdir}/*
|
|
|
+%endif
|
|
|
|
|
|
%files devel
|
|
|
%{_libdir}/libatspi.so
|
|
@@ -147,6 +139,11 @@ rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/systemd
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Apr 02 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.40.0-1
|
|
|
+- new upstream release.
|
|
|
+- added systemd support (disabled as default).
|
|
|
+- dropped ldconfig scriptlets.
|
|
|
+
|
|
|
* Sat Aug 01 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.36.0-1
|
|
|
- new upstream release.
|
|
|
|