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

A new commit has been pushed.

Repo   : rpms/rust-freetype-sys
Branch : epel10
Commit : d2830d43cc9d8fe548dcdd20636f509f590bd624
Author : returntrip <stefano@figura.im>
Date   : 2020-06-29T22:29:20+02:00
Stats  : +81/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-freetype-sys/c/d2830d43cc9d8fe548dcdd20636f509f590bd624?branch=epel10

Log:
Initial import (#1841940).

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a6ad45f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/freetype-sys-0.13.0.crate

diff --git a/rust-freetype-sys.spec b/rust-freetype-sys.spec
new file mode 100644
index 0000000..79fca87
--- /dev/null
+++ b/rust-freetype-sys.spec
@@ -0,0 +1,79 @@
+# Generated by rust2rpm 13
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate freetype-sys
+
+Name:           rust-%{crate}
+Version:        0.13.0
+Release:        1%{?dist}
+Summary:        Low level binding for FreeType font library
+
+# Upstream license specification: MIT
+License:        MIT
+URL:            https://crates.io/crates/freetype-sys
+Source:         %{crates_source}
+
+ExclusiveArch:  %{rust_arches}
+%if %{__cargo_skip_build}
+BuildArch:      noarch
+%endif
+
+BuildRequires:  rust-packaging
+
+%global _description %{expand:
+Low level binding for FreeType font library.}
+
+%description %{_description}
+
+%package        devel
+Summary:        %{summary}
+BuildArch:      noarch
+Requires:       pkgconfig(freetype2) >= 18.5.12
+
+%description    devel %{_description}
+
+This package contains library source intended for building other packages
+which use "%{crate}" crate.
+
+%files          devel
+%doc README.md
+%license LICENSE
+%{cargo_registry}/%{crate}-%{version_no_tilde}/
+
+%package     -n %{name}+default-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "default" feature of "%{crate}" crate.
+
+%files       -n %{name}+default-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+# remove the bundled copy to make sure we're linking against the system lib
+rm -vr freetype2
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+echo 'pkgconfig(freetype2) >= 18.5.12'
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Sun Jun 21 21:15:09 CEST 2020 returntrip <stefano@figura.im> - 0.13.0-1
+- Initial package

diff --git a/sources b/sources
new file mode 100644
index 0000000..f0f47eb
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (freetype-sys-0.13.0.crate) = 33b7adaad0c7be0acfa0ac90395d183453a88800852350189ab8a84b5f13458ada85753ff3be2a9894dedf1e3f0330aa7ce14e63b76303c7c402bd4cdb4e983e

^ 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-freetype-sys] epel10: Initial import (#1841940) returntrip

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