automatic version update by autodist [release 1.37-1mamba;Thu Mar 09 2023]
This commit is contained in:
parent
88df93ecbf
commit
76e93f1b50
@ -2,27 +2,28 @@
|
|||||||
|
|
||||||
Name: perl-DateTime-Locale
|
Name: perl-DateTime-Locale
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 0.45
|
Version: 1.37
|
||||||
Release: 2mamba
|
Release: 1mamba
|
||||||
Summary: DateTime::Locale - Provide localization data for the DateTime.pm class
|
Summary: DateTime::Locale - Provide localization data for the DateTime.pm class
|
||||||
Group: System/Libraries/Perl
|
Group: System/Libraries/Perl
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Aleph0 <aleph0@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.cpan.org
|
URL: https://www.cpan.org/
|
||||||
Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{version}.tar.gz
|
Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{version}.tar.gz
|
||||||
License: GPL, Artistic
|
License: GPL, Artistic
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: libperl
|
||||||
|
BuildRequires: perl-File-ShareDir
|
||||||
|
BuildRequires: perl-Params-ValidationCompiler
|
||||||
|
BuildRequires: perl-Scalar-List-Utils
|
||||||
|
BuildRequires: perl-Specio
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-List-MoreUtils
|
BuildRequires: perl-namespace-autoclean
|
||||||
BuildRequires: perl-Params-Validate
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: perl-Test2-Plugin-NoWarnings
|
||||||
Requires: perl >= %perl_major_ver
|
Requires: perl >= %perl_major_ver
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
# FIXME:
|
|
||||||
# BuildRequires: perl-DT-Language
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The DateTime::Locale modules provide localization data for the DateTime.pm class.
|
The DateTime::Locale modules provide localization data for the DateTime.pm class.
|
||||||
@ -31,38 +32,35 @@ The DateTime::Locale modules provide localization data for the DateTime.pm class
|
|||||||
%setup -q -n DateTime-Locale-%{version}
|
%setup -q -n DateTime-Locale-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Build.PL installdirs=vendor
|
%{__perl} Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
./Build
|
|
||||||
./Build test
|
%make
|
||||||
|
%make test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
./Build install \
|
%makeinstall_perl
|
||||||
destdir="%{buildroot}" \
|
|
||||||
--install_path bindoc="%{_mandir}/man1" \
|
|
||||||
--install_path libdoc="%{_mandir}/man3"
|
|
||||||
|
|
||||||
packlist=`find %{buildroot} -name .packlist`
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
sed "s,%{buildroot},,g;s,.*/man/.*,&.gz,g" | \
|
||||||
sort -u > .packlist && rm $packlist
|
sort -u > .packlist && rm -f $packlist
|
||||||
|
|
||||||
find %{buildroot}%{perl_vendorlib} \
|
|
||||||
-type d -depth -exec rmdir {} 2>/dev/null \;
|
|
||||||
|
|
||||||
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
for dir in `find %{buildroot} -type d | grep $strid`; do
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
echo %dir ${dir#%buildroot} >> .packlist
|
echo "%dir ${dir#%buildroot}" >> .packlist
|
||||||
done
|
done
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
rm -f .packlist
|
|
||||||
|
|
||||||
%files -f .packlist
|
%files -f .packlist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 09 2023 Automatic Build System <autodist@mambasoft.it> 1.37-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-2mamba
|
* Fri Nov 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-2mamba
|
||||||
- rebuilt with perl 5.24
|
- rebuilt with perl 5.24
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user