Группа :: Разработка/Прочее
Пакет: perl-DateTime-Format-XSD
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(DateTime/Locale.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-DateTime-Format-XSD
Version: 0.4
Release: alt2
Summary: Format DateTime according to xsd:dateTime
License: GPL+ or Artistic
URL: https://metacpan.org/release/DateTime-Format-XSD
Source0: http://www.cpan.org/authors/id/T/TI/TIMLEGGE/DateTime-Format-XSD-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(DateTime/Format/ISO8601.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(DateTime/Format/ISO8601.pm)
Source44: import.info
%description
XML Schema defines a usage profile which is a subset of the ISO8601
profile. This profile defines that
'YYYY-MM-DD"T"HH:MI:SS(Z|[+-]zh:zm)'
is the only possible representation for a dateTime, despite
all other options ISO provides.
%prep
%setup -q -n DateTime-Format-XSD-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(DateTime/Locale.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-DateTime-Format-XSD
Version: 0.4
Release: alt2
Summary: Format DateTime according to xsd:dateTime
License: GPL+ or Artistic
URL: https://metacpan.org/release/DateTime-Format-XSD
Source0: http://www.cpan.org/authors/id/T/TI/TIMLEGGE/DateTime-Format-XSD-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(DateTime/Format/ISO8601.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(Test/More.pm)
Requires: perl(DateTime/Format/ISO8601.pm)
Source44: import.info
%description
XML Schema defines a usage profile which is a subset of the ISO8601
profile. This profile defines that
'YYYY-MM-DD"T"HH:MI:SS(Z|[+-]zh:zm)'
is the only possible representation for a dateTime, despite
all other options ISO provides.
%prep
%setup -q -n DateTime-Format-XSD-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor
%make_build
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь