File rclone.spec of Package Rclone
Name: rclone
Version: 1.0
Release: 1
Summary: Rclone installation script
License: MIT
URL: https://rclone.org/
Source0: rclone.sh
BuildArch: x86_64
Requires: rclone
BuildRequires: zypper
%description
This package provides a script to install Rclone, a command-line program to manage files on cloud storage. It verifies the installation by displaying the Rclone version.
%prep
# No preparation needed
%build
# No build needed
%install
# Create installation directory
install -d %{buildroot}/usr/local/bin
# Install the script to /usr/local/bin
install -m 0755 %{SOURCE0} %{buildroot}/usr/local/bin/rclone.sh
%files
/usr/local/bin/rclone.sh
%post
# Run the installation script
/usr/local/bin/rclone.sh
%changelog
* Mon Nov 1 2024 Micah Winget <wingetmicah38@gmail.com> - 1.0-1
- Initial release of Rclone installation script.