|
|
|
@ -1,16 +1,18 @@
|
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
|
# Generated by rust2rpm 21
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate encoding_rs
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.8.29
|
|
|
|
|
Version: 0.8.31
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Gecko-oriented implementation of the Encoding Standard
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Apache-2.0 OR MIT
|
|
|
|
|
License: ASL 2.0 or MIT
|
|
|
|
|
# Upstream license specification: (Apache-2.0 OR MIT) AND BSD-3-Clause
|
|
|
|
|
# * source code: ASL 2.0 or MIT
|
|
|
|
|
# * source code derived from the WHATWG Encoding Standard: BSD 3-Clause License
|
|
|
|
|
License: (ASL 2.0 or MIT) and BSD
|
|
|
|
|
URL: https://crates.io/crates/encoding_rs
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
@ -19,11 +21,8 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: encoding_rs-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Gecko-oriented implementation of the Encoding Standard.}
|
|
|
|
@ -36,13 +35,18 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license COPYRIGHT LICENSE-MIT LICENSE-APACHE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
%license %{crate_instdir}/COPYRIGHT
|
|
|
|
|
%license %{crate_instdir}/LICENSE-APACHE
|
|
|
|
|
%license %{crate_instdir}/LICENSE-MIT
|
|
|
|
|
%license %{crate_instdir}/LICENSE-WHATWG
|
|
|
|
|
%doc %{crate_instdir}/CONTRIBUTING.md
|
|
|
|
|
%doc %{crate_instdir}/Ideas.md
|
|
|
|
|
%doc %{crate_instdir}/README.md
|
|
|
|
|
%{crate_instdir}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -50,11 +54,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+alloc-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -62,11 +66,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+alloc-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "alloc" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "alloc" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+alloc-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-big5-hanzi-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -74,11 +78,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-big5-hanzi-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-big5-hanzi-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-big5-hanzi-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-big5-hanzi-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-gb-hanzi-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -86,11 +90,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-gb-hanzi-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-gb-hanzi-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-gb-hanzi-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-gb-hanzi-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-hangul-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -98,11 +102,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-hangul-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-hangul-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-hangul-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-hangul-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-hanja-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -110,11 +114,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-hanja-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-hanja-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-hanja-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-hanja-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-kanji-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -122,11 +126,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-kanji-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-kanji-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-kanji-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-kanji-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+fast-legacy-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -134,11 +138,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+fast-legacy-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "fast-legacy-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "fast-legacy-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+fast-legacy-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+less-slow-big5-hanzi-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -146,11 +150,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+less-slow-big5-hanzi-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "less-slow-big5-hanzi-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "less-slow-big5-hanzi-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+less-slow-big5-hanzi-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+less-slow-gb-hanzi-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -158,11 +162,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+less-slow-gb-hanzi-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "less-slow-gb-hanzi-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "less-slow-gb-hanzi-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+less-slow-gb-hanzi-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+less-slow-kanji-encode-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -170,11 +174,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+less-slow-kanji-encode-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "less-slow-kanji-encode" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "less-slow-kanji-encode" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+less-slow-kanji-encode-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+serde-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -182,11 +186,11 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "serde" feature of "%{crate}" crate.
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|