add: copyparty file server (#5968)

* add: copyparty file server

Signed-off-by: Riley Loo <dev@zackerthescar.com>

* tools/copyparty: Use python macros as suggested, increment version

Signed-off-by: Riley Loo <dev@zackerthescar.com>

* tools/copyparty: Add update.rhai

Signed-off-by: Riley Loo <dev@zackerthescar.com>

* tools/copyparty: extend use of pypi macros

Signed-off-by: Riley Loo <dev@zackerthescar.com>

---------

Signed-off-by: Riley Loo <dev@zackerthescar.com>
This commit is contained in:
r/c/s
2025-07-30 20:16:10 -05:00
committed by GitHub
parent 347d5440ab
commit 8d181a988b
3 changed files with 61 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "copyparty.spec"
}
}
+55
View File
@@ -0,0 +1,55 @@
%global pypi_name copyparty
Name: %{pypi_name}
Version: 1.18.6
Release: 1%?dist
Summary: Portable, featureful, and fast file server
URL: https://github.com/9001/copyparty
Source0: %{pypi_source}
License: MIT
BuildRequires: python3-devel python3-pip pyproject-rpm-macros
BuildRequires: python3dist(wheel) python3dist(build) python3dist(jinja2)
BuildRequires: python3dist(setuptools) python3dist(installer)
Requires: python3
Suggests: ffmpeg python3dist(fuse)
BuildArch: noarch
Packager: Riley Loo <dev@zackerthescar.com>
%description
Portable file server with accelerated resumable uploads, dedup, WebDAV,
FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no
(runtime) deps (other than Python itself)
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Portable file server with accelerated resumable uploads, dedup, WebDAV,
FTP, TFTP, zeroconf, media indexer, thumbnails++ all in one file, no
(runtime) deps (other than Python itself)
%prep
%autosetup -n copyparty-%version
%build
%pyproject_wheel
%install
%pyproject_install
%files
%license LICENSE
%doc README.md
%{_bindir}/copyparty
%{_bindir}/partyfuse
%{_bindir}/u2c
%files -n python3-%{pypi_name}
%{python3_sitelib}/%{pypi_name}*
%changelog
* Mon Jul 28 2025 Riley Loo <dev@zackerthescar.com>
- Initial package
+1
View File
@@ -0,0 +1 @@
rpm.version(pypi("copyparty"));