rpms/perl-XML-Xerces/devel perl-XML-Xerces.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Xavier Bachelot (xavierb) fedora-extras-commits at redhat.com
Sun Jan 13 14:03:31 UTC 2008


Author: xavierb

Update of /cvs/pkgs/rpms/perl-XML-Xerces/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27112/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-XML-Xerces.spec 
Log Message:
Initial import.



--- NEW FILE perl-XML-Xerces.spec ---
%define         ver 2.7.0
%define         PatchLevel 0

Name:           perl-XML-Xerces
Version:        %{ver}_%{PatchLevel}
Release:        4%{?dist}
Summary:        Perl API to Xerces XML parser

Group:          Development/Libraries
License:        ASL 2.0
URL:            http://xerces.apache.org/xerces-p/
Source:         http://www.apache.org/dist/xml/xerces-p/XML-Xerces-%{ver}-%{PatchLevel}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{ver}-%{PatchLevel}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
BuildRequires:  xerces-c-devel = %{ver}
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
XML::Xerces is the Perl API to the Apache project's Xerces XML parser. It is
implemented using the Xerces C++ API, and it provides access to most of the C++
API from Perl.
Because it is based on Xerces-C, XML::Xerces provides a validating XML parser
that makes it easy to give your application the ability to read and write XML
data. Classes are provided for parsing, generating, manipulating, and
validating XML documents. XML::Xerces is faithful to the XML 1.0 recommendation
and associated standards (DOM levels 1, 2, and 3, SAX 1 and 2, Namespaces, and
W3C XML Schema). The parser provides high performance, modularity, and
scalability, and provides full support for Unicode.
XML::Xerces implements the vast majority of the Xerces-C API. The exception is
some functions in the C++ API which either have better Perl counterparts (such
as file I/O) or which manipulate internal C++ information that has no role in
the Perl module. 


%prep
%setup -q -n XML-Xerces-%{ver}-%{PatchLevel}


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


%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes FAQ LICENSE README TODO docs samples
%{perl_vendorarch}/XML
%{perl_vendorarch}/auto/XML
%exclude %{perl_vendorarch}/auto/Handler


%changelog
* Sat Jan 12 2008 Xavier Bachelot <xavier at bachelot.org> - 2.7.0_0-4
- Remove '|| :' from %%check section.

* Thu Dec 27 2007 Xavier Bachelot <xavier at bachelot.org> - 2.7.0_0-3
- Fix License: tag.
- Fix Source: URL. 
- Add strict BR: on xerces-c-devel.

* Sat Dec 22 2007 Xavier Bachelot <xavier at bachelot.org> - 2.7.0_0-2
- Clean up spec.

* Wed Aug 09 2006 Xavier Bachelot <xavier at bachelot.org> - 2.7.0_0-1
- Initial build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Xerces/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Jan 2008 20:36:30 -0000	1.1
+++ .cvsignore	13 Jan 2008 14:02:58 -0000	1.2
@@ -0,0 +1 @@
+XML-Xerces-2.7.0-0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Xerces/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Jan 2008 20:36:30 -0000	1.1
+++ sources	13 Jan 2008 14:02:58 -0000	1.2
@@ -0,0 +1 @@
+e5bd871026bee1b291c5634e6e4daf35  XML-Xerces-2.7.0-0.tar.gz




More information about the fedora-extras-commits mailing list