2007-01-15 23:32:14 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-XML-NamespaceSupport (Version 1.09)
|
|
|
|
#
|
2009-06-18 15:15:50 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-15 23:32:14 +00:00
|
|
|
#
|
2009-06-18 15:15:50 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
2007-01-15 23:32:14 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-18 15:15:50 +00:00
|
|
|
|
|
|
|
Name: perl-XML-NamespaceSupport
|
|
|
|
Version: 1.09
|
|
|
|
Release: 135
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
AutoReqProv: on
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
Url: http://www.cpan.org/modules/by-module/XML/
|
|
|
|
Summary: XML::NamespaceSupport Perl Module
|
|
|
|
Source: XML-NamespaceSupport-%{version}.tar.bz2
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-01-15 23:32:14 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
This module offers a simple way to process namespaced XML names
|
|
|
|
(unames) from within any application that may need them. It also helps
|
|
|
|
maintain a prefix to namespace URI map, and provides a number of basic
|
|
|
|
checks.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n XML-NamespaceSupport-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
|
|
%perl_process_packlist
|
|
|
|
chmod 644 $RPM_BUILD_ROOT/%_mandir/man3/*
|
|
|
|
chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/NamespaceSupport.pm
|
|
|
|
chmod 644 Changes README
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%doc %{_mandir}/man3/*
|
|
|
|
%{perl_vendorlib}/XML
|
|
|
|
%{perl_vendorarch}/auto/XML
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
2009-06-18 15:15:50 +00:00
|
|
|
%changelog
|
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- converted neededforbuild to BuildRequires
|
2009-06-18 15:15:50 +00:00
|
|
|
* Sun Jul 31 2005 cthiel@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- update to version 1.09
|
2009-06-18 15:15:50 +00:00
|
|
|
* Tue Jun 28 2005 ro@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- fix permissions
|
2009-06-18 15:15:50 +00:00
|
|
|
* Mon Nov 15 2004 ro@suse.de
|
2007-01-15 23:32:14 +00:00
|
|
|
- initial package
|