public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-glib-sys] epel10: initial import
@ 2026-09-25 10:33 Igor Gnatenko
  0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-09-25 10:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/rust-glib-sys
            Branch : epel10
            Commit : 4e0e270810c6cc4c999ce691385291caac43f777
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2017-12-04T16:15:52+01:00
            Stats  : +65/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-glib-sys/c/4e0e270810c6cc4c999ce691385291caac43f777?branch=epel10

            Log:
            initial import

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..ea3ef53
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/glib-sys-0.5.0.crate

diff --git a/rust-glib-sys.spec b/rust-glib-sys.spec
new file mode 100644
index 0000000..7bcfe16
--- /dev/null
+++ b/rust-glib-sys.spec
@@ -0,0 +1,63 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global glib_min 2.32
+
+%global crate glib-sys
+
+Name:           rust-%{crate}
+Version:        0.5.0
+Release:        1%{?dist}
+Summary:        FFI bindings to libglib-2.0
+
+# https://github.com/gtk-rs/sys/pull/74
+License:        MIT
+URL:            https://crates.io/crates/glib-sys
+Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging
+# [dependencies]
+BuildRequires:  (crate(bitflags) >= 1.0.0 with crate(bitflags) < 2.0.0)
+BuildRequires:  (crate(libc) >= 0.2.0 with crate(libc) < 0.3.0)
+# [build-dependencies]
+BuildRequires:  (crate(pkg-config) >= 0.3.7 with crate(pkg-config) < 0.4.0)
+BuildRequires:  pkgconfig(glib-2.0) >= %{glib_min}
+
+%description
+%{summary}.
+
+%package        devel
+Summary:        %{summary}
+Requires:       pkgconfig(glib-2.0) >= %{glib_min}
+BuildArch:      noarch
+
+%description    devel
+FFI bindings to libglib-2.0.
+
+This package contains library source intended for building other packages
+which use %{crate} from crates.io.
+
+%prep
+%autosetup -n %{crate}-%{version} -p1
+%cargo_prep
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%files          devel
+%{cargo_registry}/%{crate}-%{version}/
+
+%changelog
+* Sun Dec 03 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..a611885
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (glib-sys-0.5.0.crate) = 85b9d4a94f0a683c127c9abae2dc5bf0e84a26c60d3a0f475347c74398a844ae9202468ffd2f801d4411db1d26c8ef1b40d24e7b7bfab121b673125ffbf62952

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-25 10:33 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:33 [rpms/rust-glib-sys] epel10: initial import Igor Gnatenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox