public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-cairo-sys-rs] epel10: initial import
Date: Fri, 25 Sep 2026 10:32:19 GMT	[thread overview]
Message-ID: <179033233985.1.14472781265384573110.rpms-rust-cairo-sys-rs-e56f0f40be9a@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/rust-cairo-sys-rs
            Branch : epel10
            Commit : e56f0f40be9ab523fee9f707791823b8fd64fdf2
            Author : Igor Gnatenko <ignatenkobrain@fedoraproject.org>
            Date   : 2018-01-06T21:53:45+01:00
            Stats  : +90/-0 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-cairo-sys-rs/c/e56f0f40be9ab523fee9f707791823b8fd64fdf2?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..c28ae46
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/cairo-sys-rs-0.5.0.crate

diff --git a/cairo-sys-rs-0.5.0-fix-metadata.diff b/cairo-sys-rs-0.5.0-fix-metadata.diff
new file mode 100644
index 0000000..a32fda1
--- /dev/null
+++ b/cairo-sys-rs-0.5.0-fix-metadata.diff
@@ -0,0 +1,22 @@
+--- cairo-sys-rs-0.5.0/Cargo.toml	1970-01-01T01:00:00+01:00
++++ cairo-sys-rs-0.5.0/Cargo.toml	2018-01-06T16:25:02.440952+01:00
+@@ -27,19 +27,10 @@
+ [dependencies.libc]
+ version = "0.2"
+ 
+-[dependencies.x11]
+-version = "2.16"
+-features = ["xlib"]
+-optional = true
+ [build-dependencies.pkg-config]
+ version = "0.3.7"
+ 
+ [features]
+-dox = ["x11/dox"]
+ png = []
+ v1_12 = []
+ v1_14 = ["v1_12"]
+-xcb = []
+-xlib = ["x11"]
+-[target."cfg(windows)".dependencies.winapi]
+-version = "0.2.7"

diff --git a/rust-cairo-sys-rs.spec b/rust-cairo-sys-rs.spec
new file mode 100644
index 0000000..f805b0d
--- /dev/null
+++ b/rust-cairo-sys-rs.spec
@@ -0,0 +1,66 @@
+# Generated by rust2rpm
+%bcond_without check
+%global debug_package %{nil}
+
+%global cairo_min 1.10
+
+%global crate cairo-sys-rs
+
+Name:           rust-%{crate}
+Version:        0.5.0
+Release:        1%{?dist}
+Summary:        FFI bindings to libcairo
+
+# https://github.com/gtk-rs/cairo/issues/172
+License:        MIT
+URL:            https://crates.io/crates/cairo-sys-rs
+Source0:        https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
+# Initial patched metadata
+# * No windows
+# * No X11
+Patch0:         cairo-sys-rs-0.5.0-fix-metadata.diff
+
+ExclusiveArch:  %{rust_arches}
+
+BuildRequires:  rust-packaging
+# [dependencies]
+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(cairo) >= %{cairo_min}
+
+%description
+%{summary}.
+
+%package        devel
+Summary:        %{summary}
+Requires:       pkgconfig(cairo) >= %{cairo_min}
+BuildArch:      noarch
+
+%description    devel
+FFI bindings to libcairo.
+
+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..0a0cddd
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (cairo-sys-rs-0.5.0.crate) = 2ed774ae6a84e4cfbfd8ec256e08526a57204258548c4aadf092444a4dfc8509412f2dc7fdade06081b47945ea15e01a5254768bbbef4eb62fa8437fdfd7a78a

                 reply	other threads:[~2026-09-25 10:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179033233985.1.14472781265384573110.rpms-rust-cairo-sys-rs-e56f0f40be9a@fedoraproject.org \
    --to=ignatenkobrain@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox