## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 rust2rpm 27 # -> rust2rpm ethersync -V auto --ignore-missing-license-files %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 %global crate ethersync Name: rust-ethersync Version: 0.7.0 Release: %autorelease Summary: Enables real-time co-editing of local text files License: AGPL-3.0-or-later URL: https://crates.io/crates/ethersync Source0: %{crates_source} Source1: ethersync-0.7.0-vendor.tar.xz Source2: LICENSE.md BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: Enables real-time co-editing of local text files.} %description %{_description} %package -n %{crate} Summary: %{summary} License: (0BSD OR MIT OR Apache-2.0) AND AGPL-3.0-or-later AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND (BSD-3-Clause OR MIT OR Apache-2.0) AND CC0-1.0 AND (CC0-1.0 OR MIT-0 OR Apache-2.0) AND CDLA-Permissive-2.0 AND EUPL-1.2 AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR BSD-1-Clause) AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0 OR Zlib) AND (MIT OR BSD-3-Clause) AND (MIT OR Zlib OR Apache-2.0) AND MPL-2.0 AND MPL-2.0+ AND Unicode-3.0 AND Unlicense AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license %{_defaultlicensedir}/%{crate}/LICENSE.md %license LICENSE.dependencies %license cargo-vendor.txt %doc README.md %{_bindir}/ethersync %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install install -d %{buildroot}/%{_defaultlicensedir}/%{crate}/ install -p %{SOURCE2} %{buildroot}/%{_defaultlicensedir}/%{crate}/ %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Mon Jul 28 2025 Ike - 0.7.0-1 - Update to version 0.7.0 * Sat Jul 26 2025 Ike - 0.6.0-2 - First build * Sat Jul 26 2025 Ike - 0.6.0-1 - rust2rpm skeleton ## END: Generated by rpmautospec