public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-gio] epel10: initial import
@ 2026-09-25 10:37 Igor Gnatenko
0 siblings, 0 replies; only message in thread
From: Igor Gnatenko @ 2026-09-25 10:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-gio
Branch : epel10
Commit : 7cf069b2f0868e5e70407b056774b80237fb67ba
Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
Date : 2018-01-06T22:10:26+01:00
Stats : +66/-0 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-gio/c/7cf069b2f0868e5e70407b056774b80237fb67ba?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..4a1806f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gio-0.3.0.crate
diff --git a/rust-gio.spec b/rust-gio.spec
new file mode 100644
index 0000000..b8020ac
--- /dev/null
+++ b/rust-gio.spec
@@ -0,0 +1,64 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate gio
+
+Name: rust-%{crate}
+Version: 0.3.0
+Release: 1%{?dist}
+Summary: Rust bindings for the Gio library
+
+License: MIT
+URL: https://crates.io/crates/gio
+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(gio-sys) >= 0.5.0 with crate(gio-sys) < 0.6.0)
+BuildRequires: (crate(glib) >= 0.4.0 with crate(glib) < 0.5.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(gtk-rs-lgpl-docs) >= 0.1.3 with crate(gtk-rs-lgpl-docs) < 0.2.0)
+
+%description
+%{summary}.
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel
+Rust bindings for the Gio library.
+
+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
+%license COPYRIGHT LICENSE
+%{cargo_registry}/%{crate}-%{version}/
+%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,LGPL,Makefile}
+
+%changelog
+* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.0-1
+- Initial package
diff --git a/sources b/sources
new file mode 100644
index 0000000..a8975bf
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gio-0.3.0.crate) = bc380f928145a25882eda71d2a3426a3428661aaac496e725772fb31ed3c834d50a471819eefb9c67596028a473c9c6e79a476eb5f13fddee2e994c9262388b7
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-25 10:37 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:37 [rpms/rust-gio] 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