public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-sequoia-sop] epel9: initial import (#1948166)
@ 2026-06-15 21:24 Fabio Valentini
0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-06-15 21:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-sequoia-sop
Branch : epel9
Commit : 7835bf43cdcf47746ed14bac1f0ba4f83c05b72f
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2021-04-13T13:50:55+02:00
Stats : +93/-3 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/rust-sequoia-sop/c/7835bf43cdcf47746ed14bac1f0ba4f83c05b72f?branch=epel9
Log:
initial import (#1948166)
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..14b547b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/results_*/
+/*.src.rpm
+
+/sequoia-sop-0.22.2.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index f9166f3..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-sequoia-sop
-
-The rust-sequoia-sop package
diff --git a/rust-sequoia-sop.spec b/rust-sequoia-sop.spec
new file mode 100644
index 0000000..3f09e78
--- /dev/null
+++ b/rust-sequoia-sop.spec
@@ -0,0 +1,78 @@
+# Generated by rust2rpm 16
+%bcond_without check
+%global __cargo_skip_build 0
+
+%global crate sequoia-sop
+
+Name: rust-%{crate}
+Version: 0.22.2
+Release: 1%{?dist}
+Summary: Stateless OpenPGP Command Line Interface using Sequoia
+
+# Upstream license specification: GPL-2.0-or-later
+# FIXME: missing license file
+License: GPLv2+
+URL: https://crates.io/crates/sequoia-sop
+Source: %{crates_source}
+# Initial patched metadata
+# * exclude files that are only useful for upstream development
+# * prevent manpages from getting installed twice
+Patch0: sequoia-sop-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging
+
+%global _description %{expand:
+Implementation of the Stateless OpenPGP Command Line Interface using Sequoia.}
+
+%description %{_description}
+
+%package -n %{crate}
+Summary: %{summary}
+# 0BSD or MIT or ASL 2.0
+# ASL 2.0
+# ASL 2.0 or MIT
+# BSD
+# CC0
+# GPLv2+
+# LGPLv3 or GPLv2 or GPLv3
+# MIT
+# MIT or ASL 2.0
+# MIT or ASL 2.0 or zlib
+# MIT or zlib or ASL 2.0
+# Unlicense or MIT
+# zlib or ASL 2.0 or MIT
+License: GPLv2+ and ASL 2.0 and BSD and CC0 and MIT
+
+%description -n %{crate} %{_description}
+
+%files -n %{crate}
+%doc README.md
+%{_bindir}/sqop
+%{_mandir}/man1/sqop*
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+# install manual pages
+mkdir -p %{buildroot}/%{_mandir}/man1
+cp -pav man-sqop/* %{buildroot}/%{_mandir}/man1/
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+* Thu Apr 08 2021 Fabio Valentini - 0.22.2-1
+- Initial package
diff --git a/sequoia-sop-fix-metadata.diff b/sequoia-sop-fix-metadata.diff
new file mode 100644
index 0000000..65bc73d
--- /dev/null
+++ b/sequoia-sop-fix-metadata.diff
@@ -0,0 +1,10 @@
+--- sequoia-sop-0.22.2/Cargo.toml 2021-03-05T14:58:31+00:00
++++ sequoia-sop-0.22.2/Cargo.toml 2021-04-08T21:25:12.090636+00:00
+@@ -23,6 +23,7 @@
+ categories = ["cryptography", "command-line-utilities"]
+ license = "GPL-2.0-or-later"
+ repository = "https://gitlab.com/sequoia-pgp/sequoia-sop"
++exclude = ["man-sqop", "rust-toolchain"]
+
+ [[bin]]
+ name = "sqop"
diff --git a/sources b/sources
new file mode 100644
index 0000000..764e02f
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (sequoia-sop-0.22.2.crate) = 60ae34b1b46eed6288c3bc703ccfeccd5e1de3eae90b32bcb72b8d87573812d61fbc952f223960077a657767ded0f67a71588ad4b74077a43a0015bd29e1a8c0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-15 21:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 21:24 [rpms/rust-sequoia-sop] epel9: initial import (#1948166) Fabio Valentini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox