File perl-SGMLS.spec of Package perl-SGMLS

#
# spec file for package perl-SGMLS (Version 1.03ii)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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
Group:          Productivity/Publishing/SGML
Requires:       perl = %perl_version
Autoreqprov:    on
Summary:        SGML/XML Parsers
Version:        1.03ii
Release:        391
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 -n perl-SGMLS
* 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
openSUSE Build Service is sponsored by