summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCoprDistGit <copr-devel@lists.fedorahosted.org>2024-05-08 20:49:19 +0000
committerCoprDistGit <copr-devel@lists.fedorahosted.org>2024-05-08 20:49:19 +0000
commite35e21f2db520fba6efbfc3f72d030f3c073abb5 (patch)
tree93e221d7d58e994706135988016683cdf9bd2aa9
parent9e26e28c1d9f36f86a66f6dc831bd2da27eaed29 (diff)
automatic import of rust-gstreamer-allocatorsHEADmasterf40f39f38
-rw-r--r--.gitignore1
-rw-r--r--rust-gstreamer-allocators.spec131
-rw-r--r--sources1
3 files changed, 133 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ad9a2f2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gstreamer-allocators-0.22.0.crate
diff --git a/rust-gstreamer-allocators.spec b/rust-gstreamer-allocators.spec
new file mode 100644
index 0000000..7fc25d8
--- /dev/null
+++ b/rust-gstreamer-allocators.spec
@@ -0,0 +1,131 @@
+# Generated by rust2rpm 26
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate gstreamer-allocators
+
+Name: rust-gstreamer-allocators
+Version: 0.22.0
+Release: %autorelease
+Summary: Rust bindings for GStreamer Allocators library
+
+License: MIT OR Apache-2.0
+URL: https://crates.io/crates/gstreamer-allocators
+Source: %{crates_source}
+
+BuildRequires: cargo-rpm-macros >= 24
+
+%global _description %{expand:
+Rust bindings for GStreamer Allocators library.}
+
+%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}/COPYRIGHT
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%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}+v1_16-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_16-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_16" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_16-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1_18-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_18-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_18" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_18-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1_20-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_20-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_20" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_20-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1_22-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_22-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_22" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_22-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+v1_24-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+v1_24-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "v1_24" feature of the "%{crate}" crate.
+
+%files -n %{name}+v1_24-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..e5de6db
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+39efe90d9b19b8d366db7b6d44ee3cf5 gstreamer-allocators-0.22.0.crate