8
0

- initial version 0.56

- skipped make test temporary as this currently breaks the build

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Data-Util?expand=0&rev=1
This commit is contained in:
Lars Vogdt
2010-04-10 10:29:21 +00:00
committed by Git OBS Bridge
commit d589b6989c
5 changed files with 96 additions and 0 deletions

64
perl-Data-Util.spec Normal file
View File

@@ -0,0 +1,64 @@
#
# spec file for package perl-Data-Util
#
# norootforbuild
Name: perl-Data-Util
%define cpan_name %( %{__sed} -e 's,perl-,,' <<< %{name} )
Summary: A selection of utilities for data and data types
Url: http://search.cpan.org/perldoc?Data::Util
Group: Development/Libraries/Perl
License: Artistic License
Version: 0.56
Release: 1
Vendor: openSUSE-Education
Source: %{cpan_name}-%{version}.tar.bz2
BuildRequires: perl-macros
BuildRequires: perl(Test::Exception)
BuildRequires: perl(ExtUtils::ParseXS)
BuildRequires: perl(Hash::Util::FieldHash::Compat)
BuildRequires: perl(Test::use::ok)
Requires: perl(ExtUtils::ParseXS)
Requires: perl(Sub::Uplevel)
Requires: perl(Hash::Util::FieldHash::Compat)
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This module provides utility functions for data and data types, including
functions for subroutines and symbol table hashes (stashes).
The implementation of this module is both Pure Perl and XS, so if you have a C
compiler, all the functions this module provides are really faster.
Author:
-------
Goro Fuji(gfx) <gfuji(at)cpan.org>
%prep
%setup -n %{cpan_name}-%{version}
chmod -x README Changes MANIFEST
%build
perl Makefile.PL
make %{?jobs:-j%jobs}
%check
#make test
%install
%perl_make_install
%perl_process_packlist
chmod -x %{buildroot}/%{perl_vendorarch}/Data/Util/*
%perl_gen_filelist
%clean
rm -rf %{buildroot}
%files -f %{name}.files
%defattr(-, root, root)
%doc Changes README MANIFEST
%changelog