|
|
|
@ -1,37 +1,30 @@
|
|
|
|
|
%global cache /var/cache/man
|
|
|
|
|
%global gnulib_ver 20140202
|
|
|
|
|
|
|
|
|
|
Summary: Tools for searching and reading man pages
|
|
|
|
|
Name: man-db
|
|
|
|
|
Version: 2.9.3
|
|
|
|
|
Version: 2.12.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
# GPLv2+ .. man-db
|
|
|
|
|
# GPLv3+ .. gnulib
|
|
|
|
|
License: GPLv2+ and GPLv3+
|
|
|
|
|
License: GPL-2.0-or-later AND GPL-3.0-or-later
|
|
|
|
|
URL: http://www.nongnu.org/man-db/
|
|
|
|
|
|
|
|
|
|
Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz
|
|
|
|
|
Source1: man-db.crondaily
|
|
|
|
|
Source2: man-db.sysconfig
|
|
|
|
|
Source3: man-db-cache-update.service
|
|
|
|
|
Source4: man-db-restart-cache-update.service
|
|
|
|
|
Patch0: man-db-2.8.3-change-owner-of-man-cache.patch
|
|
|
|
|
Source1: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.xz.asc
|
|
|
|
|
# Man-db GPG key is stored in a different name which makes it hard to fetch
|
|
|
|
|
# It was downloaded here: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xac0a4ff12611b6fccf01c111393587d97d86500b
|
|
|
|
|
Source2: 0xac0a4ff12611b6fccf01c111393587d97d86500b
|
|
|
|
|
|
|
|
|
|
# http://lists.nongnu.org/archive/html/man-db-devel/2017-01/msg00013.html
|
|
|
|
|
Patch1: man-db-2.8.7-fix-override-dir-handling.patch
|
|
|
|
|
|
|
|
|
|
# change snap system directory from /snap to /var/lib/snapd/snap
|
|
|
|
|
# https://lists.gnu.org/archive/html/man-db-devel/2020-02/msg00000.html
|
|
|
|
|
Patch2: man-db-2.9.1-snap.patch
|
|
|
|
|
|
|
|
|
|
# fix important Covscan defects
|
|
|
|
|
Patch3: man-db-2.9.3-coverity.patch
|
|
|
|
|
Source3: man-db.crondaily
|
|
|
|
|
Source4: man-db.sysconfig
|
|
|
|
|
Source5: man-db-cache-update.service
|
|
|
|
|
Source6: man-db-restart-cache-update.service
|
|
|
|
|
|
|
|
|
|
Obsoletes: man < 2.0
|
|
|
|
|
Provides: man = %{version}
|
|
|
|
|
Provides: man-pages-reader = %{version}
|
|
|
|
|
# FPC exception for gnulib - copylib - https://fedorahosted.org/fpc/ticket/174
|
|
|
|
|
Provides: bundled(gnulib) = %{gnulib_ver}
|
|
|
|
|
Provides: bundled(gnulib)
|
|
|
|
|
|
|
|
|
|
Requires: coreutils, grep, groff-base, gzip, less
|
|
|
|
|
BuildRequires: make
|
|
|
|
@ -39,6 +32,8 @@ BuildRequires: gcc
|
|
|
|
|
BuildRequires: systemd
|
|
|
|
|
BuildRequires: gdbm-devel, gettext, groff, less, libpipeline-devel, zlib-devel
|
|
|
|
|
BuildRequires: po4a, perl-interpreter, perl-version
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
Recommends: glibc-gconv-extra
|
|
|
|
|
|
|
|
|
|
Requires(post): %{_sbindir}/update-alternatives
|
|
|
|
|
Requires(postun): %{_sbindir}/update-alternatives
|
|
|
|
@ -64,6 +59,7 @@ BuildArch: noarch
|
|
|
|
|
This package provides periodic update of man-db cache.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -72,6 +68,7 @@ This package provides periodic update of man-db cache.
|
|
|
|
|
--disable-setuid --disable-cache-owner \
|
|
|
|
|
--with-systemdsystemunitdir=no \
|
|
|
|
|
--with-browser=elinks --with-lzip=lzip \
|
|
|
|
|
--with-snapdir=/var/lib/snapd/snap \
|
|
|
|
|
--with-override-dir=overrides
|
|
|
|
|
%make_build CC="%{__cc} %{optflags}"
|
|
|
|
|
|
|
|
|
@ -103,18 +100,18 @@ install -d -m 0755 $RPM_BUILD_ROOT%{cache}
|
|
|
|
|
|
|
|
|
|
# install cron script for man-db creation/update
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
|
|
|
|
|
install -D -p -m 0755 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/man-db.cron
|
|
|
|
|
install -D -p -m 0755 %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/man-db.cron
|
|
|
|
|
|
|
|
|
|
# config for cron script
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig
|
|
|
|
|
install -D -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/man-db
|
|
|
|
|
install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/man-db
|
|
|
|
|
|
|
|
|
|
# config for tmpfiles.d
|
|
|
|
|
install -D -p -m 0644 init/systemd/man-db.conf $RPM_BUILD_ROOT/usr/lib/tmpfiles.d/.
|
|
|
|
|
|
|
|
|
|
# man-db-cache-update.service and man-db-restart-cache-update.service
|
|
|
|
|
install -D -p -m 0644 %{SOURCE3} $RPM_BUILD_ROOT%{_unitdir}/man-db-cache-update.service
|
|
|
|
|
install -D -p -m 0644 %{SOURCE4} $RPM_BUILD_ROOT%{_unitdir}/man-db-restart-cache-update.service
|
|
|
|
|
install -D -p -m 0644 %{SOURCE5} $RPM_BUILD_ROOT%{_unitdir}/man-db-cache-update.service
|
|
|
|
|
install -D -p -m 0644 %{SOURCE6} $RPM_BUILD_ROOT%{_unitdir}/man-db-restart-cache-update.service
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
|
%find_lang %{name}-gnulib
|
|
|
|
@ -173,8 +170,8 @@ fi
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang -f %{name}-gnulib.lang
|
|
|
|
|
%{!?_licensedir:%global license %%doc}
|
|
|
|
|
%license docs/COPYING
|
|
|
|
|
%doc README man-db-manual.txt man-db-manual.ps ChangeLog NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc README.md man-db-manual.txt man-db-manual.ps ChangeLog NEWS.md
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/man_db.conf
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/man-db
|
|
|
|
|
%config(noreplace) %{_tmpfilesdir}/man-db.conf
|
|
|
|
@ -221,10 +218,12 @@ fi
|
|
|
|
|
%lang(id) %{_datadir}/man/id/man*/*
|
|
|
|
|
%lang(it) %{_datadir}/man/it/man*/*
|
|
|
|
|
%lang(ja) %{_datadir}/man/ja/man*/*
|
|
|
|
|
%lang(ko) %{_datadir}/man/ko/man*/*
|
|
|
|
|
%lang(nl) %{_datadir}/man/nl/man*/*
|
|
|
|
|
%lang(pl) %{_datadir}/man/pl/man*/*
|
|
|
|
|
%lang(pt) %{_datadir}/man/pt/man*/*
|
|
|
|
|
%lang(pt_BR) %{_datadir}/man/pt_BR/man*/*
|
|
|
|
|
%lang(ro) %{_datadir}/man/ro/man*/*
|
|
|
|
|
%lang(ru) %{_datadir}/man/ru/man*/*
|
|
|
|
|
%lang(sr) %{_datadir}/man/sr/man*/*
|
|
|
|
|
%lang(sv) %{_datadir}/man/sv/man*/*
|
|
|
|
@ -235,20 +234,83 @@ fi
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/cron.daily/man-db.cron
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Sep 19 2022 Lukas Javorsky <ljavorsk@redhat.com> - 2.9.3-7
|
|
|
|
|
- Rebuild for man-db-cron compose change.
|
|
|
|
|
Changing from buildroot to Appstream compose.
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.12.0-7
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 29 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.12.0-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.12.0-3
|
|
|
|
|
- Fix the Source numbering in installation
|
|
|
|
|
- Resolves: BZ#2242757
|
|
|
|
|
|
|
|
|
|
* Fri Sep 29 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.12.0-2
|
|
|
|
|
- Add GPG verify on the package
|
|
|
|
|
|
|
|
|
|
* Wed Sep 27 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.12.0-1
|
|
|
|
|
- Rebase to version 2.12.0
|
|
|
|
|
- Patch0 was upstreamed
|
|
|
|
|
|
|
|
|
|
* Tue Jul 25 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.11.2-5
|
|
|
|
|
- Release bump after added Patch0 from yselkowitz
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.2-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jul 10 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.11.2-3
|
|
|
|
|
- Add Recommends to package glibc-gconv-extra
|
|
|
|
|
- Justification in BZ#2182414
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.11.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 09 2023 Lukas Javorsky <ljavorsk@redhat.com> - 2.11.2-1
|
|
|
|
|
- Rebase to version 2.11.2
|
|
|
|
|
|
|
|
|
|
* Fri Nov 18 2022 Lukas Javorsky <ljavorsk@redhat.com> - 2.11.1-1
|
|
|
|
|
- Rebase to version 2.11.1
|
|
|
|
|
- Add Korean translations
|
|
|
|
|
- Resolves: #2142761
|
|
|
|
|
|
|
|
|
|
* Fri Oct 14 2022 Lukas Javorsky <ljavorsk@redhat.com> - 2.11.0-1
|
|
|
|
|
- Rebase to version 2.11.0
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.2-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Mar 18 2022 Nikola Forró <nforro@redhat.com> - 2.10.2-1
|
|
|
|
|
- update to 2.10.2
|
|
|
|
|
resolves: #2065447
|
|
|
|
|
|
|
|
|
|
* Fri Feb 11 2022 Nikola Forró <nforro@redhat.com> - 2.10.1-1
|
|
|
|
|
- update to 2.10.1
|
|
|
|
|
resolves #2053020
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Nikola Forró <nforro@redhat.com> - 2.10.0-3
|
|
|
|
|
- backport upstream fixes for the unstable test
|
|
|
|
|
|
|
|
|
|
* Tue Feb 08 2022 Nikola Forró <nforro@redhat.com> - 2.10.0-2
|
|
|
|
|
- skip unstable test
|
|
|
|
|
|
|
|
|
|
* Sun Feb 06 2022 Nikola Forró <nforro@redhat.com> - 2.10.0-1
|
|
|
|
|
- update to 2.10.0
|
|
|
|
|
resolves #2050778
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.3-6
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 30 2021 Nikola Forró <nforro@redhat.com> - 2.9.3-5
|
|
|
|
|
- fix important Covscan defects
|
|
|
|
|
resolves #1938814
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.9.3-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Feb 11 2021 Nikola Forró <nforro@redhat.com> - 2.9.4-1
|
|
|
|
|
- update to 2.9.4
|
|
|
|
|
resolves #1926527
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|