%global _empty_manifest_terminate_build 0
Name: python-WereSync
Version: 1.1.5
Release: 1
Summary: Incrementally clones Linux drives
License: Apache 2.0
URL: https://github.com/DonyorM/weresync
Source0: https://mirrors.aliyun.com/pypi/web/packages/22/2d/09b8ab7ab0ddf1c946812b5b3b7266e3c1adf7e539646f05e48a31bcced4/WereSync-1.1.5.tar.gz
BuildArch: noarch
Requires: python3-parse
Requires: python3-yapsy
Requires: python3-pydbus
%description
Hopefully, you think this project looks amazing and you want to try it right away.
However, you may be skeptical about the usefulness of WereSync. You may be
thinking, I can do this exact same thing using gparted or ddrescue. Hear me out!
There are a few reasons to use WereSync over the other tools.
- **WereSync is accessible to less-technical users.** It comes with a simple
interface and clone a drive with a single command while your computer is
running. No booting to a live disk or pushing through a long initiation
process. Unlike `dd` or CloneZilla, WereSync requires a low level of
technical skill and has an easy learning curve
- WereSync can run while the your main drive is being used, instead of blocking your computer up for hours at a time
- WereSync will incrementally update clones, making subsequent clones much faster.
- WereSync works quickly, a single command copies your entire drive, no booting to live CDs or managing MBRs.
- WereSync can copy to a smaller drive, provided your drive's data will fit.
- WereSync creates new UUIDs for the new partitions, allowing you to use the old and new drives alongside each other.
Full documentation may be found `here `__.
%package -n python3-WereSync
Summary: Incrementally clones Linux drives
Provides: python-WereSync
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
%description -n python3-WereSync
Hopefully, you think this project looks amazing and you want to try it right away.
However, you may be skeptical about the usefulness of WereSync. You may be
thinking, I can do this exact same thing using gparted or ddrescue. Hear me out!
There are a few reasons to use WereSync over the other tools.
- **WereSync is accessible to less-technical users.** It comes with a simple
interface and clone a drive with a single command while your computer is
running. No booting to a live disk or pushing through a long initiation
process. Unlike `dd` or CloneZilla, WereSync requires a low level of
technical skill and has an easy learning curve
- WereSync can run while the your main drive is being used, instead of blocking your computer up for hours at a time
- WereSync will incrementally update clones, making subsequent clones much faster.
- WereSync works quickly, a single command copies your entire drive, no booting to live CDs or managing MBRs.
- WereSync can copy to a smaller drive, provided your drive's data will fit.
- WereSync creates new UUIDs for the new partitions, allowing you to use the old and new drives alongside each other.
Full documentation may be found `here `__.
%package help
Summary: Development documents and examples for WereSync
Provides: python3-WereSync-doc
%description help
Hopefully, you think this project looks amazing and you want to try it right away.
However, you may be skeptical about the usefulness of WereSync. You may be
thinking, I can do this exact same thing using gparted or ddrescue. Hear me out!
There are a few reasons to use WereSync over the other tools.
- **WereSync is accessible to less-technical users.** It comes with a simple
interface and clone a drive with a single command while your computer is
running. No booting to a live disk or pushing through a long initiation
process. Unlike `dd` or CloneZilla, WereSync requires a low level of
technical skill and has an easy learning curve
- WereSync can run while the your main drive is being used, instead of blocking your computer up for hours at a time
- WereSync will incrementally update clones, making subsequent clones much faster.
- WereSync works quickly, a single command copies your entire drive, no booting to live CDs or managing MBRs.
- WereSync can copy to a smaller drive, provided your drive's data will fit.
- WereSync creates new UUIDs for the new partitions, allowing you to use the old and new drives alongside each other.
Full documentation may be found `here `__.
%prep
%autosetup -n WereSync-1.1.5
%build
%py3_build
%install
%py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot}
if [ -d usr/lib ]; then
find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/bin ]; then
find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst
fi
touch doclist.lst
if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst
fi
popd
mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst .
%files -n python3-WereSync -f filelist.lst
%dir %{python3_sitelib}/*
%files help -f doclist.lst
%{_docdir}/*
%changelog
* Thu Jun 08 2023 Python_Bot - 1.1.5-1
- Package Spec generated