Accepting request 1084810 from Publishing

OBS-URL: https://build.opensuse.org/request/show/1084810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opensp?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2023-05-05 13:57:15 +00:00 committed by Git OBS Bridge
commit 4c85e3b83b
5 changed files with 50 additions and 22 deletions

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<package>opensp-doc</package>
</multibuild>

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 4 14:08:19 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Add _multibuild to define additional spec files as additional
flavors.
Eliminates the need for source package links in OBS.
-------------------------------------------------------------------
Fri Nov 14 16:20:05 CET 2008 - mrueckert@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package opensp-doc
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,23 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
Name: opensp-doc
%define rname opensp
%define doc_package 1
BuildRequires: gcc-c++ libtool
BuildRequires: gcc-c++
BuildRequires: libtool
%if 0%{?doc_package}
BuildRequires: xmlto
%endif
License: MIT
Group: Productivity/Publishing/SGML
Version: 1.5.2
Release: 1
Release: 0
Source: http://sourceforge.net/projects/openjade/files/opensp/%{version}/OpenSP-%{version}.tar.gz
Patch11: opensp-nodeids.patch
Patch12: opensp-lfs.patch
@ -36,12 +35,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?doc_package}
BuildArch: noarch
%endif
Url: http://openjade.sourceforge.net/
URL: http://openjade.sourceforge.net/
%define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat}
Summary: The OpenJade Group's SGML and XML Parsing Tools
Provides: sp_libs sp OpenSP
Obsoletes: sp_libs sp
Provides: OpenSP
Provides: sp
Provides: sp_libs
Obsoletes: sp
Obsoletes: sp_libs
%description
The tools in this package provide the ability to manage SGML and XML
@ -60,8 +62,11 @@ This package is a fork from James Clark's SP suite.
License: MIT
Summary: SGML parser tools (development package)
Group: Productivity/Publishing/SGML
Requires: %{name} = %{version} libstdc++-devel glibc-devel
Provides: sp-devel OpenSP-devel
Requires: %{name} = %{version}
Requires: glibc-devel
Requires: libstdc++-devel
Provides: OpenSP-devel
Provides: sp-devel
Obsoletes: sp-devel
%description -n opensp-devel

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 4 14:08:19 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Add _multibuild to define additional spec files as additional
flavors.
Eliminates the need for source package links in OBS.
-------------------------------------------------------------------
Tue Nov 22 16:28:04 UTC 2011 - coolo@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package opensp
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,23 +12,22 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# norootforbuild
Name: opensp
%define rname opensp
%define doc_package 0
BuildRequires: gcc-c++ libtool
BuildRequires: gcc-c++
BuildRequires: libtool
%if 0%{?doc_package}
BuildRequires: xmlto
%endif
License: MIT
Group: Productivity/Publishing/SGML
Version: 1.5.2
Release: 1
Release: 0
Source: http://sourceforge.net/projects/openjade/files/opensp/%{version}/OpenSP-%{version}.tar.gz
Patch11: opensp-nodeids.patch
Patch12: opensp-lfs.patch
@ -36,12 +35,15 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?doc_package}
BuildArch: noarch
%endif
Url: http://openjade.sourceforge.net/
URL: http://openjade.sourceforge.net/
%define regcat /usr/bin/sgml-register-catalog
PreReq: %{regcat}
Summary: The OpenJade Group's SGML and XML Parsing Tools
Provides: sp_libs sp OpenSP
Obsoletes: sp_libs sp
Provides: OpenSP
Provides: sp
Provides: sp_libs
Obsoletes: sp
Obsoletes: sp_libs
%description
The tools in this package provide the ability to manage SGML and XML
@ -60,8 +62,11 @@ This package is a fork from James Clark's SP suite.
License: MIT
Summary: SGML parser tools (development package)
Group: Productivity/Publishing/SGML
Requires: %{name} = %{version} libstdc++-devel glibc-devel
Provides: sp-devel OpenSP-devel
Requires: %{name} = %{version}
Requires: glibc-devel
Requires: libstdc++-devel
Provides: OpenSP-devel
Provides: sp-devel
Obsoletes: sp-devel
%description -n opensp-devel