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

            A new commit has been pushed.

            Repo   : rpms/rust-gdk-pixbuf-sys
            Branch : epel10
            Commit : 3f8667126197a3c4286c03b3496412c33b769119
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-06T21:41:34+01:00
            Stats  : +68/-0 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-gdk-pixbuf-sys/c/3f8667126197a3c4286c03b3496412c33b769119?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..83b4cfb
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/gdk-pixbuf-sys-0.5.0.crate

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

diff --git a/sources b/sources
new file mode 100644
index 0000000..9452c3d
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (gdk-pixbuf-sys-0.5.0.crate) = 00d4d9cbec5866e128ce28dd1bca0c463182f97b711159d6591f46cc73d6634ffdcf0035fd214dc9402db87929d754a71adc45254a377c7b46e7cd00caa3eb81

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

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