diff options
author | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:37:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-07-21 06:37:26 +0000 |
commit | a91f0d70a7331414c91385137cb414947c12b30f (patch) | |
tree | baa31db853ee02583670224269fce77924a9bf09 | |
parent | 0e7a76802057f2fa9d36537385bee478a7f65f65 (diff) |
automatic import of kde-partitionmanageropeneuler23.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | kde-partitionmanager.spec | 91 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 93 insertions, 0 deletions
@@ -0,0 +1 @@ +/partitionmanager-22.08.0.tar.xz diff --git a/kde-partitionmanager.spec b/kde-partitionmanager.spec new file mode 100644 index 0000000..1285f39 --- /dev/null +++ b/kde-partitionmanager.spec @@ -0,0 +1,91 @@ +%global unstable 0 +%global kf5min 5.90 +%global qtmin 5.15.0 +%global kpmcoremin 22.03 + +Name: kde-partitionmanager +Version: 22.08.0 +Release: 1 +Summary: KDE Partition Manager + +License: GPLv3+ +URL: http://www.kde.org/applications/system/kdepartitionmanager/ +Source0: http://download.kde.org/stable/release-service/%{version}/src/partitionmanager-%{version}.tar.xz + +BuildRequires: cmake >= 3.16 +BuildRequires: desktop-file-utils +BuildRequires: extra-cmake-modules +BuildRequires: gettext +BuildRequires: kf5-kconfig-devel >= %{kf5min} +BuildRequires: kf5-kconfigwidgets-devel >= %{kf5min} +BuildRequires: kf5-kcoreaddons-devel >= %{kf5min} +BuildRequires: kf5-kcrash-devel >= %{kf5min} +BuildRequires: kf5-kdbusaddons-devel >= %{kf5min} +BuildRequires: kf5-kdoctools-devel >= %{kf5min} +BuildRequires: kf5-ki18n-devel >= %{kf5min} +BuildRequires: kf5-kiconthemes-devel >= %{kf5min} +BuildRequires: kf5-kjobwidgets-devel >= %{kf5min} +BuildRequires: kf5-kio-devel >= %{kf5min} +BuildRequires: kf5-rpm-macros >= %{kf5min} +BuildRequires: kf5-kxmlgui-devel >= %{kf5min} +BuildRequires: kf5-kwidgetsaddons-devel >= %{kf5min} +BuildRequires: kpmcore-devel >= %{kpmcoremin} +BuildRequires: qt5-qtbase-devel >= %{qtmin} + +BuildRequires: pkgconfig +BuildRequires: pkgconfig(appstream-glib) +BuildRequires: pkgconfig(polkit-qt5-1) + +Requires: kf5-filesystem + +%description +KDE Partition Manager is a utility program to help you manage the disk devices, +partitions and file systems on your computer. It allows you to easily create, +copy, move, delete, resize without losing data, backup and restore partitions. + +KDE Partition Manager supports a large number of file systems, +including ext2/3/4, reiserfs, NTFS, FAT16/32, jfs, xfs and more. + +Starting from version 1.9.50 KDE Partition Manager has become the GUI part of +KPMcore (KDE PartitionManager core) which contain the libraries used to +manipulate filesystems. + + +%prep +%autosetup -p1 -n partitionmanager-%{version} + +sed -i s/SingleMainWindow=True/SingleMainWindow=true/g ./src/org.kde.partitionmanager.desktop + + +%build +mkdir %{_target_platform} +pushd %{_target_platform} +%{cmake_kf5} .. +popd +%make_build -C %{_target_platform} + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%find_lang partitionmanager --with-kde --with-html + +%check +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/*partitionmanager.desktop +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml + + +%files -f partitionmanager.lang +%license LICENSES/* +%{_kf5_bindir}/partitionmanager +%{_kf5_datadir}/applications/*partitionmanager.desktop +%{_kf5_datadir}/kxmlgui5/partitionmanager/ +%{_kf5_datadir}/solid/actions/open_in_partitionmanager.desktop +%{_kf5_datadir}/config.kcfg/partitionmanager.kcfg +%{_datadir}/icons/hicolor/*/*/* +%{_datadir}/metainfo/*partitionmanager.appdata.xml + + +%changelog +* Tue Dec 20 2022 misaka00251 <liuxin@iscas.ac.cn> - 22.08.0-1 +- Init package @@ -0,0 +1 @@ +ae7a1f7ad1562b7be1a294257dd45fcf partitionmanager-22.08.0.tar.xz |