- Update to version 3.8.2.

OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=130
This commit is contained in:
Alexei Sorokin
2018-05-10 13:12:10 +00:00
committed by Git OBS Bridge
parent 8f67e9f0c8
commit b5ade3f8a6
4 changed files with 62 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
%define sover 1
%define typelib typelib-1_0-Nemo-3_0
Name: nemo
Version: 3.8.0
Version: 3.8.2
Release: 0
Summary: File browser for Cinnamon
License: GPL-2.0-or-later
@@ -105,6 +105,19 @@ This package provides the GObject Introspection bindings for Nemo.
%setup -q
%build
%if 0%{?suse_version} < 1500
mkdir -p bin
cat > bin/g-ir-scanner << EOF
#!/bin/sh
# This breaks the build. There are also useless entries in shared-library= in
# Nemo-3.0.gir but that doesn't seem to have any actual implications here.
export SUSE_ASNEEDED=0
exec %{_bindir}/g-ir-scanner "\$%{nil}@"
EOF
chmod a+x bin/g-ir-scanner
export PATH="$PWD/bin:$PATH"
%endif
%meson \
--libexecdir=%{_libexecdir}/%{name} \
-Dgtk_doc=true
@@ -112,8 +125,6 @@ This package provides the GObject Introspection bindings for Nemo.
%install
%meson_install
find %{buildroot} -type f -name "*.a" -delete -print
find %{buildroot} -type f -name "*.la" -delete -print
%suse_update_desktop_file %{name} System FileManager
%suse_update_desktop_file %{name}-autostart