Accepting request 635581 from home:pmonrealgonzalez:branches:devel:languages:perl

- 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

OBS-URL: https://build.opensuse.org/request/show/635581
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-SGMLS?expand=0&rev=20
This commit is contained in:
Dirk Stoecker 2018-09-14 08:39:03 +00:00 committed by Git OBS Bridge
parent 837628944e
commit b8d5c70640
4 changed files with 37 additions and 28 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913
size 93250

BIN
SGMLSpm-1.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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 Mon Apr 15 10:43:45 UTC 2013 - idonmez@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-SGMLS # spec file for package perl-SGMLS
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2018 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
@ -17,17 +17,17 @@
Name: perl-SGMLS Name: perl-SGMLS
Version: 1.03ii Version: 1.1
Release: 0 Release: 0
Summary: SGML/XML Parsers Summary: SGML/XML Parsers
License: LGPL-2.1+ License: LGPL-2.1-or-later
Group: Productivity/Publishing/SGML Group: Productivity/Publishing/SGML
Url: http://www.garshol.priv.no/download/xmltools/prod/SGMLSpm.html Url: https://metacpan.org/release/RAAB/SGMLSpm-1.1
Source: http://www.cpan.org/modules/by-module/SGMLS/SGMLSpm-%version.tar.gz Source: https://www.cpan.org/authors/id/R/RA/RAAB/SGMLSpm-%{version}.tar.gz
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl(Module::Build)
%perl_requires %{perl_requires}
%description %description
SGMLSpm is a Perl script that reads ESIS output (from parsers like SP) SGMLSpm is a Perl script that reads ESIS output (from parsers like SP)
@ -35,31 +35,28 @@ and offers an event-based interface to the parser. As long as the
parser can parse XML this also works for XML. parser can parse XML this also works for XML.
%prep %prep
%setup -n SGMLSpm -q %setup -q -n SGMLSpm-1.1
%build %build
%install %install
mkdir -p %{buildroot}%perl_vendorlib mkdir -p %{buildroot}%{perl_vendorlib}
mkdir -p %{buildroot}%perl_vendorlib/SGMLS mkdir -p %{buildroot}%{perl_vendorlib}/SGMLS
mkdir -p %{buildroot}%{_prefix}/bin mkdir -p %{buildroot}%{_bindir}
install SGMLS.pm %{buildroot}%perl_vendorlib install lib/SGMLS.pm %{buildroot}%{perl_vendorlib}
install skel.pl %{buildroot}%perl_vendorlib install lib/sgmlspl-specs/skel.pl %{buildroot}%{perl_vendorlib}
install Output.pm Refs.pm %{buildroot}%perl_vendorlib/SGMLS install lib/SGMLS/Output.pm lib/SGMLS/Refs.pm %{buildroot}%{perl_vendorlib}/SGMLS
install sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl install script/sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl
mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root) %license COPYING
%doc COPYING README BUGS ChangeLog TODO DOC/HTML/* %doc README BUGS ChangeLog TODO DOC/HTML/*
%dir %perl_vendorlib/SGMLS %dir %{perl_vendorlib}/SGMLS
%perl_vendorlib/SGMLS.pm %{perl_vendorlib}/SGMLS.pm
%perl_vendorlib/skel.pl %{perl_vendorlib}/skel.pl
%perl_vendorlib/SGMLS/Output.pm %{perl_vendorlib}/SGMLS/Output.pm
%perl_vendorlib/SGMLS/Refs.pm %{perl_vendorlib}/SGMLS/Refs.pm
%{_bindir}/sgmlspl %{_bindir}/sgmlspl
%changelog %changelog