2007-01-16 00:24:42 +01:00
|
|
|
#
|
2007-07-12 04:37:12 +02:00
|
|
|
# spec file for package man-pages (Version 2.61)
|
2007-01-16 00:24:42 +01:00
|
|
|
#
|
2007-05-31 21:28:06 +02:00
|
|
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:24:42 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: man-pages
|
2007-07-12 04:37:12 +02:00
|
|
|
URL: http://www.kernel.org/pub/linux/docs/manpages/
|
2007-07-03 15:24:33 +02:00
|
|
|
License: BSD 3-Clause, GPL v2 or later, All man-pages are freely distributable if nroff source is included.
|
2007-01-16 00:24:42 +01:00
|
|
|
Group: Documentation/Man
|
|
|
|
Autoreqprov: on
|
2007-07-21 04:37:25 +02:00
|
|
|
Version: 2.63
|
2007-07-03 15:24:33 +02:00
|
|
|
Release: 1
|
2007-01-16 00:24:42 +01:00
|
|
|
Summary: Linux and POSIX Manual Pages
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Source: man-pages-%{version}.tar.bz2
|
|
|
|
Source1: shadow.5
|
|
|
|
Patch: man-pages.eal3.diff
|
2007-07-12 04:37:12 +02:00
|
|
|
Patch1: %{name}-2.60_host-conf-mdns.patch
|
2007-01-16 00:24:42 +01:00
|
|
|
BuildArchitectures: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package contains a large collection of Linux and POSIX manual
|
|
|
|
pages (man pages, documentation) from the Linux Documentation Project
|
|
|
|
(LDP).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch -p2
|
|
|
|
%patch1
|
|
|
|
find -name "*.orig" | xargs rm -fv
|
|
|
|
|
|
|
|
%build
|
|
|
|
cp %SOURCE1 man5/
|
|
|
|
# not actual anymore
|
|
|
|
rm -f man2/ioctl_list.2
|
|
|
|
# nfs-utils
|
|
|
|
rm -f man5/exports.5
|
|
|
|
# coreutils, diffutils
|
|
|
|
rm -f man1/vdir.1 man1/touch.1 man1/rmdir.1 man1/rm.1 man1/mv.1 man1/mknod.1 man1/mkfifo.1 man1/mkdir.1 man1/ls.1 man1/ln.1 man1/install.1 man1/du.1 man1/dircolors.1 man1/dir.1 man1/diff.1 man1/df.1 man1/dd.1 man1/cp.1 man1/chown.1 man1/chmod.1 man1/chgrp.1
|
|
|
|
# quota
|
|
|
|
rm -f man2/quotactl.2
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}
|
|
|
|
for i in man? man?p ; do
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/$i
|
|
|
|
cp -p $i/* $RPM_BUILD_ROOT%{_mandir}/$i/
|
|
|
|
done
|
|
|
|
cd $RPM_BUILD_ROOT%{_mandir}
|
|
|
|
RETVAL=0
|
|
|
|
ARE_MISSING=""
|
|
|
|
for i in */* ; do
|
|
|
|
FOUND=0
|
|
|
|
grep "^.so man" $i && FOUND=1
|
|
|
|
if [ $FOUND == 1 ] ; then
|
|
|
|
if [ ! -f `grep "^.so man" $i | awk '{print $2}'` ]; then
|
|
|
|
ARE_MISSING="$i $ARE_MISSING"
|
|
|
|
RETVAL=1
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
echo ""
|
|
|
|
echo "The following manual pages are now missing (for .so reference):"
|
|
|
|
echo $ARE_MISSING
|
|
|
|
echo ""
|
|
|
|
if [ $RETVAL -ne 0 ] ; then
|
|
|
|
exit $RETVAL
|
|
|
|
fi
|
2007-05-31 21:28:06 +02:00
|
|
|
#remove deprecated man page [#247338]; FIXME as soon as upstream remove it
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1p/ipcs.1p
|
2007-01-16 00:24:42 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(644,root,root,755)
|
|
|
|
%dir %{_mandir}/man?p
|
|
|
|
%doc %{_mandir}/man*/*.gz
|
|
|
|
%doc README
|
|
|
|
%doc POSIX-COPYRIGHT
|
|
|
|
%doc man-pages-*.Announce
|
|
|
|
%doc man-pages-*.lsm
|
|
|
|
|
2007-05-31 21:28:06 +02:00
|
|
|
%changelog
|
2007-07-12 04:37:12 +02:00
|
|
|
* Tue Jul 10 2007 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.61
|
2007-07-03 15:24:33 +02:00
|
|
|
* Tue Jul 03 2007 - pgajdos@suse.cz
|
|
|
|
- update to 2.60 [#288732]
|
2007-05-31 21:28:06 +02:00
|
|
|
* Thu May 31 2007 - pgajdos@suse.cz
|
|
|
|
- workaround in spec file: remove deprecated
|
|
|
|
man1p/ipcs.1p [#274338]
|
|
|
|
* Fri Dec 01 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.43
|
|
|
|
* Sat Nov 25 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.42
|
|
|
|
* Sat Oct 14 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.41
|
|
|
|
* Wed Oct 11 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.40
|
|
|
|
* Sun Aug 06 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.39
|
|
|
|
* Fri Aug 04 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.38
|
|
|
|
* Thu Aug 03 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.37
|
2007-01-16 00:24:42 +01:00
|
|
|
* Thu Jul 27 2006 - kukuk@suse.de
|
|
|
|
- Remove nscd.conf(5) patch, is now upstream
|
|
|
|
* Mon Jul 17 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version
|
|
|
|
* Tue Jul 04 2006 - jreuter@suse.de
|
|
|
|
- Adding previously undocumented nscd options to nscd.conf(5)
|
|
|
|
(#173228)
|
|
|
|
* Tue Jun 20 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.34
|
|
|
|
* Tue May 30 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.33
|
|
|
|
* Wed May 17 2006 - kukuk@suse.de
|
|
|
|
- Update to version 2.32
|
2007-05-31 21:28:06 +02:00
|
|
|
- document all *at() functions
|
|
|
|
- lot of small corrections about error handling in various places
|
2007-01-16 00:24:42 +01:00
|
|
|
* Mon Apr 24 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.29
|
|
|
|
* Sat Mar 25 2006 - autobuild@suse.de
|
|
|
|
- Auto-Update to version 2.27
|
|
|
|
* Tue Mar 21 2006 - autobuild@suse.de
|
|
|
|
- Auto-Update to version 2.26
|
|
|
|
* Fri Mar 03 2006 - kukuk@suse.de
|
|
|
|
- Update to version 2.25
|
2007-05-31 21:28:06 +02:00
|
|
|
- New pages describing POSIX message queue API
|
2007-01-16 00:24:42 +01:00
|
|
|
* Tue Feb 14 2006 - kukuk@suse.de
|
|
|
|
- Update to version 2.23
|
|
|
|
* Tue Jan 31 2006 - kukuk@suse.de
|
|
|
|
- Remove quotactl.2 (is part of quota package)
|
|
|
|
- Update to version 2.21
|
|
|
|
* Wed Jan 25 2006 - mls@suse.de
|
|
|
|
- converted neededforbuild to BuildRequires
|
|
|
|
* Tue Jan 17 2006 - kukuk@suse.de
|
|
|
|
- Make it a not nearly-all package (and really noarch)
|
|
|
|
* Tue Jan 17 2006 - kukuk@suse.de
|
|
|
|
- Auto-Update to version 2.20
|
|
|
|
* Tue Mar 29 2005 - kukuk@suse.de
|
|
|
|
- Add shadow.5 manual page
|
|
|
|
* Thu Oct 14 2004 - ro@suse.de
|
|
|
|
- make patches apply again
|
|
|
|
* Fri Sep 24 2004 - kukuk@suse.de
|
|
|
|
- host.conf: document mdns option
|
|
|
|
* Wed May 26 2004 - ro@suse.de
|
|
|
|
- remove .orig files
|
|
|
|
* Tue May 25 2004 - thomas@suse.de
|
|
|
|
- added changes from SLES8 for EAL3+ needed for EAL4+ too
|
|
|
|
* Fri May 21 2004 - kukuk@suse.de
|
|
|
|
- Update to manual page 1.67 (Update POSIX copyright)
|
|
|
|
* Mon Apr 05 2004 - kukuk@suse.de
|
|
|
|
- Remove ioctl_list.2 manual page for kernel 1.3 to not confuse
|
|
|
|
ISVs [Bug #38208]
|
|
|
|
* Mon Feb 23 2004 - kukuk@suse.de
|
|
|
|
- Fix .so reference for strtoull.3p
|
|
|
|
* Thu Jan 29 2004 - kukuk@suse.de
|
|
|
|
- Add man?p directories to filelist
|
|
|
|
* Wed Jan 28 2004 - kukuk@suse.de
|
|
|
|
- Cleanup specfile
|
|
|
|
* Tue Jan 27 2004 - kukuk@suse.de
|
|
|
|
- Install POSIX manual pages, too
|
|
|
|
* Fri Aug 29 2003 - ro@suse.de
|
|
|
|
- updated specfile
|
|
|
|
* Wed Aug 13 2003 - kukuk@suse.de
|
|
|
|
- Revert last change
|
|
|
|
* Tue Aug 05 2003 - ro@suse.de
|
|
|
|
- fix test
|
|
|
|
* Tue Aug 05 2003 - ro@suse.de
|
|
|
|
- don't stop for missing man-pages present in system
|
|
|
|
* Thu Feb 13 2003 - olh@suse.de
|
|
|
|
- correct example in dlopen manpage
|
|
|
|
* Fri Mar 01 2002 - ro@suse.de
|
|
|
|
- no COPYING file in source anymore, adapt specfile
|
|
|
|
* Mon Apr 09 2001 - kukuk@suse.de
|
|
|
|
- Next try.
|
|
|
|
* Sat Apr 07 2001 - kukuk@suse.de
|
|
|
|
- Fix compression of manual pages
|
|
|
|
* Thu Mar 29 2001 - kukuk@suse.de
|
|
|
|
- Make sure we don't have manual pages with a .so refernce to a
|
|
|
|
non-existing manual page [Bug #5061]
|
|
|
|
* Sun Dec 10 2000 - kukuk@suse.de
|
|
|
|
- Fix use of RPM macro
|
|
|
|
* Tue Oct 31 2000 - kukuk@suse.de
|
|
|
|
- Rename ldpman to man-pages
|
|
|
|
- Use bzip2 version
|
|
|
|
* Wed Jan 05 2000 - kukuk@suse.de
|
|
|
|
- Mark COPYING and README.FSF as doc
|
|
|
|
- Move from /usr/man to /usr/share/man
|
|
|
|
* Mon Jun 07 1999 - bs@suse.de
|
|
|
|
- made package "noarch"
|
|
|
|
* Thu Jan 14 1999 - bs@suse.de
|
|
|
|
- don't include those man pages, that are already in the system.
|
|
|
|
* Wed Oct 15 1997 - ro@suse.de
|
|
|
|
- ready for autobuild
|