File perl-Data-Hierarchy.spec of Package perl-Data-Hierarchy

#
# spec file for package perl-Data-Hierarchy (Version 0.34)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#

# norootforbuild


Name:           perl-Data-Hierarchy
License:        Artistic License
Group:          Development/Libraries/Perl
Url:            http://cpan.org/
Requires:       perl = %{perl_version}
AutoReqProv:    on
Summary:        Handle data in a hierarchical structure
Version:        0.34
Release:        103
Source:         http://cpan.org/modules/by-module/Data/Data-Hierarchy-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Data::Hierarchy provides a simple interface for manipulating
inheritable data attached to a hierarchical environment



Authors:
--------
    Chia-liang Kao <clkao at clkao dot org>

%prep
%setup -n Data-Hierarchy-%{version}

%build
perl Makefile.PL
%{__make}

%install
%perl_make_install
%perl_process_packlist

%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/Data
%{perl_vendorlib}/Data/Hierarchy.pm
%dir %{perl_vendorarch}/auto/Data
%dir %{perl_vendorarch}/auto/Data/Hierarchy
%{perl_vendorarch}/auto/Data/Hierarchy/.packlist
%{_mandir}/man3/Data::Hierarchy.3pm.gz
/var/adm/perl-modules/%{name}

%changelog
* Fri Jan 05 2007 lmuelle@suse.de
- Update to version 0.34.
  - Workaround various performance issues.  The real fix will be in 0.40.
* Mon Sep 18 2006 lmuelle@suse.de
- Update to version 0.31.
  - Fix a test assuming hash key orders.
  - Big rewrite, simplifying the API and documenting everything.
  - Added to_relative (to help with SVK floating checkouts).
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Feb 16 2005 schwab@suse.de
- Don't remove BuildRoot in %%install.
* Mon Feb 14 2005 lmuelle@suse.de
- Initial SuSE package.
openSUSE Build Service is sponsored by