forked from pool/sgmltool
Accepting request 138500 from home:jengelh:branches:Publishing
- Parallel build with %_smp_mflags - Remove redundant tags/sections from specfile, use %configure OBS-URL: https://build.opensuse.org/request/show/138500 OBS-URL: https://build.opensuse.org/package/show/Publishing/sgmltool?expand=0&rev=8
This commit is contained in:
parent
170a3c44e3
commit
513dd9bf59
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 2 12:42:50 UTC 2012 - jengelh@inai.de
|
||||
|
||||
- Parallel build with %_smp_mflags
|
||||
- Remove redundant tags/sections from specfile,
|
||||
use %configure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 30 15:06:54 UTC 2012 - werner@suse.de
|
||||
|
||||
|
@ -72,32 +72,6 @@ SGML-Tools cannot process arbitrary SGML documents. In such a case, try
|
||||
jade_dsl and write your own DSSSL scripts (take the docbk30 package as
|
||||
an example).
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Cees A. de Groot <cg@pobox.com>
|
||||
Arun Sharma <asharma@sco.com>
|
||||
Andre Schoorl <aschoorl@engr.UVic.CA>
|
||||
Daniele Giacomini <daniele@tv.shineline.it>
|
||||
Dave Love <d.love@dl.ac.uk>
|
||||
Dave Platt <dplatt@iq.TVSoft.com>
|
||||
Eric S. Raymond <esr@thyrsus.com>
|
||||
Francisco J. Montilla <pacopepe@nova.es>
|
||||
Fabrizio Polacco <fpolacco@megabaud.fi>
|
||||
Frank Pavageau <pavageau@imaginet.fr>
|
||||
Jan Echternach <echter@informatik.uni-rostock.de>
|
||||
Henry S. Thompson <ht@cogsci.ed.ac.uk>
|
||||
Karsten Tinnefeld <tinnefeld@irb.informatik.uni-dortmund.de>
|
||||
Kees de Bruin <kees_de_bruin@tasking.nl>
|
||||
Ken MacLeod <kmacleod@midamerican.com>
|
||||
Lee Marzke <marzke_lee@si.com>
|
||||
Marco Budde <Marco_Budde@hqsys.fido.de>
|
||||
Mitchell Perilstein <mnp@compass-da.com>
|
||||
Sven Rudolph <sr1@os.inf.tu-dresden.de>
|
||||
Tommy Marcus McGuire <mcguire@cs.utexas.edu>
|
||||
Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
|
||||
|
||||
%define INSTALL install -m755
|
||||
%define INSTALL_DIR install -d -m755
|
||||
%define INSTALL_DATA install -m644
|
||||
@ -119,35 +93,28 @@ Authors:
|
||||
%endif
|
||||
|
||||
%build
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
./configure --prefix=$RPM_BUILD_ROOT/usr \
|
||||
--mandir=%{_mandir} \
|
||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||
%configure --prefix="%buildroot/%_prefix" \
|
||||
--with-installed-nsgmls
|
||||
make %{?jobs:-j%jobs} "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
||||
mandir=%{_mandir}
|
||||
(cd doc; PATH=$PATH:$RPM_BUILD_ROOT/%_bindir sh Makedoc.sh)
|
||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||
make install DESTDIR="%buildroot" prefix="%_prefix"
|
||||
(cd doc; PATH="$PATH:%buildroot/%_bindir" sh Makedoc.sh)
|
||||
cp -p doc/README doc/README.doc
|
||||
# the Makefiles are a bit garstig
|
||||
# the Makefiles are a bit nasty
|
||||
make clean
|
||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
||||
./configure --prefix=/usr \
|
||||
--mandir=%{_mandir} \
|
||||
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||
%configure \
|
||||
--with-installed-nsgmls
|
||||
make %{?jobs:-j%jobs} "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
||||
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||
|
||||
%install
|
||||
: > doc/Makedoc.sh
|
||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
||||
mandir=%{_mandir}
|
||||
> doc/Makedoc.sh
|
||||
make install DESTDIR="%buildroot";
|
||||
rm -fr $RPM_BUILD_ROOT/usr/doc/sgml-tools
|
||||
perlpath=`ls -1d /usr/lib/perl5/5.*/Text`
|
||||
mkdir -p $RPM_BUILD_ROOT$perlpath
|
||||
mv $RPM_BUILD_ROOT/usr/lib/perl5/Text/EntityMap.pm $RPM_BUILD_ROOT$perlpath/
|
||||
|
||||
%clean
|
||||
rm -fr $RPM_BUILD_ROOT
|
||||
|
||||
%if 0%{suse_version} > 1220
|
||||
%post
|
||||
mkdir -p /var/run/texlive
|
||||
|
Loading…
Reference in New Issue
Block a user