man-pages/man-pages.spec
2019-09-30 11:03:22 -04:00

63 lines
1.6 KiB
RPMSpec

Name: man-pages
Version: 5.02
Release: 1
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/
Source0: http://www.kernel.org/pub/linux/docs/man-pages/man-pages-%{version}.tar.xz
Source1: man-pages-posix-2013-a.tar.xz
BuildRequires: gcc git
BuildArch: noarch
Conflicts: attr < 2.4.47-11
Conflicts: keyutils-libs < 1.5.10
Autoreq: no
# POSIX man pages
Patch0: man-pages-posix-2013-a-pthread_once.patch
%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.
%package_help
%prep
%autosetup -a 1 -p1
# rename posix README so we don't have conflict
%{__mv} man-pages-posix-2013-a/README man-pages-posix-2013-a/man-pages-posix-2013-a.README
%build
%install
make install DESTDIR=%{buildroot}
pushd man-pages-posix-2013-a
make install DESTDIR=%{buildroot}
popd
%check
%pre
%preun
%post
%postun
%files
%defattr(-,root,root)
%doc README man-pages-%{version}.Announce Changes
%doc man-pages-posix-2013-a/POSIX-COPYRIGHT man-pages-posix-2013-a/man-pages-posix-2013-a.{README,Announce}
%files help
%{_mandir}/man*/*
%changelog
* Tue Sep 03 2019 openEuler Buildteam <buildteam@openeuler.org> - version-release
- Package init