Compare commits

...
Sign in to create a new pull request.

14 commits

Author SHA1 Message Date
Benjamin A. Beasley
544e856d81 Update to 1.1.2 upstream release
- Resolves: rhbz#2494057
- Update License and SourceLicense fields

Commit co-authored by Packit automation (https://packit.dev/)
2026-07-01 13:42:27 +01:00
Benjamin A. Beasley
bf47b3c909 Configure Packit
[skip changelog]
2026-07-01 13:42:26 +01:00
fa7c81019b simplify .gitignore file
[skip changelog]

Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
2026-07-01 13:42:24 +01:00
Benjamin A. Beasley
fb4adbe101 Improve license analysis; correct SourceLicense field 2026-07-01 13:42:21 +01:00
Benjamin A. Beasley
d97e7bb940 Trivial whitespace adjustment
[skip changelog]
2026-07-01 13:37:48 +01:00
Benjamin A. Beasley
b1ddf07415 Depend on gpgverify rather than gnupg2 for source file verification 2026-07-01 13:37:44 +01:00
Benjamin A. Beasley
098d0139b7 Fix typo in License expression 2026-07-01 13:37:38 +01:00
Benjamin A. Beasley
0e41cd74b5 Update .rpmlintrc file for current rpmlint 2026-07-01 13:37:35 +01:00
Benjamin A. Beasley
340bb76705 Add a SourceLicense field 2024-12-16 18:15:59 -05:00
Benjamin A. Beasley
daab93921f Update to 1.1.1 (close RHBZ#2294797) 2024-07-02 08:55:17 -04:00
Benjamin A. Beasley
a0e1d526bb Reduce macro indirection in the spec file
[skip changelog]
2024-07-02 08:55:04 -04:00
Benjamin A. Beasley
ac3cc6c1cd Trivial comment fix in License breakdown 2024-07-02 08:54:57 -04:00
Benjamin A. Beasley
d6b9c6c0c3 Update License to SPDX 2024-07-02 08:54:53 -04:00
Benjamin A. Beasley
e4abdd9801 Update to 1.1.0 (close RHBZ#2105851) 2022-07-11 12:29:35 -04:00
7 changed files with 90 additions and 21 deletions

3
.gitignore vendored
View file

@ -1,2 +1 @@
/xfontsel-*.tar.bz2
/xfontsel-1.0.6.tar.bz2.sig
/xfontsel-*.tar.?z*

3
README.packit Normal file
View file

@ -0,0 +1,3 @@
This repository is maintained by packit.
https://packit.dev/
The file was generated using packit 1.16.1.

7
packit.yaml Normal file
View file

@ -0,0 +1,7 @@
copy_upstream_release_description: false
jobs:
- job: pull_from_upstream
trigger: release
dist_git_branches:
- fedora-rawhide

View file

@ -1,2 +1,2 @@
SHA512 (xfontsel-1.0.6.tar.bz2) = 2f6bc51549a302404cdaf9a5a825add383953fcbb2a0c7076691cefd4dd7e4a3c772c047be74101c8486f75d03ce0bd3e65ede14e91732cf2a932810441c9099
SHA512 (xfontsel-1.0.6.tar.bz2.sig) = af7a9ea78dab6e9007dd900efab884220e75655e0eae78b9377566db3360691e14b6a435795f2bb7481652336dba2ae26258ccdac0210286d2442e227899e520
SHA512 (xfontsel-1.1.2.tar.xz) = 377ef4e95f68411716a9cd202f4b2468ef5638d53ebd058518bdf97319f8008052f2cb76154503a1eae76aae3ce27dfa7334428b66f738a087d0915bef69c603
SHA512 (xfontsel-1.1.2.tar.xz.sig) = d81601ea70947ef1f92b4c646fa6b1c19ee1138e172ed74edf131e3e35d1bdf0cad16ef3ce8720cfbcc442e48cb69c8211b959f2f5fd213be0e441a344dbcf9b

Binary file not shown.

2
xfontsel.rpmlintrc Normal file
View file

@ -0,0 +1,2 @@
# Intentional, with a justifying spec-file comment
addFilter(r" no-%check-section")

View file

@ -1,29 +1,79 @@
Name: xfontsel
Version: 1.0.6
Version: 1.1.2
Release: %autorelease
Summary: Tool to list X11 core protocol fonts
License: MIT
# 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
}
URL: https://www.x.org
Source0: %{url}/pub/individual/app/%{name}-%{version}.tar.bz2
Source1: %{url}/pub/individual/app/%{name}-%{version}.tar.bz2.sig
# Keyring created on 2021-02-23 with:
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:
# workdir="$(mktemp --directory)"
# gpg2 --with-fingerprint xfontsel-1.0.6.tar.bz2.sig 2>&1 |
# gpg2 --with-fingerprint xfontsel-1.1.2.tar.xz.sig 2>&1 |
# awk '$2 == "using" { print "0x" $NF }' |
# xargs gpg2 --homedir="${workdir}" \
# --keyserver=hkp://pool.sks-keyservers.net --recv-keys
# --keyserver=hkps://keys.openpgp.org --recv-keys
# gpg2 --homedir="${workdir}" --export --export-options export-minimal \
# > xfontsel.gpg
# rm -rf "${workdir}"
# Inspect keys using:
# 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
# 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 isnt very useful.
Source2: xfontsel.gpg
BuildRequires: gnupg2
BuildRequires: gpgverify
BuildRequires: autoconf
BuildRequires: automake
@ -31,16 +81,19 @@ BuildRequires: automake
BuildRequires: gcc
BuildRequires: make
# configure.ac: PKG_CHECK_MODULES/AC_SEARCH_LIBS
BuildRequires: gettext
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xt)
BuildRequires: pkgconfig(xaw7)
BuildRequires: pkgconfig(xmu)
BuildRequires: pkgconfig(xorg-macros) >= 1.8
BuildRequires: pkgconfig(xproto) >= 7.0.17
BuildRequires: pkgconfig(xt)
Obsoletes: xorg-x11-apps < 7.7-31
%description
The %{name} application provides a simple way to display the X11 core protocol
The xfontsel 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.
@ -60,10 +113,15 @@ autoreconf --force --install --verbose
%make_install
# Upstream provides no tests.
%files
%license COPYING
%doc ChangeLog
%doc README
%doc README.md
%{_bindir}/xfontsel
%{_mandir}/man1/xfontsel.1*
%{_datadir}/X11/app-defaults/XFontSel