mirror of
https://abf.rosa.ru/djam/virtualbox.git
synced 2025-02-24 01:22:45 +00:00
- add patch to make pdflatex use courier instead of beramono; this way the PDF
can be built with tetex-latex from main (instead of having to move texlive-latex from contrib to main); when/if texlive moves to main we can drop it - improve the build_doc condintional to workaround exclude macro that has been "fixed" to not work as it used to SILENT: svn-revision: 625156
This commit is contained in:
parent
b469d1a00e
commit
082d14b975
1 changed files with 7 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
%define vboxdatadir %{_datadir}/%{name}
|
||||
|
||||
%define build_additions 1
|
||||
%define build_doc 0
|
||||
%define build_doc 1
|
||||
|
||||
%ifarch %{ix86}
|
||||
%define vbox_platform linux.x86
|
||||
|
@ -52,6 +52,8 @@ Patch10: VirtualBox-kernel-headers-2.6.29.patch
|
|||
Patch12: 16-no-update.patch
|
||||
Patch16: virtualbox-default-to-mandriva.patch
|
||||
|
||||
Patch17: virtualbox-4.0.0-user-courier-instead-of-beramono.patch
|
||||
|
||||
License: GPLv2
|
||||
Group: Emulators
|
||||
Url: http://www.virtualbox.org/
|
||||
|
@ -103,7 +105,7 @@ BuildRequires: java-rpmbuild
|
|||
BuildRequires: makeself
|
||||
%if %build_doc
|
||||
# for building the user manual pdf file
|
||||
BuildRequires: texlive-latex
|
||||
BuildRequires: tetex-latex
|
||||
%endif
|
||||
|
||||
%description
|
||||
|
@ -201,6 +203,7 @@ This package contains the user manual PDF file for %{name}.
|
|||
%patch10 -p1 -b .kernel-headers-2.6.29
|
||||
%patch12 -p1 -b .disable-update
|
||||
%patch16 -p1 -b .default-to-mandriva
|
||||
%patch17 -p1 -b .courier
|
||||
|
||||
rm -rf fake-linux/
|
||||
cp -a $(ls -1dtr /usr/src/linux-* | tail -n 1) fake-linux
|
||||
|
@ -507,7 +510,9 @@ set -x
|
|||
%attr(4711,root,root) %{vboxlibdir}/VBoxNetDHCP
|
||||
%attr(644,root,root) %{vboxlibdir}/*.gc
|
||||
%attr(644,root,root) %{vboxlibdir}/*.r0
|
||||
%if %build_doc
|
||||
%exclude %{vboxlibdir}/UserManual.pdf
|
||||
%endif
|
||||
%{vboxdatadir}
|
||||
# initscripts integration
|
||||
%{_initrddir}/%{name}
|
||||
|
|
Loading…
Add table
Reference in a new issue