# # spec file for package perl-Data-Hierarchy (Version 0.34) # # Copyright (c) 2010 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 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: 112 Source: http://cpan.org/modules/by-module/Data/Data-Hierarchy-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl %description Data::Hierarchy provides a simple interface for manipulating inheritable data attached to a hierarchical environment Authors: -------- Chia-liang Kao %prep %setup -n Data-Hierarchy-%{version} %build perl Makefile.PL %{__make} %{?_smp_mflags} %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 %{_mandir}/man3/Data::Hierarchy.3pm.gz /var/adm/perl-modules/%{name} %changelog