diff --git a/Number-Format-1.61a.tar.gz b/Number-Format-1.61a.tar.gz deleted file mode 100644 index 5b6cf7e..0000000 --- a/Number-Format-1.61a.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5470ebe18d76771be9ed70ce57c7905cc7bb501f0b1fedf14770e60b41dc1dbd -size 19093 diff --git a/Number-Format-1.73.tar.gz b/Number-Format-1.73.tar.gz new file mode 100644 index 0000000..b3b3301 --- /dev/null +++ b/Number-Format-1.73.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84a2b722ef21ab92bd09ee8de9ecf9969cd95a0655815e8c9b0720669986e46c +size 22742 diff --git a/perl-Number-Format.changes b/perl-Number-Format.changes index 973b907..a0f21f0 100644 --- a/perl-Number-Format.changes +++ b/perl-Number-Format.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Aug 22 14:50:24 UTC 2011 - lars@linux-schulserver.de + +- update to 1.73 + + Add support for IEC60027 (Ki, Mi, Gi prefixes) with mode option + + Minor tweak to format_bytes test for German locales + + many bug fixes + + for more details, please see: + /usr/share/doc/packages/perl-Number-Format/CHANGES +- specfile rebuild via cpanspec + ------------------------------------------------------------------- Wed Dec 1 13:34:15 UTC 2010 - coolo@novell.com diff --git a/perl-Number-Format.spec b/perl-Number-Format.spec index bfe39e5..5eab7e0 100644 --- a/perl-Number-Format.spec +++ b/perl-Number-Format.spec @@ -1,47 +1,63 @@ -%define cpan_name Number-Format +# +# spec file for package perl-Number-Format +# +# 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. -Name: perl-%cpan_name -Version: 1.61a -Release: 1 -Provides: %cpan_name -Group: Development/Libraries/Perl -License: Artistic -URL: http://search.cpan.org/dist/Number-Format -Summary: Perl extension for formatting numbers -Source: %cpan_name-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} +Name: perl-Number-Format +Version: 1.73 +Release: 1 +License: Artistic +%define cpan_name Number-Format +Summary: Perl extension for formatting numbers +Url: http://search.cpan.org/dist/Number-Format/ +Group: Development/Libraries/Perl +#Source: http://www.cpan.org/authors/id/W/WR/WRW/Number-Format-%%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.gz +BuildRequires: perl(Carp) +BuildRequires: perl(POSIX) BuildRequires: perl BuildRequires: perl-macros +Requires: perl(Carp) +Requires: perl(POSIX) +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} %description -These functions provide an easy means of formatting numbers in a -manner suitable for displaying to the user. +These functions provide an easy means of formatting numbers in a manner +suitable for displaying to the user. + +There are two ways to use this package. One is to declare an object of type +Number::Format, which you can think of as a formatting engine. The various +functions defined here are provided as object methods. %prep -%setup -q -n %cpan_name-1.61 +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" -make +%{__perl} Makefile.PL INSTALLDIRS='vendor' +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist +%perl_gen_filelist %clean -# clean up the hard disc after build -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf %{buildroot} -%files -%defattr(-,root,root) -%doc %{_mandir}/man?/* -%{perl_vendorlib}/Number -%{perl_vendorarch}/auto/Number -%doc MANIFEST - -%changelog +%files -f %{name}.files +%defattr(644,root,root,755) +%doc CHANGES MANIFEST README TODO +%changelog