From 877362ca972f452cff6a5b0d6f0e6f87dc869446 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Fri, 22 Dec 2023 10:07:11 +0100 Subject: [PATCH] update to version 6.0.1 Signed-off-by: Toshaan Bharvani --- SPECS/nemo.spec | 123 ++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 109 insertions(+), 14 deletions(-) diff --git a/SPECS/nemo.spec b/SPECS/nemo.spec index 93ed178..247ff46 100644 --- a/SPECS/nemo.spec +++ b/SPECS/nemo.spec @@ -1,10 +1,19 @@ +%global commit0 32ab5b1c7893054b266afaa6c88b45c43e8ebd25 +%global date 20231109 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) +%global tag %{version} + Name: nemo Summary: File manager for Cinnamon -Version: 5.4.0 -Release: 1%{?dist} +Version: 6.0.1 +Release: 1%{!?tag:.%{date}git%{shortcommit0}}%{?dist} License: GPLv2+ and LGPLv2+ URL: https://github.com/linuxmint/%{name} -Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz +%if 0%{?tag:1} +Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz +%else +Source0: %url/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz +%endif Source1: nemo-fedora.gschema.override Patch0: remove_desktop_search.patch Patch1: Don-t-scale-text-size-when-zooming.patch @@ -12,32 +21,42 @@ Patch1: Don-t-scale-text-size-when-zooming.patch ExcludeArch: %{ix86} Requires: redhat-menus -Requires: gvfs%{?_isa} +Requires: gvfs-fuse%{?_isa} Requires: gvfs-goa%{?_isa} Requires: xapps%{?_isa} >= 2.2.0 # required for for gtk-stock fallback Requires: adwaita-icon-theme -Requires: cinnamon-translations >= 5.4.0 +Requires: cinnamon-translations >= 6.0.0 Recommends: nemo-search-helpers +Recommends: folder-color-switcher-nemo BuildRequires: meson +BuildRequires: gcc BuildRequires: intltool BuildRequires: python3-gobject-base BuildRequires: desktop-file-utils +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(gtk+-wayland-3.0) +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(glib-2.0) +BuildRequires: pkgconfig(gmodule-no-export-2.0) +BuildRequires: pkgconfig(gobject-2.0) +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(cinnamon-desktop) >= 6.0.0 +BuildRequires: pkgconfig(gail-3.0) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(cinnamon-desktop) >= 5.4.0 -BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xapp) >= 2.2.0 +BuildRequires: pkgconfig(exempi-2.0) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libgsf-1) -BuildRequires: pkgconfig(exempi-2.0) BuildRequires: pkgconfig(libselinux) -BuildRequires: pkgconfig(gobject-introspection-1.0) -BuildRequires: pkgconfig(libnotify) -BuildRequires: pkgconfig(xapp) >= 2.2.0 +BuildRequires: pkgconfig(pango) # the main binary links against libnemo-extension.so # don't depend on soname, rather on exact version -Requires: nemo-extensions%{?_isa} = %{version}-%{release} +Requires: %{name}-extensions%{?_isa} = %{version}-%{release} %description Nemo is the file manager and graphical shell for the Cinnamon desktop @@ -72,6 +91,7 @@ This package provides the search helpers used by nemo. Summary: Support for developing nemo extensions License: LGPLv2+ Requires: %{name}%{?_isa} = %{version}-%{release} +Requires: %{name}-extensions%{?_isa} = %{version}-%{release} %description devel @@ -79,7 +99,11 @@ This package provides libraries and header files needed for developing nemo extensions. %prep +%if 0%{?tag:1} %autosetup -p1 +%else +%autosetup -p1 -n %{name}-%{commit0} +%endif %build %meson \ @@ -93,10 +117,14 @@ for developing nemo extensions. install -D -m 0644 %{SOURCE1} %{buildroot}/%{_datadir}/glib-2.0/schemas/nemo-fedora.gschema.override +# Only autostart in cinnamon and budgie +desktop-file-install --delete-original \ + --dir %{buildroot}%{_datadir}/applications \ + --add-only-show-in "X-Cinnamon;Budgie" \ + %{buildroot}%{_datadir}/applications/nemo-autostart.desktop desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ - --add-only-show-in X-Cinnamon \ - %{buildroot}%{_datadir}/applications/* + %{buildroot}%{_datadir}/applications/{nemo,nemo-autorun-software}.desktop # create extensions directoy mkdir -p %{buildroot}%{_libdir}/nemo/extensions-3.0/ @@ -135,6 +163,7 @@ rm %{buildroot}%{_datadir}/nemo/search-helpers/pdf2txt.nemo_search_helper %{_libdir}/girepository-1.0/Nemo-3.0.typelib %files search-helpers +%{_bindir}/nemo-epub2text %{_bindir}/nemo-mso-to-txt %{_bindir}/nemo-ppt-to-txt %{_bindir}/nemo-xls-to-txt @@ -147,6 +176,72 @@ rm %{buildroot}%{_datadir}/nemo/search-helpers/pdf2txt.nemo_search_helper %{_datadir}/gir-1.0/*.gir %changelog +* Tue Dec 19 2023 Leigh Scott - 6.0.1-1 +- Update to 6.0.1 release + +* Sun Nov 19 2023 Leigh Scott - 6.0.0-1 +- Update to 6.0.0 release + +* Thu Nov 09 2023 Leigh Scott - 5.9.0-1.20231109git32ab5b1 +- Update to git snapshot + +* Fri Nov 03 2023 Leigh Scott - 5.8.5-3 +- Add recommends folder-color-switcher-nemo + +* Sat Sep 23 2023 Leigh Scott - 5.8.5-2 +- Show nemo app in other DE's + +* Fri Sep 22 2023 Leigh Scott - 5.8.5-1 +- Update to 5.8.5 release + +* Mon Aug 14 2023 Leigh Scott - 5.8.4-3 +- Add requires gvfs-fuse + +* Thu Jul 20 2023 Fedora Release Engineering - 5.8.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jul 09 2023 Leigh Scott - 5.8.4-1 +- Update to 5.8.4 release + +* Tue Jun 27 2023 Leigh Scott - 5.8.3-1 +- Update to 5.8.3 release + +* Thu Jun 08 2023 Leigh Scott - 5.8.1-1 +- Update to 5.8.1 release + +* Fri Jun 02 2023 Leigh Scott - 5.8.0-1 +- Update to 5.8.0 release + +* Mon Mar 20 2023 Leigh Scott - 5.6.4-1 +- Update to 5.6.4 release + +* Sat Feb 04 2023 Leigh Scott - 5.6.2-3 +- Add Budgie to OnlyShowIn + +* Thu Jan 19 2023 Fedora Release Engineering - 5.6.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Jan 08 2023 Leigh Scott - 5.6.2-1 +- Update to 5.6.2 release + +* Tue Dec 13 2022 Leigh Scott - 5.6.1-1 +- Update to 5.6.1 release + +* Mon Nov 21 2022 Leigh Scott - 5.6.0-1 +- Update to 5.6.0 release + +* Mon Aug 15 2022 Leigh Scott - 5.4.3-1 +- Update to 5.4.3 release + +* Wed Jul 27 2022 Leigh Scott - 5.4.2-1 +- Update to 5.4.2 release + +* Fri Jul 22 2022 Fedora Release Engineering - 5.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Jul 17 2022 Leigh Scott - 5.4.1-1 +- Update to 5.4.1 release + * Sat Jun 11 2022 Leigh Scott - 5.4.0-1 - Update to 5.4.0 release