Stephan Kulow
2011-01-04 13:04:37 +00:00
committed by Git OBS Bridge
parent 3970dc3896
commit 1f866121a0
2 changed files with 20 additions and 23 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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

View File

@@ -15,50 +15,42 @@
# 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
%perl_requires
AutoReqProv: on
Summary: SGML/XML Parsers
Version: 1.03ii
Release: 527
License: LGPLv2.1+
Summary: SGML/XML Parsers
Url: http://www.garshol.priv.no/download/xmltools/prod/SGMLSpm.html
Group: Productivity/Publishing/SGML
Source: SGMLSpm-%version.tar.bz2
BuildRequires: perl perl-macros
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%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.
Authors:
--------
David Megginson <dmeggins@aix1.uottawa.ca>
%prep
%setup -n SGMLSpm -q
%build
%install
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
mkdir -p %{buildroot}%perl_vendorlib
mkdir -p %{buildroot}%perl_vendorlib/SGMLS
mkdir -p %{buildroot}%{_prefix}/bin
install SGMLS.pm %{buildroot}%perl_vendorlib
install skel.pl %{buildroot}%perl_vendorlib
install Output.pm Refs.pm %{buildroot}%perl_vendorlib/SGMLS
install sgmlspl.pl %{buildroot}%{_bindir}/sgmlspl
mv DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files
%defattr(-,root,root)
@@ -68,6 +60,6 @@ rm -rf $RPM_BUILD_ROOT
%perl_vendorlib/skel.pl
%perl_vendorlib/SGMLS/Output.pm
%perl_vendorlib/SGMLS/Refs.pm
/usr/bin/sgmlspl
%{_bindir}/sgmlspl
%changelog