diff --git a/peony-extensions-3.10.0.tar.gz b/peony-extensions-3.10.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..e12bf59329bd948c1d78d86b4eb1ecd0fd676f2e Binary files /dev/null and b/peony-extensions-3.10.0.tar.gz differ diff --git a/peony-extensions-3.2.4.tar.gz b/peony-extensions-3.2.4.tar.gz deleted file mode 100644 index 5c9e77ee63236e172064a3229312bd402f559517..0000000000000000000000000000000000000000 Binary files a/peony-extensions-3.2.4.tar.gz and /dev/null differ diff --git a/peony-extensions.spec b/peony-extensions.spec index d7e720f9db2ca07236dd0f2e44ec8f540dc9d1e4..a5cc2e0ed1ebc7ef23712e932c0cfc26148779f6 100644 --- a/peony-extensions.spec +++ b/peony-extensions.spec @@ -1,8 +1,7 @@ -%define debug_package %{nil} Name: peony-extensions -Version: 3.2.4 -Release: 2 -Summary: Peony qt extensions (common files) +Version: 3.10.0 +Release: 3 +Summary: adds extended functionality to the Peony file manager. License: GPLv3 and LGPLv3 URL: http://www.ukui.org Source0: %{name}-%{version}.tar.gz @@ -10,34 +9,101 @@ Source0: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: pkgconf BuildRequires: glib2-devel -#BuildRequires: qt5-qmake BuildRequires: qt5-qtbase-devel BuildRequires: qtchooser +BuildRequires: poppler-qt5-devel BuildRequires: libpeony-dev -#BuildRequires: libpeony3 BuildRequires: peony -BuildRequires: poppler-qt5-devel BuildRequires: gsettings-qt-devel BuildRequires: libudisks2-devel BuildRequires: libnotify-devel -BuildRequires: kf5-kwayland kf5-kwayland-devel +BuildRequires: ukui-interface -Requires: samba-common-tools -Requires: samba -Requires: engrampa -Requires: mate-terminal -Requires: libpeony3 -Requires: qt5-qtimageformats -Requires: polkit +Requires: parchives, peony-open-terminal, peony-extension-computer-view, peony-set-wallpaper, peony-send-to-device + +Recommends: peony-share, ukui-bluetooth, peony-device-rename %description - Peony is the official file manager for the UKUI desktop. This - package adds extended functionality to the Peony file manager. +Peony is the official file manager for the UKUI desktop. This +package adds extended functionality to the Peony file manager. + + +%package -n peony-share +Summary: Allows one to quickly share a folder from the Peony file manager +Requires: samba-common-tools samba + +%description -n peony-share +The Peony share extension allows you to quickly share a folder from the +Peony file manager without requiring root access. It uses Samba, so your +folders can be accessed by any operating system. + + +%package -n parchives +Summary: Peony qt plugin for file compress and uncompress +Recommends: engrampa + +%description -n parchives +Parchives is an archive manager for the UKUI environment. You can use +this plugin to compress or uncompress file or folder. +. +This package adds extended functionality to the Peony file manager. + + +%package -n peony-open-terminal +Summary: Peony plugin for opening terminals in arbitrary local paths +Recommends: mate-terminal + +%description -n peony-open-terminal +peony-open-terminal is a proof-of-concept Peony extension +which allows you to open a terminal in arbitrary local folders. + + +%package -n peony-extension-computer-view +Summary: Peony plugin for displaying computer:/// with more information + +%description -n peony-extension-computer-view +peony-extionsion-computer-view is a proof-of-concept Peony extension +which allows user browsering computer:/// with more information, which +not provided in icon view and list view. + + +%package -n peony-set-wallpaper +Summary: Peony plugin for right click a picture to set as wallpaper +Requires: qt5-qtimageformats + +%description -n peony-set-wallpaper +In addition to set wallpaper in ukui-control-center, you can select a +picture and right click to quickly set as wallpaper. + + +%package -n peony-bluetooth +Summary: Peony plugin for right click a file to send to other devices via Bluetooth +Recommends: ukui-bluetooth + +%description -n peony-bluetooth +In addition to sending files in ukui-bluetooth, you can also choose one +File, then right-click to quickly send the file. + + +%package -n peony-send-to-device +Summary: Peony plugin for right click a file to send to mobile devices + +%description -n peony-send-to-device +In addition to copy files to mobile device, you can also choose one +File, then right-click to quickly send the file. + + +%package -n peony-device-rename +Summary: Peony plugin for select a block device and rename it. This package adds extended functionality to the Peony file manager. + +%description -n peony-device-rename +In this way, we can right click the device and quickly rename it, no need +to rename it use other tools like gparted. + %prep %setup -q -#%patch0 -p1 %build export PATH=%{_qt5_bindir}:$PATH @@ -57,16 +123,59 @@ popd rm -rf $RPM_BUILD_ROOT %post +#!/bin/bash +#DEBHELPER# + +if [ ! -d '/var/lib/samba/usershares' ];then + mkdir -p /var/lib/samba/usershare + groupadd sambashare &> /dev/null ||: + chown root:sambashare /var/lib/samba/usershare + chmod 0770 /var/lib/samba/usershare + chmod +t /var/lib/samba/usershare +fi %preun %files -#%doc debian/copyright debian/changelog -%{_libdir}/peony-extensions -%{_prefix}/share/ -#%{_bindir}/peony-share.sh +%doc debian/control debian/copyright +%license COPYING + +%files -n peony-share +%{_libdir}/peony-extensions/libpeony-share.so +%{_prefix}/share/polkit-1/actions +%{_bindir}/peony-share.sh + +%files -n parchives +%{_libdir}/peony-extensions/libpeony-engrampa-menu-plugin.so + +%files -n peony-open-terminal +%{_libdir}/peony-extensions/libpeony-menu-plugin-mate-terminal.so + +%files -n peony-extension-computer-view +%{_libdir}/peony-extensions/libpeony-computer-view-plugin.so + +%files -n peony-set-wallpaper +%{_libdir}/peony-extensions/libpeony-set-wallpaper.so + +%files -n peony-bluetooth +%{_libdir}/peony-extensions/libpeony-bluetooth-plugin.so + +%files -n peony-send-to-device +%{_libdir}/peony-extensions/libpeony-send-to-device.so + +%files -n peony-device-rename +%{_libdir}/peony-extensions/libpeony-drive-rename.so %changelog +* Wed Feb 08 2023 peijiankang - 3.10.0-3 +- sync packaging format + +* Tue Feb 07 2023 tanyulong - 3.10.0-2 +- Enable debuginfo for fix strip + +* Mon Nov 14 2022 tanyulong - 3.10.0-1 +- update to upstream version 3.10.0 + * Wed May 18 2022 tanyulong - 3.2.4-2 - Improve the project according to the requirements of compliance improvement diff --git a/peony-extensions.yaml b/peony-extensions.yaml new file mode 100644 index 0000000000000000000000000000000000000000..b3315d7a108966bac1acc4fc3f963c333aae4185 --- /dev/null +++ b/peony-extensions.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: ukui/peony-extensions +tag_prefix: "^v" +separator: "."