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
|
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
|
jade_dsl and write your own DSSSL scripts (take the docbk30 package as
|
||||||
an example).
|
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 install -m755
|
||||||
%define INSTALL_DIR install -d -m755
|
%define INSTALL_DIR install -d -m755
|
||||||
%define INSTALL_DATA install -m644
|
%define INSTALL_DATA install -m644
|
||||||
@ -119,35 +93,28 @@ Authors:
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||||
./configure --prefix=$RPM_BUILD_ROOT/usr \
|
%configure --prefix="%buildroot/%_prefix" \
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--with-installed-nsgmls
|
--with-installed-nsgmls
|
||||||
make %{?jobs:-j%jobs} "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
make install DESTDIR="%buildroot" prefix="%_prefix"
|
||||||
mandir=%{_mandir}
|
(cd doc; PATH="$PATH:%buildroot/%_bindir" sh Makedoc.sh)
|
||||||
(cd doc; PATH=$PATH:$RPM_BUILD_ROOT/%_bindir sh Makedoc.sh)
|
|
||||||
cp -p doc/README doc/README.doc
|
cp -p doc/README doc/README.doc
|
||||||
# the Makefiles are a bit garstig
|
# the Makefiles are a bit nasty
|
||||||
make clean
|
make clean
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
|
CFLAGS="%optflags -fno-strict-aliasing" \
|
||||||
./configure --prefix=/usr \
|
%configure \
|
||||||
--mandir=%{_mandir} \
|
|
||||||
--with-installed-nsgmls
|
--with-installed-nsgmls
|
||||||
make %{?jobs:-j%jobs} "CFLAGS=$RPM_OPT_FLAGS -fno-strict-aliasing"
|
make %{?_smp_mflags} CFLAGS="%optflags -fno-strict-aliasing"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
: > doc/Makedoc.sh
|
> doc/Makedoc.sh
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT prefix=/usr \
|
make install DESTDIR="%buildroot";
|
||||||
mandir=%{_mandir}
|
|
||||||
rm -fr $RPM_BUILD_ROOT/usr/doc/sgml-tools
|
rm -fr $RPM_BUILD_ROOT/usr/doc/sgml-tools
|
||||||
perlpath=`ls -1d /usr/lib/perl5/5.*/Text`
|
perlpath=`ls -1d /usr/lib/perl5/5.*/Text`
|
||||||
mkdir -p $RPM_BUILD_ROOT$perlpath
|
mkdir -p $RPM_BUILD_ROOT$perlpath
|
||||||
mv $RPM_BUILD_ROOT/usr/lib/perl5/Text/EntityMap.pm $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
|
%if 0%{suse_version} > 1220
|
||||||
%post
|
%post
|
||||||
mkdir -p /var/run/texlive
|
mkdir -p /var/run/texlive
|
||||||
|
Loading…
Reference in New Issue
Block a user