Accepting request 541519 from home:dimstar:Factory
- 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). OBS-URL: https://build.opensuse.org/request/show/541519 OBS-URL: https://build.opensuse.org/package/show/Publishing/openjade?expand=0&rev=12
This commit is contained in:
parent
9851d44663
commit
791d306962
@ -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
|
Mon Feb 15 12:58:47 UTC 2016 - rguenther@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package openjade
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,7 +27,7 @@ License: MIT
|
|||||||
Group: Productivity/Publishing/SGML
|
Group: Productivity/Publishing/SGML
|
||||||
Source: http://switch.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.bz2
|
Source: http://switch.dl.sourceforge.net/sourceforge/openjade/openjade-1.3.2.tar.bz2
|
||||||
Source1: jade_style-sheet.dtd
|
Source1: jade_style-sheet.dtd
|
||||||
Source2: %{name}-README.SuSE
|
Source2: %{name}-README.SUSE
|
||||||
Patch1: openjade-1.3.1-autoconf.dif
|
Patch1: openjade-1.3.1-autoconf.dif
|
||||||
Patch2: openjade-1.3.2-makefile.patch
|
Patch2: openjade-1.3.2-makefile.patch
|
||||||
Patch3: openjade-1.3.2-shared.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,"
|
The parser, "nsgmls," and helper tools like "sgmlnorm," "spam,"
|
||||||
"spent," and "sx" are now included in the separate "opensp" package.
|
"spent," and "sx" are now included in the separate "opensp" package.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Avi Kivity
|
|
||||||
Cees de Groot <cg@sgmltools.org>
|
|
||||||
David Megginson <dmeggins@microstar.com>
|
|
||||||
Didier PH Martin
|
|
||||||
Ian Castle <icastle@users.sourceforge.net>
|
|
||||||
James Clark <jjc@jclark.com>
|
|
||||||
Kathleen Marszalek
|
|
||||||
Matthias Clasen <clasen@mathematik.uni-freiburg.de>
|
|
||||||
Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
|
|
||||||
Peter Nilsson
|
|
||||||
Sebastian Rahtz <s.rahtz@elsevier.co.uk>
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: DSSSL Engine (development package)
|
Summary: DSSSL Engine (development package)
|
||||||
Group: Productivity/Publishing/SGML
|
Group: Development/Languages/C and C++
|
||||||
Requires: %{name} = %{version}
|
Requires: %{name} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Libraries and includes to compile applications that use the OpenJade
|
Libraries and includes to compile applications that use the OpenJade
|
||||||
framework (package 'openjade').
|
framework (package 'openjade').
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Avi Kivity
|
|
||||||
Cees de Groot <cg@sgmltools.org>
|
|
||||||
David Megginson <dmeggins@microstar.com>
|
|
||||||
Didier PH Martin
|
|
||||||
Ian Castle <icastle@users.sourceforge.net>
|
|
||||||
James Clark <jjc@jclark.com>
|
|
||||||
Kathleen Marszalek
|
|
||||||
Matthias Clasen <clasen@mathematik.uni-freiburg.de>
|
|
||||||
Paul Prescod <papresco@calum.csclub.uwaterloo.ca>
|
|
||||||
Peter Nilsson
|
|
||||||
Sebastian Rahtz <s.rahtz@elsevier.co.uk>
|
|
||||||
|
|
||||||
%define INSTALL install -m755 -s
|
%define INSTALL install -m755 -s
|
||||||
%define INSTALL_DIR install -d -m755
|
%define INSTALL_DIR install -d -m755
|
||||||
%define INSTALL_DATA install -m644
|
%define INSTALL_DATA install -m644
|
||||||
@ -103,9 +71,9 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
# -n %{name}-1.3.2-rc2
|
# -n %%{name}-1.3.2-rc2
|
||||||
cp %{S:1} dsssl
|
cp %{S:1} dsssl
|
||||||
cp %{S:2} README.SuSE
|
cp %{S:2} README.SUSE
|
||||||
%patch1
|
%patch1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
%patch3
|
%patch3
|
||||||
@ -142,7 +110,7 @@ autoconf --force
|
|||||||
%{__make} %{?jobs:-j%jobs}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
# # now start building the debug version
|
# # now start building the debug version
|
||||||
# mv jade/openjade jade/openjade.orig
|
# mv jade/openjade jade/openjade.orig
|
||||||
# zcat %{P:5} | patch -s -p 1
|
# zcat %%{P:5} | patch -s -p 1
|
||||||
# make
|
# make
|
||||||
# mv jade/openjade jade/openjade-valid-fo
|
# mv jade/openjade jade/openjade-valid-fo
|
||||||
# mv jade/openjade.orig jade/openjade
|
# mv jade/openjade.orig jade/openjade
|
||||||
@ -160,7 +128,7 @@ pushd $RPM_BUILD_ROOT%{_mandir}
|
|||||||
pushd man1 && ln -sf openjade.1 jade.1 && popd
|
pushd man1 && ln -sf openjade.1 jade.1 && popd
|
||||||
popd
|
popd
|
||||||
/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
|
/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} generic/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
|
||||||
%{INSTALL_DATA} grove/Node.h $RPM_BUILD_ROOT%{_includedir}/%{name}
|
%{INSTALL_DATA} grove/Node.h $RPM_BUILD_ROOT%{_includedir}/%{name}
|
||||||
%{INSTALL_DATA} spgrove/GroveApp.h \
|
%{INSTALL_DATA} spgrove/GroveApp.h \
|
||||||
@ -168,17 +136,17 @@ popd
|
|||||||
%{INSTALL_DATA} style/FOTBuilder.h style/GroveManager.h \
|
%{INSTALL_DATA} style/FOTBuilder.h style/GroveManager.h \
|
||||||
style/DssslApp.h style/dsssl_ns.h \
|
style/DssslApp.h style/dsssl_ns.h \
|
||||||
$RPM_BUILD_ROOT%{_includedir}/%{name}
|
$RPM_BUILD_ROOT%{_includedir}/%{name}
|
||||||
# pushd $RPM_BUILD_ROOT%{_mandir}/man1
|
# pushd $RPM_BUILD_ROOT%%{_mandir}/man1
|
||||||
# popd
|
# popd
|
||||||
# pushd $RPM_BUILD_ROOT%{_bindir}
|
# pushd $RPM_BUILD_ROOT%%{_bindir}
|
||||||
# popd
|
# popd
|
||||||
# %{INSTALL_DIR} $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_DATA} jade_dsl.sh $RPM_BUILD_ROOT/etc/profile.d
|
||||||
%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir_pkg}
|
%{INSTALL_DIR} $RPM_BUILD_ROOT%{sgml_dir_pkg}
|
||||||
# comes with opensp:
|
# comes with opensp:
|
||||||
# %{INSTALL_DATA} japan.sgmldecl $RPM_BUILD_ROOT%{sgml_dir_pkg}/japan.dcl
|
# %%{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
|
# %%{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
|
# sed 's|decl|dcl|' pubtext/xml.soc > $RPM_BUILD_ROOT%%{sgml_dir_pkg}/xml.soc
|
||||||
pushd dsssl
|
pushd dsssl
|
||||||
%{INSTALL_DATA} catalog dsssl.dtd extensions.dsl fot.dtd style-sheet.dtd \
|
%{INSTALL_DATA} catalog dsssl.dtd extensions.dsl fot.dtd style-sheet.dtd \
|
||||||
builtins.dsl jade_style-sheet.dtd $RPM_BUILD_ROOT%{sgml_dir_pkg}
|
builtins.dsl jade_style-sheet.dtd $RPM_BUILD_ROOT%{sgml_dir_pkg}
|
||||||
@ -215,7 +183,7 @@ popd
|
|||||||
rm -fr html
|
rm -fr html
|
||||||
cp -a jadedoc html
|
cp -a jadedoc html
|
||||||
echo "\
|
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
|
<a href=\"html/index.htm\">OpenJade documentation</a> (html)" > index.html
|
||||||
grep -r include %{buildroot}%{_includedir}
|
grep -r include %{buildroot}%{_includedir}
|
||||||
|
|
||||||
@ -245,9 +213,9 @@ rm -fr $RPM_BUILD_ROOT
|
|||||||
%doc releasenotes.{html,pdf}
|
%doc releasenotes.{html,pdf}
|
||||||
%{sgml_dir}/openjade
|
%{sgml_dir}/openjade
|
||||||
%{_bindir}/*jade*
|
%{_bindir}/*jade*
|
||||||
# %{_mandir}/*/*jade*
|
# %%{_mandir}/*/*jade*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
# %config /etc/profile.d/jade_dsl.sh
|
# %%config /etc/profile.d/jade_dsl.sh
|
||||||
%{sgml_dir}/CATALOG.%{name}
|
%{sgml_dir}/CATALOG.%{name}
|
||||||
%config %{sgml_var_dir}/CATALOG.%{name}
|
%config %{sgml_var_dir}/CATALOG.%{name}
|
||||||
#for compatibility <= 8.1
|
#for compatibility <= 8.1
|
||||||
|
Loading…
Reference in New Issue
Block a user