| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2011-07-01 11:55:33 +00:00
										 |  |  | # spec file for package perl-XML-LibXML
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2011-07-01 11:55:33 +00:00
										 |  |  | # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | #
 | 
					
						
							| 
									
										
										
										
											2009-01-22 15:52:24 +00:00
										 |  |  | # All modifications and additions to the file contributed by third parties
 | 
					
						
							|  |  |  | # remain the property of their copyright owners, unless otherwise agreed
 | 
					
						
							|  |  |  | # upon. The license for this file, and modifications and additions to the
 | 
					
						
							|  |  |  | # file, is the same license as for the pristine package itself (unless the
 | 
					
						
							|  |  |  | # license for the pristine package is not an Open Source License, in which
 | 
					
						
							|  |  |  | # case the license is the MIT License). An "Open Source License" is a
 | 
					
						
							|  |  |  | # license that conforms to the Open Source Definition (Version 1.9)
 | 
					
						
							|  |  |  | # published by the Open Source Initiative.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | # Please submit bugfixes or comments via http://bugs.opensuse.org/
 | 
					
						
							|  |  |  | #
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # norootforbuild
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2009-01-22 15:52:24 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | Name:           perl-XML-LibXML
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
 | 
					
						
							|  |  |  | Summary:        Perl Binding for libxml2
 | 
					
						
							| 
									
										
										
										
											2011-07-25 10:00:51 +00:00
										 |  |  | Version:        1.84
 | 
					
						
							| 
									
										
										
										
											2011-07-01 11:55:33 +00:00
										 |  |  | Release:        1
 | 
					
						
							| 
									
										
										
										
											2008-02-08 19:25:45 +00:00
										 |  |  | AutoReqProv:    on
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | Group:          Development/Libraries/Perl
 | 
					
						
							| 
									
										
										
										
											2011-07-01 11:55:18 +00:00
										 |  |  | License:        GPL-1.0+ or Artistic
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | Url:            http://search.cpan.org/dist/XML-LibXML/
 | 
					
						
							| 
									
										
										
										
											2011-07-11 14:40:26 +00:00
										 |  |  | Source:         %{cpan_name}-%{version}.tar.gz
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 | 
					
						
							| 
									
										
										
										
											2010-12-05 21:28:27 +00:00
										 |  |  | %{perl_requires}
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | BuildRequires:  perl
 | 
					
						
							|  |  |  | BuildRequires:  perl-macros
 | 
					
						
							|  |  |  | BuildRequires:  libxml2-devel >= 2.6.16
 | 
					
						
							|  |  |  | BuildRequires:  perl(XML::SAX) >= 0.11
 | 
					
						
							|  |  |  | Requires:       perl(XML::SAX) >= 0.11
 | 
					
						
							|  |  |  | Provides:       perl-XML-LibXML-Common = %{version}
 | 
					
						
							|  |  |  | Obsoletes:      perl-XML-LibXML-Common < %{version}
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %description
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | This module implements a Perl interface to the Gnome libxml2 library which
 | 
					
						
							|  |  |  | provides interfaces for parsing and manipulating XML files. This module allows
 | 
					
						
							|  |  |  | Perl programmers to make use of the highly capable validating XML parser and
 | 
					
						
							|  |  |  | the high performance DOM implementation.
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %prep
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %setup -q -n %{cpan_name}-%{version}
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %build
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | # [2,7,1,0], # broken release, broken utf-16
 | 
					
						
							|  |  |  | %if 0%{?suse_version} == 1110
 | 
					
						
							|  |  |  | %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" FORCE=1
 | 
					
						
							|  |  |  | %else
 | 
					
						
							|  |  |  | %{__perl} Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
 | 
					
						
							|  |  |  | %endif
 | 
					
						
							|  |  |  | %{__make} %{?_smp_mflags}
 | 
					
						
							| 
									
										
										
										
											2008-02-08 19:25:45 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %check
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %{__make} test
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %install
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %perl_make_install
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | %perl_process_packlist
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %perl_gen_filelist
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | %clean
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %{__rm} -rf $RPM_BUILD_ROOT
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2010-04-03 22:09:30 +00:00
										 |  |  | %files -f %{name}.files
 | 
					
						
							| 
									
										
										
										
											2007-01-15 23:32:12 +00:00
										 |  |  | %defattr(-,root,root)
 | 
					
						
							|  |  |  | %doc Changes LICENSE README
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-06-03 20:00:10 +00:00
										 |  |  | %changelog
 |