Accepting request 45993 from home:computersalat:devel:perl
Copy from home:computersalat:devel:perl/perl-XML-Validator-Schema via accept of submit request 45993 revision 2. Request was accepted with message: self accept OBS-URL: https://build.opensuse.org/request/show/45993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Validator-Schema?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
130112c959
commit
8248605803
@@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 23 11:26:29 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
o cleanup spec
|
||||||
|
- fix deps
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jul 25 19:46:45 CEST 2009 - chris@computersalat.de
|
Sat Jul 25 19:46:45 CEST 2009 - chris@computersalat.de
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-XML-Validator-Schema
|
# spec file for package perl-XML-Validator-Schema (Version 1.10)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,76 +17,84 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
#Distribution: %dist
|
%bcond_with opt
|
||||||
#Packager: %packager
|
|
||||||
#Vendor: %vendor
|
|
||||||
|
|
||||||
Name: perl-XML-Validator-Schema
|
Name: perl-XML-Validator-Schema
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name XML-Validator-Schema
|
||||||
Summary: Validate XML against a subset of W3C XML Schema
|
Summary: Validate XML against a subset of W3C XML Schema
|
||||||
Version: 1.10
|
Version: 1.10
|
||||||
Release: 1
|
Release: 1
|
||||||
License: Artistic License
|
License: CHECK(GPL+ or Artistic)
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://www.cpan.org
|
Url: http://search.cpan.org/dist/XML-Validator-Schema/
|
||||||
Source0: %{cpan_name}-%{version}.tar.bz2
|
#Source: http://www.cpan.org/modules/by-module/XML/XML-Validator-Schema-%{version}.tar.gz
|
||||||
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
#BuildRequires: perl(Module::Build)
|
%endif
|
||||||
|
%if %{with opt}
|
||||||
|
BuildRequires: perl(XML::SAX::ExpatXS) >= 1.00
|
||||||
|
BuildRequires: perl(XML::SAX::Writer)
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(Test::More) >= 0.47
|
BuildRequires: perl(Test::More) >= 0.47
|
||||||
BuildRequires: perl(Tree::DAG_Node)
|
BuildRequires: perl(Tree::DAG_Node)
|
||||||
BuildRequires: perl(XML::SAX) >= 0.12
|
|
||||||
BuildRequires: perl(XML::SAX::Writer) >= 0.44
|
|
||||||
BuildRequires: perl(XML::SAX::ExpatXS) >= 1.00
|
|
||||||
BuildRequires: perl(Carp)
|
|
||||||
BuildRequires: perl(XML::Filter::BufferText)
|
BuildRequires: perl(XML::Filter::BufferText)
|
||||||
BuildRequires: perl(XML::Filter::ExceptionLocator)
|
BuildRequires: perl(XML::SAX) >= 0.12
|
||||||
Requires: perl = %{perl_version}
|
%if %{with opt}
|
||||||
Requires: perl(Carp)
|
BuildRequires: perl(XML::SAX::Writer)
|
||||||
Requires: perl(Tree::DAG_Node)
|
%endif
|
||||||
Requires: perl(XML::Filter::BufferText)
|
#
|
||||||
Requires: perl(XML::SAX) >= 0.12
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(XML::SAX::Writer) >= 0.44
|
Requires: perl(Carp)
|
||||||
Requires: perl(XML::SAX::ExpatXS) >= 1.00
|
Requires: perl(Tree::DAG_Node)
|
||||||
Requires: perl(XML::Filter::BufferText)
|
Requires: perl(XML::Filter::BufferText)
|
||||||
Requires: perl(XML::Filter::ExceptionLocator)
|
Requires: perl(XML::SAX) >= 0.12
|
||||||
|
Recommends: perl(XML::Filter::ExceptionLocator)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This module allows you to validate XML documents against a W3C XML
|
This module allows you to validate XML documents against a W3C XML
|
||||||
Schema. This module does not implement the full W3C XML Schema
|
Schema. This module does not implement the full W3C XML Schema
|
||||||
recommendation (http://www.w3.org/XML/Schema), but a useful subset. See
|
recommendation (http://www.w3.org/XML/Schema), but a useful subset. See
|
||||||
the SCHEMA SUPPORT section in the module documention.
|
the SCHEMA SUPPORT section in the module documention.
|
||||||
|
|
||||||
IMPORTANT NOTE: To get line and column numbers in the error
|
IMPORTANT NOTE: To get line and column numbers in the error
|
||||||
messages generated by this module you must install
|
messages generated by this module you must install
|
||||||
XML::Filter::ExceptionLocator and use XML::SAX::ExpatXS as your
|
XML::Filter::ExceptionLocator and use XML::SAX::ExpatXS as your
|
||||||
SAX parser. This module is much more useful if you can tell where
|
SAX parser. This module is much more useful if you can tell where
|
||||||
your errors are, so using these modules is highly recommeded!
|
your errors are, so using these modules is highly recommeded!
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Sam Tregar <sam@tregar.com>
|
||||||
|
|
||||||
Author: Sam Tregar <sam@tregar.com>
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
%{__make}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__make} test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
# do not perl_process_packlist (noarch)
|
||||||
|
# remove .packlist file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||||
|
# remove perllocal.pod file
|
||||||
|
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,-)
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc ANNOUNCE Changes README TODO
|
%doc ANNOUNCE Changes README TODO
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user