public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-drm-ffi] epel10: Initial import; Fixes: RHBZ#2224815
@ 2026-09-25 10:34 Davide Cavalca
0 siblings, 0 replies; only message in thread
From: Davide Cavalca @ 2026-09-25 10:34 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-drm-ffi
Branch : epel10
Commit : 4628cab083f98c9adffdb0bacb1a427c2a69d463
Author : Davide Cavalca <dcavalca@fedoraproject.org>
Date : 2023-07-23T08:27:54-07:00
Stats : +110/-0 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/rust-drm-ffi/c/4628cab083f98c9adffdb0bacb1a427c2a69d463?branch=epel10
Log:
Initial import; Fixes: RHBZ#2224815
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..dee0ed4
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/drm-ffi-0.5.0.crate
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..31aa793
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,23 @@
+Permission is hereby granted, free of charge, to any
+person obtaining a copy of this software and associated
+documentation files (the "Software"), to deal in the
+Software without restriction, including without
+limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of
+the Software, and to permit persons to whom the Software
+is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice
+shall be included in all copies or substantial portions
+of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
+ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
+TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
+PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
+SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
+IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+DEALINGS IN THE SOFTWARE.
diff --git a/rust-drm-ffi.spec b/rust-drm-ffi.spec
new file mode 100644
index 0000000..4120a72
--- /dev/null
+++ b/rust-drm-ffi.spec
@@ -0,0 +1,85 @@
+# Generated by rust2rpm 24
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate drm-ffi
+
+Name: rust-drm-ffi
+Version: 0.5.0
+Release: %autorelease
+Summary: Safe, low-level bindings to the Direct Rendering Manager API
+
+License: MIT
+URL: https://crates.io/crates/drm-ffi
+Source: %{crates_source}
+# https://github.com/Smithay/drm-rs/pull/152
+Source: https://github.com/Smithay/drm-rs/raw/v0.9.0/LICENSE
+
+BuildRequires: rust-packaging >= 21
+
+# No prebuilt bindings for target architecture
+ExcludeArch: ppc64le s390x
+
+%global _description %{expand:
+Safe, low-level bindings to the Direct Rendering Manager API.}
+
+%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
+%{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}+use_bindgen-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+use_bindgen-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "use_bindgen" feature of the "%{crate}" crate.
+
+%files -n %{name}+use_bindgen-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+cp -p %SOURCE1 .
+%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..8f05e47
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (drm-ffi-0.5.0.crate) = 3200723e0ebdcf86008115dfade86c06438ee27417dab53e9f18bc06047e048650f4ddfb2ab5eea9fbb27739dec2355e3c0e391c6c305f3dce74d221f5558b41
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-25 10:34 [rpms/rust-drm-ffi] epel10: Initial import; Fixes: RHBZ#2224815 Davide Cavalca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox