man-pages/man-pages.spec

88 lines
2.3 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:03:22 -04:00
Name: man-pages
2023-01-18 18:36:31 +08:00
Version: 6.02
Release: 1
2019-09-30 11:03:22 -04:00
Summary: Linux kernel and user-space C library interfaces documentation
License: GPL+ and GPLv2+ and BSD and MIT and Copyright only and IEEE
URL: http://www.kernel.org/doc/man-pages/
2023-01-18 18:36:31 +08:00
Source0: https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/snapshot/%{name}-%{version}.tar.gz
2020-02-17 15:17:09 +08:00
BuildRequires: gcc git make
2019-09-30 11:03:22 -04:00
BuildArch: noarch
Conflicts: attr < 2.4.47-11
Conflicts: keyutils-libs < 1.5.10
Autoreq: no
%description
The Linux man-pages project documents the Linux kernel and C library interface that
are employed by user-space programs.With respect to the C library, the primary focus is
the GNU C library (glibc), although, where known, documentation of variations on
other C libraries available for Linux is also included.
2022-03-15 11:24:49 +08:00
%package_help
2019-09-30 11:03:22 -04:00
%prep
2020-01-13 15:15:53 +08:00
%autosetup -p1
2023-01-18 18:36:31 +08:00
sed -i 's/prefix := \/usr\/local/prefix := \/usr/g' ./lib/install.mk
2019-09-30 11:03:22 -04:00
%build
%install
make install DESTDIR=%{buildroot}
%check
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
2023-01-18 18:36:31 +08:00
%doc README Changes
2022-03-15 11:24:49 +08:00
%files help
2022-11-10 10:57:01 +08:00
%{_mandir}/man*/*
%exclude %{_mandir}/man3/crypt_r.3.gz
%exclude %{_mandir}/man3/crypt.3.gz
%exclude %{_mandir}/man7/bpf-helpers.7.gz
%exclude %{_mandir}/man3/MAX.3.gz
%exclude %{_mandir}/man3/MIN.3.gz
2019-09-30 11:03:22 -04:00
%changelog
2023-01-18 18:36:31 +08:00
* Wed Jan 18 2023 renhongxun <renhongxun@h-partners.com> - 6.02-1
- upgrade version to 6.02
2022-11-10 10:57:01 +08:00
* Thu Nov 10 2022 renhongxun <renhongxun@h-partners.com> - 5.13-3
- exclude some redundant pages from help
2022-03-15 11:24:49 +08:00
* Tue Mar 15 2022 renhongxun <renhongxun@h-partners.com> - 5.13-2
- split help pkg from main pkg
2021-11-29 15:10:21 +08:00
* Mon Nov 29 2021 liudabo <liudabo1@huawei.com> - 5.13-1
- upgrade version to 5.13
2021-01-28 16:13:00 +08:00
* Thu Jan 28 2021 liudabo <liudabo1@huawei.com> - 5.10-1
- upgrade version to 5.10
2020-12-10 11:26:01 +08:00
* Thu Dec 10 2020 shixuantong<shixuantong@huawei.com> - 5.02-6
- Modify Source0
2020-04-08 10:21:23 +08:00
* Wed Apr 8 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.02-5
- Merge subpackages into main package
2020-02-17 15:17:09 +08:00
* Mon Feb 17 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.02-4
- Add necessary BuildRequire
2020-01-13 15:15:53 +08:00
* Mon Jan 13 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.02-3
- Delete useless files.
2019-12-31 22:21:38 +08:00
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.02-2
- remove conflictive man files
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - 5.02-1
2019-09-30 11:03:22 -04:00
- Package init