## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 24 # * missing dev-dependencies: termion ^2.0.1, unic-emoji-char ^0.9 %bcond_with check %global debug_package %{nil} %global crate textwrap Name: rust-textwrap Version: 0.16.0 Release: %autorelease Summary: Library for word wrapping, indenting, and dedenting strings License: MIT URL: https://crates.io/crates/textwrap Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Library for word wrapping, indenting, and dedenting strings. Has optional support for Unicode and emojis as well as machine hyphenation.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smawk-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+smawk-devel %{_description} This package contains library source intended for building other packages which use the "smawk" feature of the "%{crate}" crate. %files -n %{name}+smawk-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+terminal_size-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+terminal_size-devel %{_description} This package contains library source intended for building other packages which use the "terminal_size" feature of the "%{crate}" crate. %files -n %{name}+terminal_size-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-linebreak-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-linebreak-devel %{_description} This package contains library source intended for building other packages which use the "unicode-linebreak" feature of the "%{crate}" crate. %files -n %{name}+unicode-linebreak-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unicode-width-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unicode-width-devel %{_description} This package contains library source intended for building other packages which use the "unicode-width" feature of the "%{crate}" crate. %files -n %{name}+unicode-width-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Mon Jan 15 2024 Arkady L. Shane - 0.16.0-1 - Rebuilt for MSVSphere 9.3 * Mon Apr 17 2023 Fabio Valentini - 0.16.0-1 - Update to version 0.16.0; Fixes RHBZ#2127307 * Sat Mar 18 2023 Fabio Valentini - 0.15.2-1 - Update to version 0.15.2 * Sat Jan 21 2023 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Apr 14 2022 Fabio Valentini - 0.15.0-1 - Update to version 0.15.0; Fixes RHBZ#2059017 * Fri Jan 21 2022 Fedora Release Engineering - 0.14.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.14.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Jul 18 2021 Igor Raits - 0.14.2-2 - Disable tests as deps are missing * Sun Jul 18 2021 Igor Raits - 0.14.2-1 - Update to 0.14.2 * Wed Jan 27 2021 Fedora Release Engineering - 0.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 30 2020 Igor Raits - 0.13.2-1 - Update to 0.13.2 * Mon Dec 28 2020 Igor Raits - 0.13.1-3 - Drop rust2rpm workaround * Sun Dec 27 2020 Igor Raits - 0.13.1-2 - Fixup build * Sun Dec 27 2020 Igor Raits - 0.13.1-1 - Update to 0.13.1 * Sat Nov 28 2020 Fabio Valentini - 0.12.1-3 - remove features with missing dependencies (hyphenation) * Tue Oct 20 2020 Fabio Valentini - 0.12.1-2 - bump to lipsum 0.7 * Sat Aug 29 2020 Igor Raits - 0.12.1-1 - Update to 0.12.1 * Sat Aug 01 2020 Fedora Release Engineering - 0.11.0-8 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.11.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Feb 12 2020 Igor Raits - 0.11.0-6 - Drop tests * Thu Jan 30 2020 Fedora Release Engineering - 0.11.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.11.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 2019 Igor Gnatenko - 0.11.0-3 - Regenerate * Sun Jun 09 2019 Igor Gnatenko - 0.11.0-2 - Regenerate * Fri Apr 05 2019 Igor Gnatenko - 0.11.0-1 - Update to 0.11.0 * Sun Mar 10 2019 Igor Gnatenko - 0.10.0-6 - Do not pull optional dependencies * Sat Feb 02 2019 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Oct 27 2018 Igor Gnatenko - 0.10.0-4 - Adapt to new packaging * Sun Oct 07 2018 Igor Gnatenko - 0.10.0-3 - run tests in infrastructure * Sat Jul 14 2018 Fedora Release Engineering - 0.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed May 02 2018 Igor Gnatenko - 0.10.0-1 - Update to 0.10.0 * Thu Apr 26 2018 Igor Gnatenko - 0.9.0-6 - Bump lipsum to 0.5 * Fri Feb 09 2018 Fedora Release Engineering - 0.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.9.0-4 - Rebuild for rust-packaging v5 * Mon Jan 01 2018 Igor Gnatenko - 0.9.0-3 - Bump rand to 0.4 * Mon Nov 20 2017 Igor Gnatenko - 0.9.0-2 - Bump version-sync to 0.5 * Mon Nov 13 2017 Igor Gnatenko - 0.9.0-1 - initial import