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

            A new commit has been pushed.

            Repo   : rpms/rust-gio-sys
            Branch : epel10
            Commit : 5517f34d01085923a62d6794a10b85d85c5fc151
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-05T19:17:46+01:00
            Stats  : +67/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-gio-sys/c/5517f34d01085923a62d6794a10b85d85c5fc151?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..7de2375
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gio-sys-0.5.0.crate

diff --git a/rust-gio-sys.spec b/rust-gio-sys.spec
new file mode 100644
index 0000000..cb8ce39
--- /dev/null
+++ b/rust-gio-sys.spec
@@ -0,0 +1,65 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global gio_min 2.32
+
+%global crate gio-sys
+
+Name:           rust-%{crate}
+Version:        0.5.0
+Release:        1%{?dist}
+Summary:        FFI bindings to libgio-2.0
+
+# https://github.com/gtk-rs/sys/pull/74
+License:        MIT
+URL:            https://crates.io/crates/gio-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(glib-sys) >= 0.5.0 with crate(glib-sys) < 0.6.0)
+BuildRequires:  (crate(gobject-sys) >= 0.5.0 with crate(gobject-sys) < 0.6.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(gio-2.0) >= %{gio_min}
+
+%description
+%{summary}.
+
+%package        devel
+Summary:        %{summary}
+Requires:       pkgconfig(gio-2.0) >= %{gio_min}
+BuildArch:      noarch
+
+%description    devel
+FFI bindings to libgio-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
+* Thu Jan 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.5.0-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..c60f1fd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gio-sys-0.5.0.crate) = 108a9957f4c2dd5fc0f02f6f037c50e8159f0b0859a4da7a86a50ab8c3f4431564fe72bbcb5a1a1875324ff5e865f8e1d611d9f53eac0f6e08e101963c22cc9c

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

only message in thread, other threads:[~2026-09-25 10:35 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:35 [rpms/rust-gio-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