public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-librsvg-rebind-sys] epel10: Initial import (#2312240)
@ 2026-09-25 10:38 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-09-25 10:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-librsvg-rebind-sys
Branch : epel10
Commit : b0eec7223bbf6a12e998c2e8f5092371e5ce682f
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2024-09-19T22:00:46+02:00
Stats : +79/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-librsvg-rebind-sys/c/b0eec7223bbf6a12e998c2e8f5092371e5ce682f?branch=epel10
Log:
Initial import (#2312240)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..0c24386
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/librsvg-rebind-sys-0.1.0.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index b0a0e2d..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-librsvg-rebind-sys
-
-The rust-librsvg-rebind-sys package
diff --git a/rust-librsvg-rebind-sys.spec b/rust-librsvg-rebind-sys.spec
new file mode 100644
index 0000000..eca201c
--- /dev/null
+++ b/rust-librsvg-rebind-sys.spec
@@ -0,0 +1,69 @@
+# Generated by rust2rpm 26
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate librsvg-rebind-sys
+
+Name: rust-librsvg-rebind-sys
+Version: 0.1.0
+Release: %autorelease
+Summary: FFI bindings for librsvg
+
+License: MIT
+URL: https://crates.io/crates/librsvg-rebind-sys
+Source: %{crates_source}
+
+BuildRequires: cargo-rpm-macros >= 24
+BuildRequires: pkgconfig(librsvg-2.0) >= 2.50
+
+%global _description %{expand:
+FFI bindings for librsvg.}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+Requires: pkgconfig(librsvg-2.0) >= 2.50
+
+%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
+
+%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/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..56ddbc3
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,8 @@
+[requires]
+build = ["pkgconfig(librsvg-2.0) >= 2.50"]
+lib = ["pkgconfig(librsvg-2.0) >= 2.50"]
+features.v2_58 = ["pkgconfig(librsvg-2.0) >= 2.58"]
+
+[features]
+hide = ["v2_58"]
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..5425db2
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (librsvg-rebind-sys-0.1.0.crate) = cdc2a95880d4c711d68fa68e879fbd689de71192ce44078e99508d1abeaeb541e204f52c65036802e7767d3e2a010a0bf041405431ae6953715e51ef2e83db9d
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:38 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:38 [rpms/rust-librsvg-rebind-sys] epel10: Initial import (#2312240) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox