2007-01-16 00:24:42 +01:00
|
|
|
#
|
2011-08-04 09:23:17 +02:00
|
|
|
# spec file for package man-pages
|
2007-01-16 00:24:42 +01:00
|
|
|
#
|
2024-01-12 15:40:09 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:24:42 +01:00
|
|
|
#
|
2008-09-08 18:07:20 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-04 14:43:12 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:24:42 +01:00
|
|
|
#
|
|
|
|
|
2012-03-05 08:39:23 +01:00
|
|
|
|
2007-01-16 00:24:42 +01:00
|
|
|
Name: man-pages
|
2024-06-17 12:48:25 +02:00
|
|
|
Version: 6.9
|
2012-01-19 11:00:27 +01:00
|
|
|
Release: 0
|
2024-06-17 12:48:25 +02:00
|
|
|
Summary: Linux Manual Pages
|
2018-05-04 10:22:32 +02:00
|
|
|
License: BSD-3-Clause AND GPL-2.0-or-later AND MIT
|
2012-01-19 11:00:27 +01:00
|
|
|
Group: Documentation/Man
|
2024-03-20 10:13:58 +01:00
|
|
|
URL: https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/
|
2014-01-26 20:44:29 +01:00
|
|
|
#Git-Clone: git://git.kernel.org/pub/scm/docs/man-pages/man-pages
|
|
|
|
#Git-Web: http://git.kernel.org/cgit/docs/man-pages/man-pages.git/
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
Source0: https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
|
|
|
|
Source1: https://mirrors.edge.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.sign
|
|
|
|
# https://lore.kernel.org/all/1257e092-79af-3624-2f6a-fb5fd69e5c18@gmail.com/#t
|
|
|
|
Source2: %{name}.keyring
|
2014-10-13 09:39:01 +02:00
|
|
|
Patch0: %{name}.eal3.diff
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
Patch1: %{name}_gai.conf-reference.patch
|
2019-10-25 09:41:53 +02:00
|
|
|
# [bsc#1154701]
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
Patch2: man-pages-tcp_fack.patch
|
2013-08-07 16:49:37 +02:00
|
|
|
BuildRequires: fdupes
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
Supplements: (man and patterns-base-documentation)
|
2019-12-06 16:09:29 +01:00
|
|
|
BuildArch: noarch
|
2007-01-16 00:24:42 +01:00
|
|
|
|
|
|
|
%description
|
2008-09-08 18:07:20 +02:00
|
|
|
A large collection of man pages (documentation) from the Linux
|
|
|
|
Documentation Project (LDP). The man pages are organized into the
|
|
|
|
following sections: Section 1, user commands (intro only); Section 2,
|
|
|
|
system calls; Section 3, libc calls; Section 4, devices (e.g., hd, sd);
|
2014-03-17 09:05:15 +01:00
|
|
|
Section 5, file formats and protocols (e.g., wtmp, %{_sysconfdir}/passwd, nfs);
|
2008-09-08 18:07:20 +02:00
|
|
|
Section 6, games (intro only); Section 7, conventions, macro packages,
|
|
|
|
etc. (e.g., nroff, ascii); and Section 8, system administration (intro
|
|
|
|
only).
|
|
|
|
|
2007-01-16 00:24:42 +01:00
|
|
|
%prep
|
2024-02-23 12:29:33 +01:00
|
|
|
%autosetup -p1
|
2008-04-10 22:19:12 +02:00
|
|
|
find -name "*.orig" | xargs rm -fv
|
2007-01-16 00:24:42 +01:00
|
|
|
|
|
|
|
%build
|
2014-06-23 14:12:40 +02:00
|
|
|
# glibc
|
2014-06-18 16:15:41 +02:00
|
|
|
rm man3/{getifaddrs.3,freeifaddrs.3,crypt.3,crypt_r.3}
|
2017-05-09 14:15:59 +02:00
|
|
|
# remove .so link to bzero.3, conflicts with libbsd
|
|
|
|
rm man3/explicit_bzero.3
|
2021-08-03 11:34:28 +02:00
|
|
|
# bsc#1188724
|
|
|
|
rm man5/motd.5
|
2024-03-20 10:49:14 +01:00
|
|
|
# conflicts with mandoc; man.7 is not so link on groff_man.7,
|
|
|
|
# which is part of groff-full
|
|
|
|
rm man7/man.7
|
2024-06-17 12:48:25 +02:00
|
|
|
# ioctl_ficlone.2 does not exist
|
|
|
|
rm man2const/FICLONERANGE.2const
|
2007-01-16 00:24:42 +01:00
|
|
|
|
|
|
|
%install
|
2020-01-10 12:07:15 +01:00
|
|
|
for i in man[0-9]*; do
|
2014-03-17 09:05:15 +01:00
|
|
|
mkdir -p "%{buildroot}/%{_mandir}/$i"
|
|
|
|
cp -p "$i"/* "%{buildroot}/%{_mandir}/$i/"
|
2007-01-16 00:24:42 +01:00
|
|
|
done
|
2014-03-17 09:05:15 +01:00
|
|
|
cd "%{buildroot}/%{_mandir}/"
|
2007-01-16 00:24:42 +01:00
|
|
|
RETVAL=0
|
|
|
|
ARE_MISSING=""
|
|
|
|
for i in */* ; do
|
2024-06-17 12:48:25 +02:00
|
|
|
so_ref="$(grep '^.so man' $i | awk '{print $2}')"
|
|
|
|
if [ -n $so_ref ] ; then
|
|
|
|
if [ ! -f $so_ref ]; then
|
|
|
|
ARE_MISSING="$i $ARE_MISSING ($so_ref missing)"
|
2007-01-16 00:24:42 +01:00
|
|
|
RETVAL=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo ""
|
2024-06-17 12:48:25 +02:00
|
|
|
echo "The following manual pages have wrong .so reference:"
|
2014-01-26 20:44:29 +01:00
|
|
|
echo "$ARE_MISSING"
|
2007-01-16 00:24:42 +01:00
|
|
|
echo ""
|
2014-01-26 20:44:29 +01:00
|
|
|
if [ "$RETVAL" -ne 0 ] ; then
|
|
|
|
exit "$RETVAL"
|
2007-01-16 00:24:42 +01:00
|
|
|
fi
|
2019-12-06 16:09:29 +01:00
|
|
|
|
|
|
|
# Remove duplicates
|
2014-03-17 09:05:15 +01:00
|
|
|
%fdupes -s %{buildroot}/%{_prefix}
|
2007-01-16 00:24:42 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
%doc README Changes Changes.old CONTRIBUTING lsm
|
|
|
|
%license LICENSES/*.txt
|
2024-03-20 10:49:14 +01:00
|
|
|
#%dir %{_mandir}/man7mp
|
Accepting request 1045577 from home:susnux:branches:Documentation
- Update to version 6.00
* Updated manual pages and interface documentation
* Move definitions of types to separate pages in man2type/ and
man3type/. Previously, they were spread (and duplicated) in other
pages, or in system_data_types.7 (with links in man3/).
* Add man3head/ for pages that document header files.
* Add man3const/ for pages that document constants.
* Improve consistency of man(7) source
* Manual pages sections:
* Title (.TH):
* Remove 5th argument to TH (middle-header).
* Specify "Linux man-pages" and the version in the 4th argument
(left-footer).
* Add the LIBRARY section. This section standardizes a way to
document the library that provides a given interface.
* Add the CAVEATS section. BUGS and NOTES were serving that purpose
before, but CAVEATS is more appropriate.
* Rename the CONFORMING TO section to STANDARDS for consistency with
other projects, such as the BSDs.
* SYNOPSIS: Add the ISO C2X [[deprecated]] attribute for functions
that have been deprecated or removed.
* EXAMPLES: Improve consistency of C source code. Also, reduce the
number of warnings that several linting tools emit.
* COLOPHON: Remove section (its purpose is now served by the title).
- Update to version 6.01
* Updated interface documentation
* Manual pages' sections:
* Title (.TH):
* Remove the hardcoded date (TH 3rd argument), and replace it by a
placeholder that should be changed when creating the tarball.
This removes the need for a tstamp commit before each release.
- Update to version 6.02
* Updated manual pages and interface documentation, noteable:
* copy_file_range.2: Fix wrong kernel version information
* process_madvise.2: Fix capability and ptrace requirements
* madvise.2: Update Transparent Huge Pages file/shmem documentation
for Linux 5.4+.
* Use correct letter case in manual page titles, instead of uppercase.
* Use \" t comments when appropriate (Lintian needs this).
* SYNOPSIS:
* Add _Nullable for functions that receive NULL as a meaningful
input.
* Use VLA syntax to clarify the meaning of size parameters, rather
than hiding it in possibly-confusing text.
* Use [[noreturn]] instead of noreturn, which will be deprecated
soon.
- Rebased man-pages-tcp_fack.patch
- Added keyring and signed source
OBS-URL: https://build.opensuse.org/request/show/1045577
OBS-URL: https://build.opensuse.org/package/show/Documentation/man-pages?expand=0&rev=226
2023-01-02 12:21:05 +01:00
|
|
|
%dir %{_mandir}/man2type
|
|
|
|
%dir %{_mandir}/man3const
|
|
|
|
%dir %{_mandir}/man3head
|
|
|
|
%dir %{_mandir}/man3type
|
2024-06-17 12:48:25 +02:00
|
|
|
%dir %{_mandir}/man2const
|
2019-12-06 16:09:29 +01:00
|
|
|
%{_mandir}/man*/*.gz
|
2007-11-22 17:53:27 +01:00
|
|
|
|
2007-05-31 21:28:06 +02:00
|
|
|
%changelog
|