update to 0.45 [release 0.45-1mamba;Thu Aug 16 2012]
This commit is contained in:
parent
12a27b0ef2
commit
4888b15a5a
@ -1,2 +1,4 @@
|
|||||||
# perl-DateTime-Locale
|
# perl-DateTime-Locale
|
||||||
|
|
||||||
|
The DateTime::Locale modules provide localization data for the DateTime.pm class.
|
||||||
|
|
||||||
|
76
perl-DateTime-Locale.spec
Normal file
76
perl-DateTime-Locale.spec
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-DateTime-Locale
|
||||||
|
Epoch: 1
|
||||||
|
Version: 0.45
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: DateTime::Locale - Provide localization data for the DateTime.pm class
|
||||||
|
Group: System/Libraries/Perl
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Aleph0 <aleph0@openmamba.org>
|
||||||
|
URL: http://www.cpan.org
|
||||||
|
Source: http://www.cpan.org/modules/by-module/DateTime/DateTime-Locale-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: perl-devel
|
||||||
|
BuildRequires: perl-List-MoreUtils
|
||||||
|
BuildRequires: perl-Params-Validate
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
# FIXME:
|
||||||
|
# BuildRequires: perl-DT-Language
|
||||||
|
|
||||||
|
%description
|
||||||
|
The DateTime::Locale modules provide localization data for the DateTime.pm class.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n DateTime-Locale-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Build.PL installdirs=vendor
|
||||||
|
./Build
|
||||||
|
./Build test
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
./Build install \
|
||||||
|
destdir="%{buildroot}" \
|
||||||
|
--install_path bindoc="%{_mandir}/man1" \
|
||||||
|
--install_path libdoc="%{_mandir}/man3"
|
||||||
|
|
||||||
|
packlist=`find %{buildroot} -name .packlist`
|
||||||
|
[ -z "$packlist" ] && exit 1 || cat $packlist | \
|
||||||
|
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
|
||||||
|
sort -u > .packlist && rm $packlist
|
||||||
|
|
||||||
|
find %{buildroot}%{perl_vendorlib} \
|
||||||
|
-type d -depth -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
|
||||||
|
for dir in `find %{buildroot} -type d | grep $strid`; do
|
||||||
|
echo %dir ${dir#%buildroot} >> .packlist
|
||||||
|
done
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
rm -f .packlist
|
||||||
|
|
||||||
|
%files -f .packlist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.45-1mamba
|
||||||
|
- update to 0.45
|
||||||
|
|
||||||
|
* Thu Feb 05 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4001-1mamba
|
||||||
|
- automatic update by autodist
|
||||||
|
|
||||||
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.35-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Fri Nov 30 2007 Aleph0 <aleph0@openmamba.org> 0.35-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user