From cc74f60e66c470fef9446ad92db3d100c1a2faca06db0bc1c7681dc197f103e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 18:42:17 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main perl-SGMLS revision c5a2284ce386a57fa4db5c6f5dd2967d --- .gitattributes | 23 ++++++++++ SGMLSpm-1.1.tar.gz | 3 ++ perl-SGMLS.changes | 106 +++++++++++++++++++++++++++++++++++++++++++++ perl-SGMLS.spec | 65 +++++++++++++++++++++++++++ 4 files changed, 197 insertions(+) create mode 100644 .gitattributes create mode 100644 SGMLSpm-1.1.tar.gz create mode 100644 perl-SGMLS.changes create mode 100644 perl-SGMLS.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/SGMLSpm-1.1.tar.gz b/SGMLSpm-1.1.tar.gz new file mode 100644 index 0000000..6ea5fde --- /dev/null +++ b/SGMLSpm-1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:550c9245291c8df2242f7e88f7921a0f636c7eec92c644418e7d89cfea70b2bd +size 114100 diff --git a/perl-SGMLS.changes b/perl-SGMLS.changes new file mode 100644 index 0000000..8a0813c --- /dev/null +++ b/perl-SGMLS.changes @@ -0,0 +1,106 @@ +------------------------------------------------------------------- +Sun Oct 7 10:18:13 UTC 2018 - Dirk Stoecker + +- Fix downgrade issue due to uncommon version name + +------------------------------------------------------------------- +Thu Sep 13 16:44:30 UTC 2018 - pmonrealgonzalez@suse.com + +- update to version 1.1 + Updated the package to use Module::Build. This should help + distribution packagers who commonly patched the old Makefile + to rearrange the install. + + Applied Ardo van Rangelrooij's debian patches + +- Cleaned spec file with spec-cleaner + +------------------------------------------------------------------- +Mon Apr 15 10:43:45 UTC 2013 - idonmez@suse.com + +- Add Source URL, see https://en.opensuse.org/SourceUrls + +------------------------------------------------------------------- +Fri Nov 18 11:09:39 UTC 2011 - coolo@suse.com + +- use original .tar.gz + +------------------------------------------------------------------- +Tue Jan 4 13:04:29 UTC 2011 - coolo@novell.com + +- ran spec-cleaner + +------------------------------------------------------------------- +Thu Dec 16 14:49:38 UTC 2010 - vcizek@novell.com + +- switched to %perl_requires macro + +------------------------------------------------------------------- +Tue Oct 19 08:39:04 UTC 2010 - coolo@novell.com + +- add perl as explicit buildrequire + +------------------------------------------------------------------- +Thu Jan 14 14:11:08 CET 2010 - anicka@suse.cz + +- revert last change to make the package build again. There is + no point in calling make at all in this package, we do all + the work of its Makefile in %install phase. + +------------------------------------------------------------------- +Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de + +- enable parallel build + +------------------------------------------------------------------- +Tue Apr 4 11:24:41 CEST 2006 - hvogel@suse.de + +- fix some doc files [#163065] + +------------------------------------------------------------------- +Wed Jan 25 21:39:56 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Thu Oct 16 21:53:44 CEST 2003 - mmj@suse.de + +- Don't build as root + +------------------------------------------------------------------- +Fri Aug 22 15:38:24 CEST 2003 - mjancar@suse.cz + +- require the perl version we build with + +------------------------------------------------------------------- +Fri Jul 18 01:13:24 CEST 2003 - mmj@suse.de + +- Use vendorlib + +------------------------------------------------------------------- +Wed Aug 14 22:35:11 CEST 2002 - mmj@suse.de + +- Add documentation to the specfile, feedback from a user. + +------------------------------------------------------------------- +Tue Apr 16 11:15:21 CEST 2002 - mmj@suse.de + +- Fixed correctly + +------------------------------------------------------------------- +Mon Apr 15 16:02:24 CEST 2002 - mmj@suse.de + +- Fixed to own %{perl_sitelib}/SGMLS/ + +------------------------------------------------------------------- +Mon Feb 4 15:05:38 CET 2002 - mmj@suse.de + +- Added forgotten /usr/bin/sgmlspl to %files *grrrr* + +------------------------------------------------------------------- +Mon Feb 4 12:21:24 CET 2002 - mmj@suse.de + +- Initial version. Added b/c iputils documentation now needs it to + build + +------------------------------------------------------------------- diff --git a/perl-SGMLS.spec b/perl-SGMLS.spec new file mode 100644 index 0000000..c7b7eeb --- /dev/null +++ b/perl-SGMLS.spec @@ -0,0 +1,65 @@ +# +# spec file for package perl-SGMLS +# +# Copyright (c) 2018 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# 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/ +# + + +Name: perl-SGMLS +Version: 1.1 +Release: 0 +Summary: SGML/XML Parsers +License: GPL-2.0 +Group: Productivity/Publishing/SGML +Url: https://metacpan.org/release/RAAB/SGMLSpm-1.1 +Source: https://www.cpan.org/authors/id/R/RA/RAAB/SGMLSpm-%{version}.tar.gz +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Module::Build) +# workaround the downgrade in version number from 1.03ii to 1.1 +Provides: perl-SGMLS = %{version}0 +Provides: perl(SGMLS) = %{version}0 +%{perl_requires} + +%description +SGMLSpm is a Perl script that reads ESIS output (from parsers like SP) +and offers an event-based interface to the parser. As long as the +parser can parse XML this also works for XML. + +%prep +%setup -q -n SGMLSpm-1.1 + +%build + +%install +mkdir -p %{buildroot}%{perl_vendorlib} +mkdir -p %{buildroot}%{perl_vendorlib}/SGMLS +mkdir -p %{buildroot}%{_bindir} +install lib/SGMLS.pm %{buildroot}%{perl_vendorlib} +install lib/sgmlspl-specs/skel.pl %{buildroot}%{perl_vendorlib} +install lib/SGMLS/Output.pm lib/SGMLS/Refs.pm %{buildroot}%{perl_vendorlib}/SGMLS +install script/sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl +mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl + +%files +%license COPYING +%doc README BUGS ChangeLog TODO DOC/HTML/* +%dir %{perl_vendorlib}/SGMLS +%{perl_vendorlib}/SGMLS.pm +%{perl_vendorlib}/skel.pl +%{perl_vendorlib}/SGMLS/Output.pm +%{perl_vendorlib}/SGMLS/Refs.pm +%{_bindir}/sgmlspl + +%changelog