## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by go2rpm 1.17.1 %bcond check 1 # https://github.com/rclone/gphotosdl %global goipath github.com/rclone/gphotosdl Version: 0.0.2 %gometa -L -f Name: gphotosdl Release: %autorelease Summary: This is a original resolution Google Photos downloader for use with rclone # Generated by go-vendor-tools License: MIT URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools %description This is a original resolution Google Photos downloader for use with rclone. %prep %goprep -A %setup -q -T -D -a1 %{forgesetupargs} %autopatch -p1 %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/gphotosdl %{goipath} %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %license vendor/modules.txt %doc README.md RELEASE.md %{_bindir}/gphotosdl %changelog ## START: Generated by rpmautospec * Fri Aug 15 2025 Maxwell G - 0.0.2-3 - Rebuild for golang-1.25.0 * Thu Jul 24 2025 Fedora Release Engineering - 0.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Sun Jul 20 2025 Mikel Olasagasti Uranga - 0.0.2-1 - Initial package - Closes rhbz#2376563 ## END: Generated by rpmautospec