public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/zxcvbn-c] epel10.2: Initial release (fedora#2253977)
Date: Mon, 28 Sep 2026 12:34:49 GMT	[thread overview]
Message-ID: <179059888964.1.7195490614695467932.rpms-zxcvbn-c-e4c30b114359@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/zxcvbn-c
Branch : epel10.2
Commit : e4c30b114359f1ab455f59b906bad4121e14534f
Author : Mattia Verga <mattia.verga@proton.me>
Date   : 2023-12-15T09:47:22+01:00
Stats  : +73/-0 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/zxcvbn-c/c/e4c30b114359f1ab455f59b906bad4121e14534f?branch=epel10.2

Log:
Initial release (fedora#2253977)

---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a863f47
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/zxcvbn-c-2.5.tar.gz

diff --git a/sources b/sources
new file mode 100644
index 0000000..d1b6959
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (zxcvbn-c-2.5.tar.gz) = d7199b3cc36cd0e401bd8f857132425908307aefcdb1bb635ee81c34cf71ccbcdf0fe36a336a55da1281692b508881b54773afa41379a448863095f4abd5c0e8

diff --git a/zxcvbn-c.spec b/zxcvbn-c.spec
new file mode 100644
index 0000000..fad93dc
--- /dev/null
+++ b/zxcvbn-c.spec
@@ -0,0 +1,71 @@
+%global forgeurl https://github.com/tsyrogit/zxcvbn-c
+Version:        2.5
+%forgemeta
+
+Name:           zxcvbn-c
+Release:        %autorelease
+Summary:        C/C++ version of the zxcvbn password strength estimator
+License:        MIT
+URL:            %{forgeurl}
+Source0:        %{forgesource}
+
+# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
+ExcludeArch:    %{ix86}
+
+BuildRequires:  gcc-c++
+
+
+%description
+This is a C/C++ implementation of the zxcvbn password strength estimation.
+The code is intended to be included as part of the source of a C/C++ program.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
+
+%description    devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}
+
+
+%prep
+%forgesetup
+
+
+%build
+%make_build
+
+
+%install
+# Make install is currently broken
+#%%make_install
+
+%{__mkdir_p} %{buildroot}%{_libdir}
+%{__mkdir_p} %{buildroot}%{_bindir}
+%{__mkdir_p} %{buildroot}{%{_includedir},%{_datadir}}/zxcvbn
+install -p -m 0644 *.h %{buildroot}%{_includedir}/zxcvbn
+cp -a libzxcvbn.so* %{buildroot}%{_libdir}
+install -p -m 0755 dictgen %{buildroot}%{_bindir}
+install -p -m 0644 zxcvbn.dict %{buildroot}%{_datadir}/zxcvbn
+
+
+%check
+make test
+
+
+%files
+%doc README.md
+%license LICENSE.txt
+%{_bindir}/dictgen
+%{_libdir}/libzxcvbn.so.0*
+%{_datadir}/zxcvbn
+
+
+%files devel
+%{_includedir}/zxcvbn
+%{_libdir}/libzxcvbn.so
+
+
+%changelog
+%autochangelog

                 reply	other threads:[~2026-09-28 12:34 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=179059888964.1.7195490614695467932.rpms-zxcvbn-c-e4c30b114359@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --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