Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Deepin
deepin-clone
deepin-clone.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File deepin-clone.spec of Package deepin-clone
# # spec file for package deepin-clone # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: deepin-clone Version: 1.1.3 Release: 0 License: GPL-3.0+ Summary: Disk and partition backup/restore tool Url: https://github.com/linuxdeepin/%{name} Group: Hardware/Other Source0: https://github.com/linuxdeepin/%{name}/archive/%{version}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc Patch0: support-power9.patch BuildRequires: fdupes BuildRequires: libqt5-linguist-devel BuildRequires: libqt5-qtbase-devel BuildRequires: libqt5-qtdeclarative-devel BuildRequires: libqt5-qtmultimedia-devel BuildRequires: libqt5-qtsvg-devel BuildRequires: libqt5-qtx11extras-devel BuildRequires: libqt5-qtbase-private-headers-devel BuildRequires: deepin-gettext-tools BuildRequires: update-desktop-files BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig(polkit-agent-1) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5X11Extras) BuildRequires: pkgconfig(dtkcore) BuildRequires: pkgconfig(dtkwidget) Requires: partclone Recommends: %{name}-lang = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A disk and partition backup/restore tool default in Deepin Desktop %lang_package %prep %setup %patch0 -p1 sed -i 's|lrelease|lrelease-qt5|g' app/translate_generation.sh # Fix commands path sed -i 's|/sbin/blkid|/usr/sbin/blkid|g; s|/bin/lsblk|/usr/bin/lsblk|g; s|/sbin/sfdisk|/usr/sbin/sfdisk|g; s|/sbin/partprobe|/usr/sbin/partprobe|g' \ app/src/corelib/{ddevicediskinfo.cpp,helper.cpp} sed -i 's|partx|/usr/sbin/partx|g' app/src/corelib/ddevicepartinfo.cpp %build %qmake5 PREFIX=%{_prefix} make %{?_smp_mflags} %install %qmake5_install %suse_update_desktop_file -r -G "Deepin Clone" %{name} System HardwareSettings %fdupes %{buildroot} %files %defattr(-,root,root,-) %doc README.md %license LICENSE %{_bindir}/%{name}-* %{_sbindir}/%{name} %{_sbindir}/%{name}-ionice %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/deepin-clone.svg %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-deepinclone-dim.svg %{_datadir}/mime/packages/deepin-clone.xml %{_datadir}/polkit-1/actions/com.deepin.pkexec.deepin-clone.policy %files lang %defattr(-,root,root) %{_datadir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor