Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
kernel-docs
kernel-docs.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kernel-docs.spec of Package kernel-docs
# # spec file for package kernel-docs (Version 2.6.3) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: kernel-docs BuildRequires: docbook-toys docbook-utils ghostscript_any kernel-source libjpeg-devel texlive transfig xmlto xorg-x11-devel Url: http://www.kernel.org/ License: GPL v2 or later Group: Documentation/Man AutoReqProv: on Version: 2.6.3 Release: 3 Summary: Kernel Documentation BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description These are the PDF documents and man pages (section 9) built from thecurrent kernel sources. %prep cp -av /etc/texmf/web2c/texmf.cnf . cat << EOF >> texmf.cnf main_memory.pdfjadetex = 2500000 hash_extra.pdfjadetex = 70000 max_strings.pdfjadetex = 120000 save_size.pdfjadetex = 10000 EOF rm -rf linux cp -a /usr/src/linux* . %setup -n linux -T -D %build # use texmf.cnf from local source export TEXMFCNF=$RPM_BUILD_DIR export LANG=en_US make -k -i mandocs make -k -i pdfdocs %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/%{_mandir}/man9 # filter out obscure device drivers - they clutter up the rpm and don't add any real value find Documentation/DocBook/ -name '*.9.gz' | egrep -v '^(sis[69]|rio|RIO|mpc85|set_rx_mode|mdio_(read|write)|mii_ioctl|mca_|z8530|nand|sppp|piix|(read|write)_zs)' | while read i ; do cp $i $RPM_BUILD_ROOT/%{_mandir}/man9 done install -d $RPM_BUILD_ROOT/usr/share/doc/kernel cp -a Documentation/DocBook/*.pdf $RPM_BUILD_ROOT/usr/share/doc/kernel || true if [ -d Documentation/kdb ] ; then for i in Documentation/kdb/*.m* ; do k=`basename $i` k=${k/man/9} k=${k/mm/9} cp $i $RPM_BUILD_ROOT/%{_mandir}/man9/$k done fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING CREDITS MAINTAINERS README REPORTING-BUGS %{_mandir}/man9/* %docdir /usr/share/doc/kernel /usr/share/doc/kernel %changelog * Wed Oct 29 2008 ro@suse.de - also ignore errors during make mandoc * Sat Apr 21 2007 ro@suse.de - switch to using texlive * Fri Jan 26 2007 ro@suse.de - replace ghostscript-mini by ghostscript_any in BuildReq (#119914) * Mon May 08 2006 ro@suse.de - added settings for pdfjadetex to texmf.cnf (#169055) * Thu Apr 13 2006 ro@suse.de - no need for zcat foo > directory * Tue Apr 11 2006 agruen@suse.de - `make mandocs' now generates *.9.gz instead of *.9 (163070). - Don't ignore errors, or we won't notice when something breaks. * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Mon Jan 23 2006 ak@suse.de - include kdb manpages - ignore errors while building the kernel docs - filter out obscure device drivers * Fri Oct 28 2005 ro@suse.de - remove old patches * Tue Jul 26 2005 ro@suse.de - try to get this to build, tex/pdf still fails, ignore for now * Mon Feb 14 2005 ro@suse.de - apply patch so docu can build * Thu Feb 10 2005 ro@suse.de - remove dropped tetex subpackages from nfb * Tue Mar 09 2004 ro@suse.de - make it build * Wed Jan 28 2004 ro@suse.de - extended neededforbuild * Tue Jan 27 2004 ro@suse.de - remove patch hacks * Mon Oct 20 2003 ro@suse.de - use defattr - don't build as root * Thu Sep 18 2003 kukuk@suse.de - Fix version and release number [Bug #31262] * Tue Sep 16 2003 ro@suse.de - fix build with libata * Wed May 21 2003 coolo@suse.de - use %%doc * Fri Nov 29 2002 ro@suse.de - fix build of kernel-api.pdf by using a blown-up texmf.cnf * Fri Nov 29 2002 ro@suse.de - created package (with version 2.4.19)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor