File perl-SGML-Parser-OpenSP.spec of Package perl-SGML-Parser-OpenSP

#
# spec file for package perl-SGML-Parser-OpenSP (Version 0.994)
#
# Copyright (c) 2008 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-SGML-Parser-OpenSP
Version:        0.994
Release:        1
Summary:        Perl interface to the OpenSP SGML and XML parser
Group:          Development/Libraries/Perl
License:        Artistic License; GPL v2 or later
Url:            http://search.cpan.org/dist/SGML-Parser-OpenSP/
Source0:        SGML-Parser-OpenSP-%{version}.tar.bz2
Requires:       perl = %{perl_version}
Requires:       perl-Class-Accessor
BuildRequires:  gcc-c++
BuildRequires:  perl
BuildRequires:  perl-Class-Accessor
BuildRequires:  perl-Test-Exception
BuildRequires:  perl-Test-Pod
BuildRequires:  opensp-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
SGML::Parser::OpenSP provides a native Perl interface, written in C++
and XS, to the OpenSP SGML and XML parser.



Authors:
--------
    Bjoern Hoehrmann, <bjoern@hoehrmann.de>

%prep
%setup -q -n SGML-Parser-OpenSP-%{version}
# POD Coverage is interesting for upstream, not us.
%{__perl} -pi -e 's|t/99podcov.t||' MANIFEST ; rm t/99podcov.t
find . -type f -print0 | xargs -0 chmod -c -x
%{__perl} -pi -e 's|\r||g' Changes README

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}

%install
%perl_make_install
%perl_process_packlist
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc Changes README
%{perl_vendorarch}/auto/SGML/
%{perl_vendorarch}/SGML/
%{_var}/adm/perl-modules/perl-SGML-Parser-OpenSP
%{_mandir}/man3/SGML::Parser::OpenSP*.gz

%changelog
* Thu Jul 31 2008 pgajdos@suse.cz
- updated to 0.994:
  o added simple example script eg/xhtml1val.pl
  o added LICENSE => 'perl' to Makefile.PL
  o cleared executable bit on Makefile.PL
  o Updated copyright/license documentation
* Thu Jan 17 2008 pgajdos@suse.cz
- updated to 0.991
  * added 20passfd.t, 21parsestring.t, 22mwarnings.t
  * multi-arg options no longer have the last arg ignored
* Thu Jul 26 2007 pgajdos@suse.cz
- package moved from OBS, version 0.100
  Wed Jul 25 12:00:00 CEST 2007 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.8.0:
  Releasing version 0.8.0 of the W3C Markup Validator,
  a major milestone in the development of the validator,
  including changes in its architecture, UI, new features
  and fewer bugs, for a better, more accurate and helpful quality process.
  This release includes all the changes and bug reports of the 0.8.0 Beta 1
  and 0.8.0 Beta 2.
  Fri Jun 1 00:00:00 CEST 2007 sierkb@gmx.de
- Update validator and sgml-libs to version 0.8.0 Beta 2:
  Testing the second beta revision of the validator version 0.8.0. This new version
  builds upon the 0.8.0 Beta 1, and adds bug fixes, documentation
  updates and a polished UI with improved style and interaction. Changes include:
  - Revised main UI. Cleaner design. Improved tabbing between validation methods. Adding toggled option visibility
  - Bug Fix: Fixing transcoding issues, encoding of source display
  - Bug Fix: For XML document types, not reporting xmlns:* attributes as an error
  - New Feature: Adding error message id to the SOAP API, error context (source snippet), added error message explanation
  - Bug Fix: Fixed fatal error display in SOAP API
  - Bug Fix: Fixed line number display in case of broken encoding
  - Usability: more usable fatal error displays, removed "reset form" button, rewordings, error message explanations...
  - Bug Fix: Fixed outline for non-xml document types
  - New FEature: Added support for XHTML + RDFa
  - New Feature: For non-xhtml XML documents without document type,
  the validator will not try to perform validation and will only check well-formedness
  - code cleanup, other bug fixes
  Tue Apr 19 00:00:00 CEST 2007 sierkb@gmx.de
- Update validator and sgml-libs to version 0.8.0 Beta 1:
  Testing version 0.8.0 Beta #1 of the Markup Validator; a new version including
  important changes in architecture, performance, reliability of validation for XML-based languages,
  improvements to the User Interface, and a number of new features. Changes include:
  - New architecture, faster and more reliable, scaling better to the growing usage of the validator
  - Improved interface for better usability, accessibility
  - New feature: automatic cleanup of markup (with Tidy)
  - New feature: additional XML-Well-Formedness check, for more reliable validation of XML-based languages
  - Back by popular demand: document outline feature
  - New feature: checking that the documents are sent with proper Internet Media Type (MIME type)
  - New feature: for XML documents, checking that the xmlns is present, and properly set.
  - New feature: grouped messages, an alternate view to the sequential display of errors
  - New feature: Direct Input validation can check full documents AND HTML fragments
  - Added support for SMIL 2.1, XHTML Basic 1.1
  - Bug fixes
  Tue Jan 13 00:00:00 CET 2007 sierkb@gmx.de
- Rebuild for openSUSE 10.2.
- Spec file cleanups.
  Tue Nov 14 00:00:00 CET 2006 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.7.4:
  Releasing version 0.7.4 of the W3C Markup Validator,
  a maintenance release including bug fixes and documentation updates.
  Changes include:
  - Bug fixes to the validator's API
  - The proprietary XML output format is (still) deprecated, and will be removed in version 0.8.0
  - The outline feature, broken in version 0.7.3, is back.
  - Local installations of the validator can be configured to enable or disable  the API
  - Validation icons are now available in two colors and 4 file formats, including PNG and SVG
  - Documentation updates
  Mon Oct 23 00:00:00 CET 2006 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.7.3:
  Releasing version 0.7.3 of the W3C Markup Validator,
  a maintenance release including fixes, updates, and includes an
  experimental API to interface the validator with other programs and services.
  Changes include:
   - A new (experimental) Web Services API (docs/api.html)
   - The proprietary (and experimental) XML output format is deprecated
   - New Document type supported: XHTML-Print
   - New Character Encoding supported ISO-8859-11 (Thai)
   - Usability fix: better error messages for documents with no character encoding
  declared, and for which the encoding fallback fails
   - HTTP Fix: Be more lenient about whitespace and linefeeds in Content-Type
   - Usability Fix: Adding the possibility of Doctype Override for SVG Document Types
   - Compatibility Fix for OpenSP 1.5.2
   - documentation updates and improvements
   - Improved Feedback mechanisms
- 'valid SVG' badges added to openSUSE addons for local use.
- htdocs/config/types.conf:
  Relative URIs of 'valid SVG' badge and 'valid SVG Tiny' badge for local use.
  Thu Jun 15 00:00:00 CEST 2006 sierkb@gmx.de
- Rebuild for SUSE Linux 10.1
  Tue Apr 23 00:00:00 CET 2006 sierkb@gmx.de
- Update validator and sgml-libs to latest stable CVS 0.7.2-release
  Mon Apr 3 00:00:00 CET 2006 sierkb@gmx.de
- Update validator and sgml-libs to stable CVS 0.7.2-release
  Note: some hot fixes, which are part of this release,
  didn't make it into the release published in february.
  Wed Mar 15 00:00:00 CET 2006 sierkb@gmx.de
- Spec file cleanup: removed #neededforbuild
  Mon Feb 20 00:00:00 CET 2006 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.7.2:
  Releasing version 0.7.2 of the Markup Validator, a maintenance release
  including minor fixes as described below:
  - update for compatibility with new version of Config::General module
  - fixed the recognized root element for XHTML 1.1 plus MathML 2.0 (plus SVG)
  - avoid Text::Wrap error with deeply nested documents
  - documentation fixes (typos, broken link)
  - avoid trailing comma in failed validation results if number of errors is unknown
  - consistency fixes for character encoding selection
  - fixed support for iso-8859-3 and iso-8859-4 encodings, added support for iso-ir-111
  Wed Nov 23 00:00:00 CET 2005 sierkb@gmx.de
- SUSE addons are now comprised in a Tarball instead of spread files.
  Thu Nov 17 00:00:00 CET 2005 sierkb@gmx.de
- types.conf: using the proper root elements for the doctype override to
  XHTML 1.1 plus MathML 2.0 or XHTML 1.1 plus MathML 2.0 plus SVG 1.1.
- Spec file: removed depency from apxs (apache2-devel package).
- Rebuild for SuSE Linux 10.0 OSS (GCC 4.0.2).
  Wed Nov 9 00:00:00 CET 2005 sierkb@gmx.de
- validator.conf: With respect to default security, I changed
  'Allow Private IPs = yes' back to 'Allow Private IPs = no'.
- Wrote and added README file.
- Spec file: Improved Requires Directive.
  Tue Nov 1 00:00:00 CET 2005 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.7.1:
  Releasing version 0.7.1 of the Markup Validator,
  a maintenance release introducing performance enhancements
  and including minor fixes in the user interface
  and in the "Direct Input" validation results.
- Spec file: Updated and optimized patches for local use.
  Thu Aug 11 00:00:00 CEST 2005 sierkb@gmx.de
- Update validator and sgml-libs to stable release version 0.7.0:
  Stable release including all fixes and improvements made in consecutive
  beta versions 0.7.0 Beta #2 and 0.7.0 Beta #1.
  Mon Aug 1 00:00:00 CEST 2005 sierkb@gmx.de
- Update validator and sgml-libs to 0.7.0b2 (beta version 2):
  Testing version 0.7.0 Beta #2 of the Markup Validator, the second phase of
  beta test of a new version, including the results of feedback during the
  first phase of beta testing.
  Most bugs and issues resolved were recorded in our bugzilla database.
  Changes from version 0.7.0 Beta#1 include:
  - Improvements in the way the results and errors number is displayed,
  with a bug fix in error count.
  - Bug fixes:
    - The error number count in resuts now only counts errors,
  not warnings or other messages
    - A missing entry in the SGML catalog was added
    - The direct input interface now handles cases where n- content is
  set properly
  - Running the validator under mod_perl is n- longer supported
  - Simplified configuration sample for an installation on the Apache Server
  - Documentation updates
  Tue Jul 19 00:00:00 CEST 2005 sierkb@gmx.de
- Update validator and sgml-libs to 0.7.0b1 (beta version 1):
  Testing version 0.7.0 Beta #1 of the Markup Validator; a new version
  including small architectural changes, improvements t- the User Interface,
  documentation and user-friendliness, as well as a number of bug fixes.
  Most bugs and issues resolved were recorded in our bugzilla database.
  Changes include:
  - Templates for the XHTML output of validation results:
    - less inline markup
    - easier for multi-format output
    - getting close t- the possibility of localization
  - Better feedback mechanisms
    - Integration of the feedback page with validation results for better
  error message feedback
    - The feedback page now allows direct search of the mailing-list and
  bug database
  - Additional and improved error messages explanations and documentation
  - Variants of HTML2, MathML and SVG added t- the bundled SGML and XML catalogs
  - Better support for validation of non-W3C document types, including custom DTDs
  - User Interface and style changes for a user-friendlier experience, including
    - New print stylesheet, handheld stylesheets
    - Style differentiating errors, warnings and information in
  validation results
  - (re-)Added the possibility of validating markup by direct input
  - Simplified configuration syntax (for local installations)
  - Made easier t- run on Windows platform (still needs testing and
  documentation)
  - Global updates t- the documentation
  - Simplified, documented and checked the consistency of our usage of Access Keys
- Spec file: Brought -libs post(un)install scriptlets up to date with sgml-lib/*.soc.
  Fri Jun 17 00:00:00 CEST 2005 sierkb@gmx.de
- Updated sgml-libs to 0.6.7.
  Tue Jun 14 00:00:00 CEST 2005 sierkb@gmx.de
- Added patches for local use.
- Added configuration for VirtualHost use.
  Thu Jun 9 00:00:00 CEST 2005 sierkb@gmx.de
- Initial build for SuSE Linux.
- validator 0.6.7, sgml-libs 0.6.5.
openSUSE Build Service is sponsored by