Group :: Documentation
RPM: man-pages-posix
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: man-pages-posix
Version: 2017a
Release: alt1
Summary: Manual pages about using POSIX system
License: Distributable
Group: Documentation
Url: https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/
BuildArch: noarch
# https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz
Source: %name-%version.tar
Provides: man-pages-POSIX = %version
Obsoletes: man-pages-POSIX < %version
Requires: man >= 1.5i2-alt4
%package devel
Summary: Manual pages about using a POSIX system for development
Group: Development/Documentation
Requires: %name = %version-%release
%description
This package contains manual pages for POSIX utilities (1p section).
%description devel
T his package contains manual pages describing the POSIX programming
interface, including these two sections:
3p = POSIX library calls;
7p = POSIX header files.
%prep
%setup
mv man0p man7p
rename .0p .7p man7p/*.0p
find -type f -print0 |
xargs -r0 grep -EZl '\<(man0p|0p)\>' -- |
xargs -r0 sed -i 's/\<man0p\>/man7p/g; s/\<0p\>/7p/g' --
%install
%makeinstall_std
%files
%_mandir/man1p/
%doc POSIX-COPYRIGHT *.Announce
%files devel
%_mandir/man[37]p/
%changelog
…
Full changelog you can see here
Version: 2017a
Release: alt1
Summary: Manual pages about using POSIX system
License: Distributable
Group: Documentation
Url: https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/
BuildArch: noarch
# https://www.kernel.org/pub/linux/docs/man-pages/man-pages-posix/man-pages-posix-2013-a.tar.xz
Source: %name-%version.tar
Provides: man-pages-POSIX = %version
Obsoletes: man-pages-POSIX < %version
Requires: man >= 1.5i2-alt4
%package devel
Summary: Manual pages about using a POSIX system for development
Group: Development/Documentation
Requires: %name = %version-%release
%description
This package contains manual pages for POSIX utilities (1p section).
%description devel
T his package contains manual pages describing the POSIX programming
interface, including these two sections:
3p = POSIX library calls;
7p = POSIX header files.
%prep
%setup
mv man0p man7p
rename .0p .7p man7p/*.0p
find -type f -print0 |
xargs -r0 grep -EZl '\<(man0p|0p)\>' -- |
xargs -r0 sed -i 's/\<man0p\>/man7p/g; s/\<0p\>/7p/g' --
%install
%makeinstall_std
%files
%_mandir/man1p/
%doc POSIX-COPYRIGHT *.Announce
%files devel
%_mandir/man[37]p/
%changelog
…
Full changelog you can see here