nautilus/nautilus.spec
liweigang 552b8eb9e0 Fix crash when copying an invalid file
Signed-off-by: liweigang <liweiganga@uniontech.com>
2024-05-28 09:59:50 +08:00

143 lines
4.2 KiB
RPMSpec

Name: nautilus
Version: 3.33.90
Release: 10
Summary: Default file manager for GNOME
License: GPLv3+ and LGPLv2+
URL: https://wiki.gnome.org/Apps/Nautilus
Source0: https://download.gnome.org/sources/%{name}/3.33/%{name}-%{version}.tar.xz
BuildRequires: desktop-file-utils gcc gettext gtk-doc meson libgexiv2-devel glib2-devel gnome-autoar-devel gnome-desktop3-devel
BuildRequires: gobject-introspection-devel gsettings-desktop-schemas-devel gtk3-devel libseccomp-devel libselinux-devel libxslt
BuildRequires: libxml2-devel tracker-devel libX11-devel /usr/bin/appstream-util pkgconfig(gstreamer-pbutils-1.0) pkgconfig(gstreamer-tag-1.0) git
Requires: glib2 gsettings-desktop-schemas gtk3 gvfs tracker-miners
Provides: %{name}-extensions
Obsoletes: %{name}-extensions
Patch01: nautius-3.33.90-translate-information-to-chinese.patch
Patch02: nautius-3.33.90-translate-English-tips-information-to-chinese.patch
Patch03: nautius-3.33.90-display-tooltip-content.patch
Patch04: nautius-3.33.90-translate-general-and-show-sidebar.patch
Patch05: nautius-3.33.90-Add-right-click-sort-function.patch
Patch06: nautius-3.33.90-Add-the-ability-to-create-document.patch
Patch07: CVE-2022-37290.patch
%description
It's easier to manage your files for the GNOME desktop. Ability to browse directories on local and remote systems.
preview folders and launch related programs. It is also handle icons on the GNOME desktop.
%package devel
Summary: includes development files for %{name} client development
License: LGPLv2+
Requires: %{name} = %{version}-%{release}
%description devel
Files needed for building applications,such as static libraries,
header files that can communicate with a %{name} media server.
%package_help
%prep
%autosetup -p1
sed -i '/-Werror/d' meson.build
%build
%meson -Ddocs=true -Dextensions=true -Dintrospection=true \
-Dselinux=true %{nil}
%meson_build
%install
%meson_install
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Nautilus.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*.desktop
make test
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%license LICENSE
%{_libdir}/nautilus
%{_libdir}/libnautilus-extension.so*
%{_libdir}/girepository-1.0
%{_bindir}/*
%{_datadir}/dbus-1/*
%{_datadir}/gnome-shell/*
%{_datadir}/locale
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*
%{_datadir}/glib-2.0/*
%files devel
%defattr(-,root,root)
%{_includedir}/nautilus/*
%{_libdir}/pkgconfig/*
%files help
%defattr(-,root,root)
%doc NEWS README.md
%{_mandir}/man1/*
%{_datadir}/gtk-doc/html/libnautilus-extension/*
%{_datadir}/gir-1.0/*
%{_datadir}/metainfo/*
%changelog
* Tue May 21 2024 liweigang <liweiganga@uniontech.com> - 3.33.90-10
- Fix crash when copying an invalid file
* Thu Dec 15 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-9
- Type:bugfix
- Id:NA
- SUG:NA
- DESC: Add the ability to create document
* Thu Dec 15 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC: Add right click sort function
* Wed Dec 14 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-7
- Type:bugfix
- Id:NA
- SUG:NA
- DESC: translate general and show sidebar into Chinese
* Mon Dec 12 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-6
- Type:bugfix
- Id:NA
- SUG:NA
- DESC: display tooltop content
* Sun Dec 11 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-5
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:translate English tips information to chinese
* Fri Dec 9 2022 Guangzhong Yao <yaoguangzhong@xfusion.com> - 3.33.90-4
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:translate some information to chinese
* Sat Dec 28 2019 Jiangping Hu <hujiangping@huawei.com> - 3.33.90-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:package glib-2.0/* into nautilus package
* Thu Nov 21 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.33.90-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add the libxslt in buildrequires
* Sat Aug 31 2019 openEuler Buildteam <buildteam@openeuler.org> - 3.33.90-1
- Package init