95 lines
2.8 KiB
RPMSpec
95 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package perl-SGMLS (Version 1.03ii)
|
|
#
|
|
# Copyright (c) 2009 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: LGPL v2.1 or later
|
|
Group: Productivity/Publishing/SGML
|
|
Requires: perl = %perl_version
|
|
AutoReqProv: on
|
|
Summary: SGML/XML Parsers
|
|
Version: 1.03ii
|
|
Release: 518
|
|
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
|
|
|
|
%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
|
|
* Tue Apr 04 2006 hvogel@suse.de
|
|
- fix some doc files [#163065]
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Thu Oct 16 2003 mmj@suse.de
|
|
- Don't build as root
|
|
* Fri Aug 22 2003 mjancar@suse.cz
|
|
- require the perl version we build with
|
|
* Fri Jul 18 2003 mmj@suse.de
|
|
- Use vendorlib
|
|
* Wed Aug 14 2002 mmj@suse.de
|
|
- Add documentation to the specfile, feedback from a user.
|
|
* Tue Apr 16 2002 mmj@suse.de
|
|
- Fixed correctly
|
|
* Mon Apr 15 2002 mmj@suse.de
|
|
- Fixed to own %%{perl_sitelib}/SGMLS/
|
|
* Mon Feb 04 2002 mmj@suse.de
|
|
- Added forgotten /usr/bin/sgmlspl to %%files *grrrr*
|
|
* Mon Feb 04 2002 mmj@suse.de
|
|
- Initial version. Added b/c iputils documentation now needs it to
|
|
build
|