public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-obj] f44: Initial import
@ 2026-11-07 20:37
0 siblings, 0 replies; only message in thread
From: @ 2026-11-07 20:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-obj
Branch : f44
Commit : 61eb6f4230034710f8fa8ec8baff879559ab0965
Author : Rémi Lauzier <remilauzier@protonmail.com>
Date : 2021-06-18T20:27:47-04:00
Stats : +91/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-obj/c/61eb6f4230034710f8fa8ec8baff879559ab0965?branch=f44
Log:
Initial import
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..15a4d5b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/obj-0.10.2.crate
diff --git a/rust-obj.spec b/rust-obj.spec
new file mode 100644
index 0000000..392b332
--- /dev/null
+++ b/rust-obj.spec
@@ -0,0 +1,89 @@
+# Generated by rust2rpm 17
+# Remove test
+# https://github.com/kvark/obj/issues/30
+%bcond_with check
+%global debug_package %{nil}
+
+%global crate obj
+
+Name: rust-%{crate}
+Version: 0.10.2
+Release: 1%{?dist}
+Summary: Package for loading Wavefront .obj files
+
+# Upstream license specification: Apache-2.0
+License: ASL 2.0
+URL: https://crates.io/crates/obj
+Source: %{crates_source}
+
+ExclusiveArch: %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch: noarch
+%endif
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Package for loading Wavefront .obj files.}
+
+%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
+%doc README.md
+%license LICENSE
+%{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}+genmesh-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+genmesh-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "genmesh" feature of "%{crate}" crate.
+
+%files -n %{name}+genmesh-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
+* Fri Jun 11 20:19:36 EDT 2021 Rémi Lauzier <remilauzier@protonmail.com> - 0.10.2-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..03a36ee
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (obj-0.10.2.crate) = f36fd455096fbaf1ecb50961f639510737c0a81333a3a875e6f3d740325f08621756c723f3083eb40c8d34ec948fb12193a09f93e149c597e9bfd07d8c32ae9b
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-07 20:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-07 20:37 [rpms/rust-obj] f44: Initial import
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox