Notification time stamped 2021-11-29 01:27:57 UTC
From dc3641256ae230f9071c4b37304cc737d4bcdb36 Mon Sep 17 00:00:00 2001
From: Link Dupont <link(a)sub-pop.net>
Date: Nov 15 2021 19:37:05 +0000
Subject: initial package
Relates: RHBZ#2022375
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b01d8a4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/fluent-0.15.0.crate
diff --git a/rust-fluent.spec b/rust-fluent.spec
new file mode 100644
index 0000000..3f1d0e7
--- /dev/null
+++ b/rust-fluent.spec
@@ -0,0 +1,88 @@
+# Generated by rust2rpm 18
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate fluent
+
+Name: rust-%{crate}
+Version: 0.15.0
+Release: 1%{?dist}
+Summary: Localization system designed to unleash the entire expressive power of
natural language translations
+
+# Upstream license specification: Apache-2.0/MIT
+License: ASL 2.0 or MIT
+URL:
https://crates.io/crates/fluent
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Localization system designed to unleash the entire expressive power of natural
+language translations.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files devel
+%license LICENSE-MIT LICENSE-APACHE
+%doc README.md
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%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 "default" feature of "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%package -n %{name}+fluent-pseudo-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+fluent-pseudo-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "fluent-pseudo" feature of "%{crate}" crate.
+
+%files -n %{name}+fluent-pseudo-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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 Oct 04 2021 Link Dupont <linkdupont(a)fedoraproject.org> - 0.15.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a94b32c
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (fluent-0.15.0.crate) =
652236123ded538807448edd56d93bd6f590da4d85569aba7ec5aa513f5ca6176ffd933566604b86f48c48a2a5918257da514c37be44291ad6a339d6ab9ba259
https://src.fedoraproject.org/rpms/rust-fluent/c/dc3641256ae230f9071c4b37...