10 Star 0 Fork 7

src-anolis-dde/dde-file-manager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
dde-file-manager.spec 10.17 KB
一键复制 编辑 原始数据 按行查看 历史
liuzhilin 提交于 2024-03-27 17:41 . del smbd service patch
%define anolis_release .0.5
Name: dde-file-manager
Version: 5.7.8.1
Release: 1%{anolis_release}%{?dist}
Summary: Deepin File Manager
License: GPLv3
URL: https://github.com/linuxdeepin/dde-file-manager
Source0: %{name}_%{version}.orig.tar.xz
Patch1: 0001-del-background-license.patch
Patch3: 0001-fix-obtaining-mem.patch
BuildRequires: gcc-c++
BuildRequires: desktop-file-utils
BuildRequires: deepin-gettext-tools
BuildRequires: dde-dock-devel
BuildRequires: file-devel
#BuildRequires: jemalloc-devel
#BuildRequires: cmake(KF5Codecs)
BuildRequires: pkgconfig(atk)
BuildRequires: dtkgui-devel
BuildRequires: pkgconfig(dtkwidget) >= 5.1
BuildRequires: pkgconfig(dframeworkdbus) >= 2.0
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gsettings-qt)
BuildRequires: pkgconfig(libsecret-1)
BuildRequires: pkgconfig(poppler-cpp)
BuildRequires: pkgconfig(polkit-agent-1)
BuildRequires: pkgconfig(polkit-qt5-1)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5X11Extras)
BuildRequires: qt5-qtbase-private-devel
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
BuildRequires: pkgconfig(taglib)
#BuildRequires: pkgconfig(uchardet)
BuildRequires: pkgconfig(xcb-util)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: qt5-linguist
BuildRequires: jemalloc-devel
#BuildRequires: udisks2-qt5
BuildRequires: udisks2-qt5-devel
BuildRequires: disomaster-devel
BuildRequires: libgio-qt libgio-qt-devel
BuildRequires: openssl-devel
BuildRequires: libqtxdg-devel
BuildRequires: libmediainfo-devel
BuildRequires: kf5-kcodecs-devel
#BuildRequires: libudisks2-qt5-devel
BuildRequires: lucene++-devel
BuildRequires: htmlcxx-devel
BuildRequires: libgsf-devel
BuildRequires: mimetic-devel
BuildRequires: boost-devel
%ifarch %{ix86} x86_64
BuildRequires: deepin-anything-devel deepin-anything-server
%endif
BuildRequires: docparser-devel
BuildRequires: cryptsetup-devel
# run command by QProcess
#Requires: deepin-shortcut-viewer
Requires: deepin-terminal
Requires: dde-desktop
#Requires: file-roller
Requires: jemalloc
Requires: libglvnd-glx
Requires: libdde-file-manager
Requires: cryfs
%ifarch %{ix86} x86_64
Requires: deepin-anything-dkms deepin-anything-server
%endif
#Requires: gvfs-client
#Requires: samba
#Requires: xdg-user-dirs
#Requires: gstreamer-plugins-good
Recommends: deepin-manual
%description
File manager front end of Deepin OS.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Header files and libraries for %{name}.
%package -n libdde-file-manager
Summary: DDE File Manager library
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: kf5-kcodecs
Requires: jemalloc
Requires: poppler-cpp
Requires: libmediainfo
Requires: libzen
Requires: udisks2-qt5
Requires: taglib
Requires: libgio-qt
%ifarch %{ix86} x86_64
Requires: deepin-anything-libs
%endif
%description -n libdde-file-manager
DDE File Manager library.
%package -n dde-disk-mount-plugin
Summary: plugin of dde-dock
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n dde-disk-mount-plugin
plugin of dde-dock.
%package -n dde-desktop
Summary: Deepin desktop environment - desktop module
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: dde-dock
Requires: dde-launcher
Requires: dde-session-ui
%description -n dde-desktop
Deepin desktop environment - desktop module.
%prep
%setup -q
%patch1 -p1
%patch3 -p1
# fix file permissions
find -type f -perm 775 -exec chmod 644 {} \;
#sed -i '/target.path/s|lib|%{_lib}|' src/dde-dock-plugins/disk-mount/disk-mount.pro
sed -i '/deepin-daemon/s|lib|libexec|' src/dde-zone/mainwindow.h
sed -i 's|lib/gvfs|libexec|' src/%{name}-lib/gvfs/networkmanager.cpp
#sed -i 's|%{_datadir}|%{_libdir}|' dde-sharefiles/appbase.pri
%ifnarch i686
sed -i 's|/lib/dde-dock/plugins|/lib64/dde-dock/plugins|' src/dde-dock-plugins/disk-mount/disk-mount.pro
%endif
%build
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 PREFIX=%{_prefix} DISABLE_JEMALLOC=1 QMAKE_CFLAGS_ISYSTEM= CONFIG+="DISABLE_FFMPEG" DEFINES+="VERSION=%{version}" filemanager.pro
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/dde-computer.desktop ||:
desktop-file-validate %{buildroot}%{_datadir}/applications/dde-trash.desktop ||:
desktop-file-validate %{buildroot}%{_datadir}/applications/dde-home.desktop ||:
%ldconfig_scriptlets
%files
%doc README.md
%license LICENSE
%config(noreplace) %{_sysconfdir}/dbus-1/system.d/com.deepin.filemanager.daemon.conf
%{_bindir}/%{name}
%{_bindir}/%{name}-daemon
%{_bindir}/%{name}-pkexec
%ifnarch x86_64 i686
%{_bindir}/*.sh
%{_sysconfdir}/xdg/autostart/dde-file-manager-autostart.desktop
%endif
%{_bindir}/dde-property-dialog
%{_bindir}/dde-select-dialog-wayland
%{_bindir}/dde-select-dialog-x11
/usr/lib/systemd/system/dde-filemanager-daemon.service
%{_datadir}/applications/dde-open.desktop
%{_datadir}/applications/%{name}.desktop
%{_datadir}/dbus-1/interfaces/com.deepin.filemanager.filedialog.xml
%{_datadir}/dbus-1/interfaces/com.deepin.filemanager.filedialogmanager.xml
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog.service
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog_wayland.service
%{_datadir}/dbus-1/services/com.deepin.filemanager.filedialog_x11.service
%{_datadir}/dbus-1/services/org.freedesktop.FileManager.service
%{_datadir}/dbus-1/system-services/com.deepin.filemanager.daemon.service
%{_datadir}/polkit-1/actions/com.deepin.filemanager.daemon.policy
%{_datadir}/polkit-1/actions/com.deepin.pkexec.dde-file-manager.policy
%{_datadir}/deepin-manual/manual-assets/application/dde-file-manager
%{_datadir}/applications/context-menus/.readme
%{_libdir}/%{name}/plugins/extensions/.readme
%{_datadir}/%{name}/extensions/appEntry/.readme
%files -n libdde-file-manager
%{_libdir}/dde-file-manager/plugins/previews/libdde-image-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-music-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-pdf-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/previews/libdde-text-preview-plugin.so
%{_libdir}/dde-file-manager/plugins/extensions/libdde-eetrust-emblem-plugin.so
%{_libdir}/libdde-file-manager.so.1.8.2
%{_datadir}/dde-file-manager/mimetypeassociations/mimetypeassociations.json
%{_datadir}/dde-file-manager/mimetypes/archive.mimetype
%{_datadir}/dde-file-manager/mimetypes/audio.mimetype
%{_datadir}/dde-file-manager/mimetypes/backup.mimetype
%{_datadir}/dde-file-manager/mimetypes/executable.mimetype
%{_datadir}/dde-file-manager/mimetypes/image.mimetype
%{_datadir}/dde-file-manager/mimetypes/text.mimetype
%{_datadir}/dde-file-manager/mimetypes/video.mimetype
%{_datadir}/dde-file-manager/templates/newDoc.wps
%{_datadir}/dde-file-manager/templates/newExcel.et
%{_datadir}/dde-file-manager/templates/newPowerPoint.dps
%{_datadir}/dde-file-manager/templates/newDoc.doc
%{_datadir}/dde-file-manager/templates/newExcel.xls
%{_datadir}/dde-file-manager/templates/newPowerPoint.ppt
%{_datadir}/dde-file-manager/templates/newTxt.txt
%{_datadir}/dde-file-manager/translations/
%{_datadir}/deepin/dde-file-manager/oem-menuextensions/.readme
%{_datadir}/glib-2.0/schemas/com.deepin.dde.filemanager.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/dde-file-manager.svg
%{_libdir}/libdde-file-manager.so.1
%{_libdir}/libdde-file-manager.so.1.8
%{_libdir}/libdfm-extension.so.1
%{_libdir}/libdfm-extension.so.1.8
%{_libdir}/libdfm-extension.so.1.8.2
%ifarch x86_64 i686
%{_libdir}/deepin-anything-server-lib/plugins/handlers/libdde-anythingmonitor.so
%endif
%files -n dde-disk-mount-plugin
%{_libdir}/dde-dock/plugins/system-trays/libdde-disk-mount-plugin.so
%{_datadir}/dde-disk-mount-plugin/translations
%{_datadir}/glib-2.0/schemas/com.deepin.dde.dock.module.disk-mount.gschema.xml
%files devel
%{_includedir}/%{name}/
%{_includedir}/dfm-extension/
%{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/pkgconfig/dfm-extension.pc
%{_libdir}/lib%{name}.so
%{_libdir}/libdfm-extension.so
%files -n dde-desktop
%{_bindir}/dde-desktop
%{_datadir}/applications/dde-computer.desktop
%{_datadir}/applications/dde-home.desktop
%{_datadir}/applications/dde-trash.desktop
%dir %{_datadir}/dde-desktop
%{_datadir}/dde-desktop/translations/
%{_datadir}/dbus-1/services/com.deepin.dde.desktop.service
%changelog
* Wed Mar 27 2024 liuzhilin <liuzhilin@uniontech.com> - 5.7.8.1-1.0.5
- del smbd service patch
* Tue Mar 19 2024 weidongkl <weidong@uniontech.com> - 5.7.8.1-1.0.4
- fix obtaining mem
* Fri Mar 15 2024 liuzhilin <liuzhilin@uniontech.com> - 5.7.8.1-1.0.3
- fix smbd service error
* Wed Mar 13 2024 yangxianzhao <yangxianzhao@uniontech.com> - 5.7.8.1-1.0.2
- del background license
* Wed Sep 20 2023 yangxianzhao <yangxianzhao@uniontech.com> - 5.7.8.1-1.0.1
- rebuild for qt5-qtbase-5.15.3
* Mon Apr 17 2023 liweigang <liweigang@uniontech.com> - 5.7.8.1-1
- update: update to 5.7.8.1(support GB18030)
* Mon Mar 13 2023 yuxiaojun <yuxiaojun@uniontech.com> - 5.7.6-4
- feat: show not permitted translate to chinese
* Thu Mar 02 2023 yuxiaojun <yuxiaojun@uniontech.com> - 5.7.6-3
- feat: [mount] show not permitted in some mount cases.
* Thu Mar 02 2023 liweigang <liweigang@uniontech.com> - 5.7.6-2
- feat: fix sort error(bug:188315)
* Wed Mar 1 2023 tianying <tianying@uniontech.com> - 5.7.6-1.03
- update: update version only
* Fri Feb 10 2023 tianying <tianying@uniontech.com> - 5.7.6-1.02
- fix: fallback version
* Thu Feb 9 2023 tianying <tianying@uniontech.com> - 5.7.6-1.01
- fix: fix the spelling problem of the audit interface
* Tue Jan 10 2023 liweigang <liweigang@uniontech.com> - 5.7.6-1
- update: update to 5.7.6
* Fri Jun 10 2022 liweigang <liweigang@uniontech.com> - 5.2.63-8.01
- build: supprt ppc64le and loongarch64
* Fri Jun 10 2022 uoser <uoser@uniontech.com> - 5.2.63-8
- package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-dde/dde-file-manager.git
git@gitee.com:src-anolis-dde/dde-file-manager.git
src-anolis-dde
dde-file-manager
dde-file-manager
a8

搜索帮助

0d507c66 1850385 C8b1a773 1850385