eeb803d4f8
Copy from devel:languages:perl/perl-SGMLS based on submit request 28962 from user coolo OBS-URL: https://build.opensuse.org/request/show/28962 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-SGMLS?expand=0&rev=5
75 lines
2.1 KiB
RPMSpec
75 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package perl-SGMLS (Version 1.03ii)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: perl-SGMLS
|
|
Url: http://www.garshol.priv.no/download/xmltools/prod/SGMLSpm.html
|
|
License: LGPLv2.1+
|
|
Group: Productivity/Publishing/SGML
|
|
Requires: perl = %perl_version
|
|
AutoReqProv: on
|
|
Summary: SGML/XML Parsers
|
|
Version: 1.03ii
|
|
Release: 519
|
|
Source: SGMLSpm-%version.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
David Megginson <dmeggins@aix1.uottawa.ca>
|
|
|
|
%prep
|
|
%setup -n SGMLSpm
|
|
|
|
%build
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT/%perl_vendorlib
|
|
mkdir -p $RPM_BUILD_ROOT/%perl_vendorlib/SGMLS
|
|
mkdir -p $RPM_BUILD_ROOT/usr/bin
|
|
install SGMLS.pm $RPM_BUILD_ROOT/%perl_vendorlib
|
|
install skel.pl $RPM_BUILD_ROOT/%perl_vendorlib
|
|
install Output.pm Refs.pm $RPM_BUILD_ROOT/%perl_vendorlib/SGMLS
|
|
install sgmlspl.pl $RPM_BUILD_ROOT/usr/bin/sgmlspl
|
|
mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING 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
|
|
/usr/bin/sgmlspl
|
|
|
|
%changelog
|