Hello community, here is the log from the commit of package openjade for openSUSE:Factory checked in at 2017-11-16 13:57:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openjade (Old) and /work/SRC/openSUSE:Factory/.openjade.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openjade" Thu Nov 16 13:57:28 2017 rev:22 rq:541551 version:1.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/openjade/openjade.changes 2016-02-25 22:35:28.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.openjade.new/openjade.changes 2017-11-16 13:57:31.153224166 +0100 @@ -1,0 +2,13 @@ +Mon Nov 13 17:13:49 UTC 2017 - [email protected] + +- Run spec-cleaner + +------------------------------------------------------------------- +Mon Nov 13 15:12:52 UTC 2017 - [email protected] + +- Rename README.SuSE to README.SUSE, adhering to the correct + spelling. +- Set RPM group for -devel package to "Development/Languages/C and + C++" (fix rpmlint warning). + +------------------------------------------------------------------- Old: ---- openjade-README.SuSE New: ---- openjade-README.SUSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openjade.spec ++++++ --- /var/tmp/diff_new_pack.0gPk1F/_old 2017-11-16 13:57:31.937195762 +0100 +++ /var/tmp/diff_new_pack.0gPk1F/_new 2017-11-16 13:57:31.941195617 +0100 @@ -1,7 +1,7 @@ # # spec file for package openjade # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,32 +16,31 @@ # +%define regcat %{_bindir}/sgml-register-catalog Name: openjade -BuildRequires: gcc-c++ -BuildRequires: libtool -BuildRequires: opensp-devel Version: 1.3.2 Release: 0 Summary: DSSSL Engine for SGML Documents License: MIT Group: Productivity/Publishing/SGML +Url: http://openjade.sourceforge.net/ Source: http://switch.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.bz2 Source1: jade_style-sheet.dtd -Source2: %{name}-README.SuSE +Source2: %{name}-README.SUSE Patch1: openjade-1.3.1-autoconf.dif Patch2: openjade-1.3.2-makefile.patch Patch3: openjade-1.3.2-shared.patch Patch4: gcc46_default_ctors.patch Patch5: openjade-1.3.2-getopts.patch +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: opensp-devel +Requires: opensp +Requires(pre): %{regcat} # Conflicts: jade_dsl Obsoletes: jade_dsl Provides: jade Provides: jade_dsl -Requires: opensp -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Url: http://openjade.sourceforge.net/ -%define regcat /usr/bin/sgml-register-catalog -PreReq: %{regcat} %description OpenJade, the follow-up to Jade by James Clark, is an implementation of @@ -53,59 +52,27 @@ The parser, "nsgmls," and helper tools like "sgmlnorm," "spam," "spent," and "sx" are now included in the separate "opensp" package. - - -Authors: --------- - Avi Kivity - Cees de Groot <[email protected]> - David Megginson <[email protected]> - Didier PH Martin - Ian Castle <[email protected]> - James Clark <[email protected]> - Kathleen Marszalek - Matthias Clasen <[email protected]> - Paul Prescod <[email protected]> - Peter Nilsson - Sebastian Rahtz <[email protected]> - %package devel Summary: DSSSL Engine (development package) -Group: Productivity/Publishing/SGML +Group: Development/Languages/C and C++ Requires: %{name} = %{version} %description devel Libraries and includes to compile applications that use the OpenJade framework (package 'openjade'). - - -Authors: --------- - Avi Kivity - Cees de Groot <[email protected]> - David Megginson <[email protected]> - Didier PH Martin - Ian Castle <[email protected]> - James Clark <[email protected]> - Kathleen Marszalek - Matthias Clasen <[email protected]> - Paul Prescod <[email protected]> - Peter Nilsson - Sebastian Rahtz <[email protected]> - %define INSTALL install -m755 -s %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 %define sgml_dir %{_datadir}/sgml %define sgml_dir_pkg %{sgml_dir}/%{name} -%define sgml_var_dir /var/lib/sgml +%define sgml_var_dir %{_localstatedir}/lib/sgml %prep %setup -q -# -n %{name}-1.3.2-rc2 -cp %{S:1} dsssl -cp %{S:2} README.SuSE +# -n %%{name}-1.3.2-rc2 +cp %{SOURCE1} dsssl +cp %{SOURCE2} README.SUSE %patch1 %patch2 -p1 %patch3 @@ -114,10 +81,10 @@ %build # export CXXFLAGS='-O' -%if %{suse_version} > 1320 -export CXXFLAGS="$RPM_OPT_FLAGS -fno-lifetime-dse" +%if 0%{?suse_version} > 1320 +export CXXFLAGS="%{optflags} -fno-lifetime-dse" %else -export CXXFLAGS="$RPM_OPT_FLAGS" +export CXXFLAGS="%{optflags}" %endif # export CXXFLAGS="-g -march=i486 -mcpu=i686" # export DEFAULT_SCHEME_BUILTINS=/usr/share/sgml/openjade/builtins.dsl @@ -134,74 +101,74 @@ # autoreconf --force --install -I config %configure --disable-static --with-gnu-ld --with-pic \ --datadir=%{sgml_dir}/openjade \ - --enable-splibdir=%_libdir \ + --enable-splibdir=%{_libdir} \ --enable-http \ --enable-mif \ - --enable-default-catalog="CATALOG:/etc/sgml/catalog:%{sgml_dir}/CATALOG" + --enable-default-catalog="CATALOG:%{_sysconfdir}/sgml/catalog:%{sgml_dir}/CATALOG" # [ -r jade/openjade.orig ] && mv jade/openjade.orig jade/openjade -%{__make} %{?jobs:-j%jobs} +make %{?_smp_mflags} # # now start building the debug version # mv jade/openjade jade/openjade.orig -# zcat %{P:5} | patch -s -p 1 +# zcat %%{P:5} | patch -s -p 1 # make # mv jade/openjade jade/openjade-valid-fo # mv jade/openjade.orig jade/openjade %install -%{INSTALL_DIR} $RPM_BUILD_ROOT%{_libdir} \ - $RPM_BUILD_ROOT%{sgml_dir}/%{name} \ - $RPM_BUILD_ROOT%{_includedir}/%{name} -make install DESTDIR=$RPM_BUILD_ROOT -ln -sf openjade $RPM_BUILD_ROOT/usr/bin/jade -[ -r jade/openjade-valid-fo ] && install -s jade/openjade-valid-fo $RPM_BUILD_ROOT%{_bindir} -make install-man DESTDIR=$RPM_BUILD_ROOT -pushd $RPM_BUILD_ROOT%{_mandir} +%{INSTALL_DIR} %{buildroot}%{_libdir} \ + %{buildroot}%{sgml_dir}/%{name} \ + %{buildroot}%{_includedir}/%{name} +%make_install +ln -sf openjade %{buildroot}%{_bindir}/jade +[ -r jade/openjade-valid-fo ] && install -s jade/openjade-valid-fo %{buildroot}%{_bindir} +make install-man DESTDIR=%{buildroot} +pushd %{buildroot}%{_mandir} # find . ! -name 'jade*' -exec rm -f {} \; pushd man1 && ln -sf openjade.1 jade.1 && popd popd -/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir} -# %{INSTALL_DATA} include/*.* $RPM_BUILD_ROOT%{_includedir}/%{name} -%{INSTALL_DATA} generic/*.h $RPM_BUILD_ROOT%{_includedir}/%{name} -%{INSTALL_DATA} grove/Node.h $RPM_BUILD_ROOT%{_includedir}/%{name} +/sbin/ldconfig -n %{buildroot}%{_libdir} +# %%{INSTALL_DATA} include/*.* $RPM_BUILD_ROOT%%{_includedir}/%%{name} +%{INSTALL_DATA} generic/*.h %{buildroot}%{_includedir}/%{name} +%{INSTALL_DATA} grove/Node.h %{buildroot}%{_includedir}/%{name} %{INSTALL_DATA} spgrove/GroveApp.h \ - spgrove/GroveBuilder.h $RPM_BUILD_ROOT%{_includedir}/%{name} + spgrove/GroveBuilder.h %{buildroot}%{_includedir}/%{name} %{INSTALL_DATA} style/FOTBuilder.h style/GroveManager.h \ style/DssslApp.h style/dsssl_ns.h \ - $RPM_BUILD_ROOT%{_includedir}/%{name} -# pushd $RPM_BUILD_ROOT%{_mandir}/man1 + %{buildroot}%{_includedir}/%{name} +# pushd $RPM_BUILD_ROOT%%{_mandir}/man1 # popd -# pushd $RPM_BUILD_ROOT%{_bindir} +# pushd $RPM_BUILD_ROOT%%{_bindir} # popd -# %{INSTALL_DIR} $RPM_BUILD_ROOT/etc/profile.d -# %{INSTALL_DATA} jade_dsl.sh $RPM_BUILD_ROOT/etc/profile.d -%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir_pkg} +# %%{INSTALL_DIR} $RPM_BUILD_ROOT/etc/profile.d +# %%{INSTALL_DATA} jade_dsl.sh $RPM_BUILD_ROOT/etc/profile.d +%{INSTALL_DIR} %{buildroot}%{sgml_dir_pkg} # comes with opensp: -# %{INSTALL_DATA} japan.sgmldecl $RPM_BUILD_ROOT%{sgml_dir_pkg}/japan.dcl -# %{INSTALL_DATA} pubtext/xml.dcl $RPM_BUILD_ROOT%{sgml_dir_pkg}/xml.dcl -# sed 's|decl|dcl|' pubtext/xml.soc > $RPM_BUILD_ROOT%{sgml_dir_pkg}/xml.soc +# %%{INSTALL_DATA} japan.sgmldecl $RPM_BUILD_ROOT%%{sgml_dir_pkg}/japan.dcl +# %%{INSTALL_DATA} pubtext/xml.dcl $RPM_BUILD_ROOT%%{sgml_dir_pkg}/xml.dcl +# sed 's|decl|dcl|' pubtext/xml.soc > $RPM_BUILD_ROOT%%{sgml_dir_pkg}/xml.soc pushd dsssl %{INSTALL_DATA} catalog dsssl.dtd extensions.dsl fot.dtd style-sheet.dtd \ - builtins.dsl jade_style-sheet.dtd $RPM_BUILD_ROOT%{sgml_dir_pkg} -%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_var_dir} + builtins.dsl jade_style-sheet.dtd %{buildroot}%{sgml_dir_pkg} +%{INSTALL_DIR} %{buildroot}%{sgml_var_dir} sed 's:"\([^"]*\(dtd\|dsl\)\)"$:"%{sgml_dir_pkg}/\1":' catalog \ - > $RPM_BUILD_ROOT%{sgml_var_dir}/CATALOG.%{name} -ln -sf CATALOG.%{name} $RPM_BUILD_ROOT%{sgml_var_dir}/CATALOG.jade_dsl -cd $RPM_BUILD_ROOT%{sgml_dir} \ + > %{buildroot}%{sgml_var_dir}/CATALOG.%{name} +ln -sf CATALOG.%{name} %{buildroot}%{sgml_var_dir}/CATALOG.jade_dsl +cd %{buildroot}%{sgml_dir} \ && ln -sf ../../..%{sgml_var_dir}/CATALOG.%{name} CATALOG.%{name} \ && ln -sf ../../..%{sgml_var_dir}/CATALOG.%{name} CATALOG.jade_dsl popd -%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/James_Clark/dtd -%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/OpenJade/dtd -%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir}/ISO_IEC_10179:1996/dtd -(cd $RPM_BUILD_ROOT%{sgml_dir}/James_Clark/dtd \ +%{INSTALL_DIR} %{buildroot}%{sgml_dir}/James_Clark/dtd +%{INSTALL_DIR} %{buildroot}%{sgml_dir}/OpenJade/dtd +%{INSTALL_DIR} %{buildroot}%{sgml_dir}/ISO_IEC_10179:1996/dtd +(cd %{buildroot}%{sgml_dir}/James_Clark/dtd \ && ln -sf ../../$RPM_PACKAGE_NAME/jade_style-sheet.dtd DSSSL_Style_Sheet \ && ln -sf ../../$RPM_PACKAGE_NAME/fot.dtd DSSSL_Flow_Object_Tree) -(cd $RPM_BUILD_ROOT%{sgml_dir}/OpenJade/dtd \ +(cd %{buildroot}%{sgml_dir}/OpenJade/dtd \ && ln -sf ../../$RPM_PACKAGE_NAME/style-sheet.dtd DSSSL_Style_Sheet) -(cd $RPM_BUILD_ROOT%{sgml_dir}/ISO_IEC_10179:1996/dtd \ +(cd %{buildroot}%{sgml_dir}/ISO_IEC_10179:1996/dtd \ && ln -sf ../../$RPM_PACKAGE_NAME/dsssl.dtd DSSSL_Architecture) # for compatibility with SL <= 8.1 -pushd $RPM_BUILD_ROOT%{sgml_dir} +pushd %{buildroot}%{sgml_dir} pushd %{name} ln -s ../opensp/japan.dcl . ln -s ../opensp/opensp-implied.dcl sp_implied.dcl @@ -215,7 +182,7 @@ rm -fr html cp -a jadedoc html echo "\ -<a href=\"README.SuSE\">README.SuSE</a> +<a href=\"README.SUSE\">README.SUSE</a> <a href=\"html/index.htm\">OpenJade documentation</a> (html)" > index.html grep -r include %{buildroot}%{_includedir} @@ -233,11 +200,7 @@ fi exit 0 -%clean -rm -fr $RPM_BUILD_ROOT - %files -%defattr(-, root, root) %doc COPYING NEWS README* %doc index.html html %doc dsssl develdoc testsuite @@ -245,9 +208,9 @@ %doc releasenotes.{html,pdf} %{sgml_dir}/openjade %{_bindir}/*jade* -# %{_mandir}/*/*jade* +# %%{_mandir}/*/*jade* %{_mandir}/*/* -# %config /etc/profile.d/jade_dsl.sh +# %%config /etc/profile.d/jade_dsl.sh %{sgml_dir}/CATALOG.%{name} %config %{sgml_var_dir}/CATALOG.%{name} #for compatibility <= 8.1 @@ -259,7 +222,6 @@ %{_libdir}/lib*.so.* %files devel -%defattr(-, root, root) %{_includedir}/%{name} %{_libdir}/lib*.so %exclude %{_libdir}/*a ++++++ openjade-README.SUSE ++++++ openjade and jade_dsl ===================== openjade is considered to replace the traditional jade_dsl (James Clark's jade). In case one of your own tools depend on the old directory layout try creating a compatibility link (as root); first check whether /usr/share/sgml/jade_dsl exists--if yes, copy the files to a secure location and delete it: cd /usr/share/sgml rm -r jade_dsl ln -s openjade jade_dsl Other compatibility links are provided by default; note, those links will go away with SuSE Linux 9.0! Please, switch to CATALOG names with the "openjade" string as soon as possible. 2003-01-30 14:59:33 CET -ke-
