8
0
Files
perl-Data-Hierarchy/perl-Data-Hierarchy.spec
OBS User autobuild 4488f79229 Accepting request 29297 from devel:languages:perl
Copy from devel:languages:perl/perl-Data-Hierarchy based on submit request 29297 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Data-Hierarchy?expand=0&rev=5
2010-01-12 12:57:45 +00:00

68 lines
1.9 KiB
RPMSpec

#
# 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: 104
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} %{?_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
%{perl_vendorarch}/auto/Data/Hierarchy/.packlist
%{_mandir}/man3/Data::Hierarchy.3pm.gz
/var/adm/perl-modules/%{name}
%changelog