Accepting request 43315 from devel:languages:perl
Copy from devel:languages:perl/perl-DateTime-Locale based on submit request 43315 from user computersalat OBS-URL: https://build.opensuse.org/request/show/43315 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Locale?expand=0&rev=4
This commit is contained in:
parent
fec9f1dc98
commit
6e5d401cea
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 16 14:25:32 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
- recreated by cpanspec 1.78
|
||||||
|
o fix deps
|
||||||
|
- added bcond_with test
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Apr 11 18:39:41 UTC 2010 - chris@computersalat.de
|
Sun Apr 11 18:39:41 UTC 2010 - chris@computersalat.de
|
||||||
|
|
||||||
|
@ -17,73 +17,73 @@
|
|||||||
|
|
||||||
# norootforbuild
|
# norootforbuild
|
||||||
|
|
||||||
|
%bcond_with test
|
||||||
|
|
||||||
Name: perl-DateTime-Locale
|
Name: perl-DateTime-Locale
|
||||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
%define cpan_name DateTime-Locale
|
||||||
Summary: Localization support for DateTime.pm
|
Summary: Localization support for DateTime.pm
|
||||||
Version: 0.45
|
Version: 0.45
|
||||||
Release: 1
|
Release: 2
|
||||||
License: GPL Version 2, Artistic License
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Url: http://search.cpan.org/dist/DateTime-Locale
|
Url: http://search.cpan.org/dist/DateTime-Locale/
|
||||||
|
#Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{version}.tar.gz
|
||||||
Source: %{cpan_name}-%{version}.tar.bz2
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
BuildRequires: perl(Module::Build)
|
||||||
%if 0%{?suse_version} < 1120
|
%if 0%{?suse_version} < 1120
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: perl(Class::ISA)
|
%if %{with test}
|
||||||
# other not perl || perl-base
|
BuildRequires: perl(Test::Output)
|
||||||
#BuildRequires: perl(Test::Pod)
|
#BuildRequires: perl(Test::Pod)
|
||||||
#BuildRequires: perl(Test::Pod::Coverage)
|
#BuildRequires: perl(Test::Pod::Coverage)
|
||||||
BuildRequires: perl(Test::Output)
|
%endif
|
||||||
BuildRequires: perl(List::MoreUtils)
|
BuildRequires: perl(List::MoreUtils)
|
||||||
BuildRequires: perl(Params::Validate) >= 0.91
|
BuildRequires: perl(Params::Validate) >= 0.91
|
||||||
|
#
|
||||||
Requires: perl = %{perl_version}
|
Requires: perl = %{perl_version}
|
||||||
Requires: perl(Class::ISA)
|
|
||||||
# other not perl || perl-base
|
|
||||||
Requires: perl(List::MoreUtils)
|
Requires: perl(List::MoreUtils)
|
||||||
Requires: perl(Params::Validate) >= 0.91
|
Requires: perl(Params::Validate) >= 0.91
|
||||||
|
#
|
||||||
|
#Conflicts: perl(DateTime::Format::Strptime) >= 1.1000
|
||||||
|
|
||||||
%description
|
%description
|
||||||
DateTime::Locale is primarily a factory for the various locale subclasses.
|
DateTime::Locale is primarily a factory for the various locale subclasses.
|
||||||
It also provides some functions for getting information on all
|
It also provides some functions for getting information on all the
|
||||||
the available locales.
|
available locales.
|
||||||
|
|
||||||
If you want to know what methods are available for locale objects,
|
If you want to know what methods are available for locale objects,
|
||||||
then please read the DateTime::Locale::Base documentation.
|
then please read the DateTime::Locale::Base documentation.
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
Richard Evans <rich@ridas.com>
|
--------
|
||||||
Dave Rolsky <autarch@urth.org>
|
Richard Evans <rich@ridas.com>
|
||||||
|
Dave Rolsky <autarch@urth.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
# rpmlint: spurious-executable-perm
|
||||||
|
%{__chmod} 0644 tools/generate-from-cldr
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="$RPM_OPT_FLAGS" perl Build.PL --prefix $RPM_BUILD_ROOT/usr --installdirs vendor
|
%{__perl} Build.PL installdirs=vendor
|
||||||
./Build
|
./Build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
./Build test
|
./Build test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
./Build install
|
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||||
# do not perl_process_packlist (noarch)
|
|
||||||
# remove .packlist file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
|
||||||
# remove perllocal.pod file
|
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
# normally you only need to check for doc files
|
%defattr(-,root,root,-)
|
||||||
%defattr(-,root,root)
|
%doc Changes LICENSE README SIGNATURE tools
|
||||||
%doc Changes LICENSE README SIGNATURE
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user