diff --git a/openjade-README.SuSE b/openjade-README.SUSE similarity index 100% rename from openjade-README.SuSE rename to openjade-README.SUSE diff --git a/openjade.changes b/openjade.changes index e1d5ff4..4363c24 100644 --- a/openjade.changes +++ b/openjade.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Nov 13 15:12:52 UTC 2017 - dimstar@opensuse.org + +- 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). + ------------------------------------------------------------------- Mon Feb 15 12:58:47 UTC 2016 - rguenther@suse.com diff --git a/openjade.spec b/openjade.spec index 29c4648..0277174 100644 --- a/openjade.spec +++ b/openjade.spec @@ -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 @@ -27,7 +27,7 @@ License: MIT Group: Productivity/Publishing/SGML 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 @@ -53,47 +53,15 @@ It has back-ends for SGML, RTF, MIF, TeX, and HTML. 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 - David Megginson - Didier PH Martin - Ian Castle - James Clark - Kathleen Marszalek - Matthias Clasen - Paul Prescod - Peter Nilsson - Sebastian Rahtz - %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 - David Megginson - Didier PH Martin - Ian Castle - James Clark - Kathleen Marszalek - Matthias Clasen - Paul Prescod - Peter Nilsson - Sebastian Rahtz - %define INSTALL install -m755 -s %define INSTALL_DIR install -d -m755 %define INSTALL_DATA install -m644 @@ -103,9 +71,9 @@ Authors: %prep %setup -q -# -n %{name}-1.3.2-rc2 +# -n %%{name}-1.3.2-rc2 cp %{S:1} dsssl -cp %{S:2} README.SuSE +cp %{S:2} README.SUSE %patch1 %patch2 -p1 %patch3 @@ -142,7 +110,7 @@ autoconf --force %{__make} %{?jobs:-j%jobs} # # 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 @@ -160,7 +128,7 @@ pushd $RPM_BUILD_ROOT%{_mandir} 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} 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} %{INSTALL_DATA} spgrove/GroveApp.h \ @@ -168,17 +136,17 @@ popd %{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 +# 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/etc/profile.d +# %%{INSTALL_DATA} jade_dsl.sh $RPM_BUILD_ROOT/etc/profile.d %{INSTALL_DIR} $RPM_BUILD_ROOT%{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} @@ -215,7 +183,7 @@ popd rm -fr html cp -a jadedoc html echo "\ -README.SuSE +README.SUSE OpenJade documentation (html)" > index.html grep -r include %{buildroot}%{_includedir} @@ -245,9 +213,9 @@ rm -fr $RPM_BUILD_ROOT %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