peony-extensions/peony-extensions.spec

207 lines
6.0 KiB
RPMSpec
Raw Normal View History

2020-07-24 15:07:20 +08:00
Name: peony-extensions
2022-12-08 14:24:51 +08:00
Version: 3.10.0
2023-07-20 15:38:22 +08:00
Release: 5
2023-02-08 14:02:49 +08:00
Summary: adds extended functionality to the Peony file manager.
License: GPLv3 and LGPLv3
2020-07-24 15:07:20 +08:00
URL: http://www.ukui.org
Source0: %{name}-%{version}.tar.gz
2023-06-06 16:49:22 +08:00
Patch01: 0001-move-sambashare-to-usershares.patch
Patch02: 0002-add-share-information-of-peony-share.patch
2020-07-24 15:07:20 +08:00
BuildRequires: cmake
BuildRequires: pkgconf
BuildRequires: glib2-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qtchooser
2023-02-08 14:02:49 +08:00
BuildRequires: poppler-qt5-devel
2020-07-24 15:07:20 +08:00
BuildRequires: libpeony-dev
BuildRequires: peony
BuildRequires: gsettings-qt-devel
2022-04-08 10:01:48 +08:00
BuildRequires: libudisks2-devel
BuildRequires: libnotify-devel
2022-12-08 14:24:51 +08:00
BuildRequires: ukui-interface
2020-07-24 15:07:20 +08:00
2023-02-08 14:02:49 +08:00
Requires: parchives, peony-open-terminal, peony-extension-computer-view, peony-set-wallpaper, peony-send-to-device
2023-06-06 16:49:22 +08:00
Requires: samba-usershares
2023-07-20 15:38:22 +08:00
Recommends: peony-share, peony-device-rename
2020-07-24 15:07:20 +08:00
2020-12-08 11:27:35 +08:00
2020-07-24 15:07:20 +08:00
%description
2023-02-08 14:02:49 +08:00
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.
2020-07-24 15:07:20 +08:00
%prep
%setup -q
2023-06-06 16:49:22 +08:00
%patch01 -p1
%patch02 -p1
2020-07-24 15:07:20 +08:00
%build
2020-11-03 14:05:38 +08:00
export PATH=%{_qt5_bindir}:$PATH
mkdir qmake-build
pushd qmake-build
%{qmake_qt5} ..
%{make_build}
popd
2020-07-24 15:07:20 +08:00
%install
rm -rf $RPM_BUILD_ROOT
2020-11-03 14:05:38 +08:00
pushd qmake-build
%{make_install} INSTALL_ROOT=%{buildroot}
popd
2020-07-24 15:07:20 +08:00
%clean
rm -rf $RPM_BUILD_ROOT
2020-12-14 15:03:23 +08:00
%post
2023-06-06 16:49:22 +08:00
systemctl enable smb &> /dev/null ||:
2020-12-14 15:03:23 +08:00
2020-07-24 15:07:20 +08:00
%files
2023-02-08 14:02:49 +08:00
%doc debian/control debian/copyright
%license COPYING
%files -n peony-share
%{_libdir}/peony-extensions/libpeony-share.so
%{_prefix}/share/polkit-1/actions
2022-12-08 14:24:51 +08:00
%{_bindir}/peony-share.sh
2020-07-24 15:07:20 +08:00
2023-02-08 14:02:49 +08:00
%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
2020-07-24 15:07:20 +08:00
%changelog
2023-07-20 15:38:22 +08:00
* Sat Jun 17 2023 huayadong <huayadong@kylinos.cn> - 3.10.0-5
- remove Recommends: ukui-bluetooth
2023-06-06 16:49:22 +08:00
* Tue Jun 06 2023 peijiankang <peijiankang@kylinos.cn> - 3.10.0-4
- fix share error of peony-extensions
2023-02-08 14:02:49 +08:00
* Wed Feb 08 2023 peijiankang <peijiankang@kylinos.cn> - 3.10.0-3
- sync packaging format
2023-02-07 14:09:57 +08:00
* Tue Feb 07 2023 tanyulong <tanyulong@kylinos.cn> - 3.10.0-2
- Enable debuginfo for fix strip
2022-12-08 14:24:51 +08:00
* Mon Nov 14 2022 tanyulong <tanyulong@kylinos.cn> - 3.10.0-1
- update to upstream version 3.10.0
* Wed May 18 2022 tanyulong<tanyulong@kylinos.cn> - 3.2.4-2
- Improve the project according to the requirements of compliance improvement
2022-04-08 10:01:48 +08:00
* Tue Feb 22 2022 tanyulong <tanyulong@kylinos.cn> - 3.2.4-1
- update to upstream version 3.2.4
* Fri Feb 11 2022 tanyulong <tanyulong@kylinos.cn> - 3.0.1-5
- add QPainterPath header file
2020-12-15 16:14:52 +08:00
* Tue Dec 15 2020 douyan <douyan@kylinos.cn> - 3.0.1-4
- remove post script
2020-12-14 15:03:23 +08:00
* Mon Dec 14 2020 douyan <douyan@kylinos.cn> - 3.0.1-3
- fix samba configure issue
2020-12-08 11:27:35 +08:00
* Tue Dec 8 2020 douyan <douyan@kylinos.cn> - 3.0.1-2
- fix-peony-share-failed-issue
2021-01-28 16:44:14 +08:00
* Wed Nov 11 2020 douyan <douyan@kylinos.cn> - 3.0.1-1
2020-11-11 15:43:09 +08:00
- update to upstream version 3.0.0-1+1031.1
2020-11-03 14:05:38 +08:00
* Mon Oct 26 2020 douyan <douyan@kylinos.cn> - 3.0.0-1
- update to upstream version 3.0.0
2020-09-22 16:58:50 +08:00
* Tue Sep 22 2020 douyan <douyan@kylinos.cn> - 2.1.2-2
- fix peony file share issue
* Thu Jul 09 2020 douyan <douyan@kylinos.cn> - 2.1.2-1
2020-07-24 15:07:20 +08:00
- Init package for openEuler