diff --git a/.gitignore b/.gitignore index be86d93..505c1c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ -/xfontsel-*.tar.?z* +/xfontsel-*.tar.bz2 +/xfontsel-1.0.6.tar.bz2.sig +/xfontsel-1.1.0.tar.xz +/xfontsel-1.1.0.tar.xz.sig diff --git a/README.packit b/README.packit deleted file mode 100644 index dd0af79..0000000 --- a/README.packit +++ /dev/null @@ -1,3 +0,0 @@ -This repository is maintained by packit. -https://packit.dev/ -The file was generated using packit 1.16.1. diff --git a/packit.yaml b/packit.yaml deleted file mode 100644 index 716c911..0000000 --- a/packit.yaml +++ /dev/null @@ -1,7 +0,0 @@ -copy_upstream_release_description: false - -jobs: - - job: pull_from_upstream - trigger: release - dist_git_branches: - - fedora-rawhide diff --git a/sources b/sources index ac69885..7bbcf40 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (xfontsel-1.1.2.tar.xz) = 377ef4e95f68411716a9cd202f4b2468ef5638d53ebd058518bdf97319f8008052f2cb76154503a1eae76aae3ce27dfa7334428b66f738a087d0915bef69c603 -SHA512 (xfontsel-1.1.2.tar.xz.sig) = d81601ea70947ef1f92b4c646fa6b1c19ee1138e172ed74edf131e3e35d1bdf0cad16ef3ce8720cfbcc442e48cb69c8211b959f2f5fd213be0e441a344dbcf9b +SHA512 (xfontsel-1.1.0.tar.xz) = be67d223668431c9b5dd2ef74032d2f087be5f8f0ccc427bc7ee43e7ce42214edddb07d8c3d6d6de93ea35314392d384f1ab1ae5c48b2cfbce418610e3945a52 +SHA512 (xfontsel-1.1.0.tar.xz.sig) = bb04c7bd5e8071d41a34d5b23ec5aa72726ba8e964b94f1bbf28f9d71f2ece11675d94a27a7c984502f0f7da6b1052a9b066c5ee0f61c0aec3871ecef0fd00bc diff --git a/xfontsel.gpg b/xfontsel.gpg index fd1c873..d3018ed 100644 Binary files a/xfontsel.gpg and b/xfontsel.gpg differ diff --git a/xfontsel.rpmlintrc b/xfontsel.rpmlintrc deleted file mode 100644 index cdaa52f..0000000 --- a/xfontsel.rpmlintrc +++ /dev/null @@ -1,2 +0,0 @@ -# Intentional, with a justifying spec-file comment -addFilter(r" no-%check-section") diff --git a/xfontsel.spec b/xfontsel.spec index 61eb559..b08a210 100644 --- a/xfontsel.spec +++ b/xfontsel.spec @@ -1,92 +1,46 @@ Name: xfontsel -Version: 1.1.2 +Version: 1.1.0 Release: %autorelease Summary: Tool to list X11 core protocol fonts -# The upstream COPYING file (and meson.build) show that the license is (X11 AND -# SMLNJ AND MIT). The exact breakdown of which licenses apply to which sources -# is only clear for those sources that contain copyright notices: -# -# X11: -# - app-defaults/XFontSel (produces %%{_datadir}/X11/app-defaults/XFontSel) -# - man/xfontsel.man (produces %%{_mandir}/man1/xfontsel.1*) -# X11 AND SMLNJ: -# - ULabel.c, ULabel.h, ULabelP.h -# X11 AND MIT: -# - xfontsel.c -# Additionally, a number of files belong to the build system and therefore do -# not contribute to the license of the binary RPM. These are documented below. -License: X11 AND SMLNJ AND MIT -# FSFAP: -# - INSTALL -# FSFUL AND HPND-sell-variant: -# (HPND-sell-variant is because it is derived from configure.ac) -# - configure -# FSFULLR AND FSFULLRWD AND GPL-2.0-or-later WITH Autoconf-exception-generic -# AND MIT AND GPL-3.0-or-later WITH Autoconf-exception-generic AND X11: -# - aclocal.m4 -# FSFULLRWD AND HPND-sell-variant: -# - Makefile.in -# FSFULLRWD: -# - man/Makefile.in -# GPL-2.0-or-later WITH Autoconf-exception-generic: -# - compile -# - depcomp -# - missing -# GPL-3.0-or-later WITH Autoconf-exception-generic: -# - config.guess -# - config.sub -# HPND-sell-variant: -# - Makefile.am -# - configure.ac -# MIT: -# - meson.build -# X11 AND LicenseRef-LicenseRef-Fedora-Public-Domain: -# - install-sh -SourceLicense: %{shrink: - %{license} AND - FSFAP AND - FSFUL AND - FSFULLR AND - FSFULLRWD AND - GPL-2.0-or-later WITH Autoconf-exception-generic AND - GPL-3.0-or-later WITH Autoconf-exception-generic AND - HPND-sell-variant - } +License: MIT URL: https://www.x.org -Source0: %{url}/pub/individual/app/xfontsel-%{version}.tar.xz -Source1: %{url}/pub/individual/app/xfontsel-%{version}.tar.xz.sig -# Keyring re-created on 2026-07-01 for the 1.1.2 release with: +Source0: %{url}/pub/individual/app/%{name}-%{version}.tar.xz +Source1: %{url}/pub/individual/app/%{name}-%{version}.tar.xz.sig +# Keyring created on 2021-02-23 with: # workdir="$(mktemp --directory)" -# gpg2 --with-fingerprint xfontsel-1.1.2.tar.xz.sig 2>&1 | +# gpg2 --with-fingerprint xfontsel-1.0.6.tar.bz2.sig 2>&1 | # awk '$2 == "using" { print "0x" $NF }' | # xargs gpg2 --homedir="${workdir}" \ -# --keyserver=hkps://keys.openpgp.org --recv-keys +# --keyserver=hkp://pool.sks-keyservers.net --recv-keys # gpg2 --homedir="${workdir}" --export --export-options export-minimal \ # > xfontsel.gpg # rm -rf "${workdir}" # Inspect keys using: -# gpg2 --show-keys xfontsel.gpg -# The old signing keys had expired 2023-04-21 and included at least one weak -# algorithm (dsa1024), so having to recreate the keychain is expected. The new -# key expires 2026-10-24, and upstream releases every few years, so this kind -# of trust-on-first-use verification isn’t very useful. -Source2: xfontsel.gpg +# gpg2 --list-keys --no-default-keyring --keyring ./xfontsel.gpg +# Since the SKS Keyserver Network is no longer online, you can reproduce by +# substituting: +# --keyserver=hkps://keys.openpgp.org +Source2: %{name}.gpg + +BuildRequires: gnupg2 + +BuildRequires: autoconf +BuildRequires: automake -BuildRequires: gpgverify BuildRequires: gcc -BuildRequires: meson +BuildRequires: make -BuildRequires: gettext -# meson.build: dependency(…) BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xaw7) BuildRequires: pkgconfig(xmu) -BuildRequires: pkgconfig(xproto) >= 7.0.17 BuildRequires: pkgconfig(xt) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 + +Obsoletes: xorg-x11-apps < 7.7-31 %description -The xfontsel application provides a simple way to display the X11 core protocol +The %{name} application provides a simple way to display the X11 core protocol fonts known to your X server, examine samples of each, and retrieve the X Logical Font Description (“XLFD”) full name for a font. @@ -96,27 +50,20 @@ Logical Font Description (“XLFD”) full name for a font. %autosetup -%conf -%meson - - %build -%meson_build +autoreconf --force --install --verbose +%configure +%make_build %install -%meson_install - - -# Upstream provides no tests. +%make_install %files %license COPYING - %doc ChangeLog %doc README.md - %{_bindir}/xfontsel %{_mandir}/man1/xfontsel.1* %{_datadir}/X11/app-defaults/XFontSel