Dirk Mueller
df7070f3e5
* Fix some codespell complaints. * Remove gtk-layer-shell * Remove .nemo_action language files from files/usr, they're already - update to 6.2.7: * actions: Add better documentation, fix misleading warning message - update to 6.2.6: * nemo-action-manager.c: Generate unique names for actions when they are loaded - update to 6.2.5: * action-layout-editor: Translate action names - update to 6.2.4: * nemo-view.c: Don't create a zero-length Empty Document - update to 6.2.3: * nemo-action-layout-editor.glade: Set a translation domain * nemo-icon-container.c: Don't tie the interactive search box * Fix handling of actions that are not part of the layout - update to 6.2.2: * layout editor: Update the disabled list immediately when an action - update to 6.2.1: * eel-gnome-extensions.c: Set GNOME Terminal to FALSE * layout editor: Don't allow duplicate uuids when saving the layout - update to 6.2.0: * nemo-action-layout-editor: Add up/down arrows as an alternative * Remove Edit->Plugins * layout-editor: Simplify UI/labels, center dialog * layout-editor: Add a label to explain the editor * nemo-action-layout-editor: Refactor to allow importing the editor * eel-gnome-extensions.c: Support whitespace in execution commands * nemo-desktop-main.c: Add missing include OBS-URL: https://build.opensuse.org/package/show/X11:Cinnamon:Factory/nemo?expand=0&rev=191
169 lines
5.0 KiB
RPMSpec
169 lines
5.0 KiB
RPMSpec
#
|
|
# spec file for package nemo
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define sover 1
|
|
Name: nemo
|
|
Version: 6.2.8
|
|
Release: 0
|
|
Summary: File browser for Cinnamon
|
|
License: GPL-2.0-or-later
|
|
URL: https://github.com/linuxmint/nemo
|
|
Source: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: cmake
|
|
BuildRequires: fdupes
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: intltool
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python3-gobject
|
|
BuildRequires: shared-mime-info
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: pkgconfig(cinnamon-desktop)
|
|
BuildRequires: pkgconfig(dbus-1)
|
|
BuildRequires: pkgconfig(exempi-2.0)
|
|
BuildRequires: pkgconfig(gail-3.0)
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12.0
|
|
BuildRequires: pkgconfig(gtk+-wayland-3.0) >= 3.10.0
|
|
BuildRequires: pkgconfig(gtk-doc)
|
|
BuildRequires: pkgconfig(gtksourceview-2.0)
|
|
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
BuildRequires: pkgconfig(gtksourceview-4)
|
|
BuildRequires: pkgconfig(libexif)
|
|
BuildRequires: pkgconfig(libgsf-1)
|
|
BuildRequires: pkgconfig(libnotify)
|
|
BuildRequires: pkgconfig(libselinux)
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
BuildRequires: pkgconfig(polkit-agent-1)
|
|
BuildRequires: pkgconfig(tracker-sparql-3.0)
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xapp) >= 1.9.0
|
|
Requires: desktop-file-utils >= 0.7
|
|
Requires: glib2-tools
|
|
Requires: gvfs >= 1.3.2
|
|
Requires: python3
|
|
Requires: shared-mime-info >= 0.50
|
|
Recommends: gdk-pixbuf-loader-rsvg
|
|
Recommends: gvfs-backends
|
|
Recommends: python3dist(xlrd)
|
|
Suggests: xdg-user-dirs
|
|
Suggests: xplayer
|
|
Suggests: xreader
|
|
Suggests: xviewer
|
|
|
|
%description
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
|
|
|
%package devel
|
|
Summary: Development files for Nemo
|
|
Requires: %{name} = %{version}
|
|
Requires: lib%{name}-extension%{sover} = %{version}
|
|
Requires: typelib-1_0-Nemo-3_0 = %{version}
|
|
|
|
%description devel
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
|
|
|
This package provides the development files for Nemo.
|
|
|
|
%package -n lib%{name}-extension%{sover}
|
|
Summary: Nemo extension shared libraries
|
|
Group: System/Libraries
|
|
|
|
%description -n lib%{name}-extension%{sover}
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
|
|
|
This package provides Nemo's shared libraries.
|
|
|
|
%package -n typelib-1_0-Nemo-3_0
|
|
Summary: File Browser for Cinnamon -- Introspection Bindings
|
|
Group: System/Libraries
|
|
|
|
%description -n typelib-1_0-Nemo-3_0
|
|
Nemo is the file manager for the Cinnamon desktop environment.
|
|
|
|
This package provides the GObject Introspection bindings for Nemo.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
sed -i 's|/usr/bin/env bash|/usr/bin/bash|g' search-helpers/%{name}-epub2text
|
|
|
|
%build
|
|
%meson \
|
|
-Ddeprecated_warnings=true \
|
|
-Dexif=true \
|
|
-Dxmp=true \
|
|
-Dgtk_doc=true \
|
|
-Dselinux=true \
|
|
-Dempty_view=false \
|
|
-Dtracker=true \
|
|
--libexecdir=%{_libexecdir}/%{name}
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%suse_update_desktop_file %{name}
|
|
%suse_update_desktop_file %{name}-autostart
|
|
%suse_update_desktop_file %{name}-autorun-software
|
|
|
|
# We need to own this directory.
|
|
mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/
|
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%post -n lib%{name}-extension%{sover}
|
|
%ldconfig
|
|
|
|
%postun -n lib%{name}-extension%{sover}
|
|
%ldconfig
|
|
|
|
%files
|
|
%license COPYING*
|
|
%doc AUTHORS README.md debian/changelog
|
|
%{_bindir}/%{name}*
|
|
%{_libexecdir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/applications/%{name}*.desktop
|
|
%{_datadir}/icons/hicolor/*/*/*
|
|
%{_datadir}/mime/packages/%{name}.xml
|
|
%{_mandir}/man?/%{name}*%{?ext_man}
|
|
%{_datadir}/dbus-1/services/nemo.service
|
|
%{_datadir}/dbus-1/services/nemo.FileManager1.service
|
|
%{_datadir}/glib-2.0/schemas/org.nemo.gschema.xml
|
|
%{_datadir}/gtksourceview-{2.0,3.0,4}/*
|
|
%{_datadir}/polkit-1/actions/org.nemo.root.policy
|
|
|
|
%files -n typelib-1_0-Nemo-3_0
|
|
%{_libdir}/girepository-1.0/Nemo-3.0.typelib
|
|
|
|
%files -n lib%{name}-extension%{sover}
|
|
%dir %{_libdir}/%{name}
|
|
%dir %{_libdir}/%{name}/extensions-3.0
|
|
%{_libdir}/lib%{name}-extension.so.%{sover}*
|
|
|
|
%files devel
|
|
%{_includedir}/%{name}/
|
|
%{_libdir}/lib%{name}-extension.so
|
|
%{_libdir}/pkgconfig/lib%{name}-extension.pc
|
|
%{_datadir}/gir-1.0/Nemo-3.0.gir
|
|
%{_datadir}/gtk-doc/html/libnemo-extension
|
|
|
|
%changelog
|