forked from pool/at-spi2-core
Accepting request 547061 from home:Zaitor:branches:GNOME:Factory
- Switch to using meson buildsystem: + Add meson and gtk-doc BuildRequires. + Use meson, meson_build and meson_install macros instead of autotools macros. + Drop update-desktop-files BuildRequires and stop using suse_update_desktop_file macro, no longer needed. + Modernize spec, use spec-cleaner. OBS-URL: https://build.opensuse.org/request/show/547061 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/at-spi2-core?expand=0&rev=171
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 1 07:39:41 UTC 2017 - zaitor@opensuse.org
|
||||
|
||||
- Switch to using meson buildsystem:
|
||||
+ Add meson and gtk-doc BuildRequires.
|
||||
+ Use meson, meson_build and meson_install macros instead of
|
||||
autotools macros.
|
||||
+ Drop update-desktop-files BuildRequires and stop using
|
||||
suse_update_desktop_file macro, no longer needed.
|
||||
+ Modernize spec, use spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 09:52:22 UTC 2017 - fezhang@suse.com
|
||||
|
||||
|
@@ -25,8 +25,11 @@ Group: System/GUI/GNOME
|
||||
Url: http://www.gnome.org/
|
||||
Source0: http://download.gnome.org/sources/at-spi2-core/2.26/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(dbus-1) >= 1.0
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.28
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.36.0
|
||||
@@ -38,7 +41,6 @@ BuildRequires: pkgconfig(xkbcommon-x11)
|
||||
BuildRequires: pkgconfig(xtst)
|
||||
# dbus-daemon is needed to have this work fine
|
||||
Requires: dbus-1
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
AT-SPI is a general interface for applications to make use of the
|
||||
@@ -79,30 +81,28 @@ This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--libexecdir=%{_libexecdir}/at-spi2 \
|
||||
--with-dbus-daemondir=/bin \
|
||||
--disable-xevie \
|
||||
--disable-static
|
||||
make %{?_smp_mflags}
|
||||
%meson \
|
||||
--libexecdir="%{_libexecdir}/at-spi2" \
|
||||
-D enable_docs=true \
|
||||
-D enable-introspection=yes \
|
||||
-D enable-x11=yes \
|
||||
%{nil}
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%suse_update_desktop_file at-spi-dbus-bus
|
||||
%meson_install
|
||||
%find_lang at-spi2-core
|
||||
find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
|
||||
%post -n libatspi0 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libatspi0 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README
|
||||
%doc COPYING
|
||||
%{_libexecdir}/at-spi2/
|
||||
%{_sysconfdir}/xdg/autostart/at-spi-dbus-bus.desktop
|
||||
%{_userunitdir}/at-spi-dbus-bus.service
|
||||
@@ -113,15 +113,13 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
|
||||
%{_datadir}/defaults/at-spi2/
|
||||
|
||||
%files -n libatspi0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/libatspi.so.0*
|
||||
|
||||
%files -n typelib-1_0-Atspi-2_0
|
||||
%defattr(-, root, root)
|
||||
%{_libdir}/girepository-1.0/Atspi-2.0.typelib
|
||||
|
||||
%files devel
|
||||
%defattr(-, root, root)
|
||||
%doc AUTHORS README
|
||||
%{_includedir}/at-spi-2.0/
|
||||
%{_libdir}/libatspi.so
|
||||
%{_libdir}/pkgconfig/atspi-2.pc
|
||||
|
Reference in New Issue
Block a user