2024-01-06 08:50:45 +01:00
|
|
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
|
|
|
|
|
|
|
Name: perl-DateTime-Format-IBeat
|
|
|
|
Version: 0.161
|
2024-01-06 08:50:45 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 08:50:45 +01:00
|
|
|
Summary: DateTime::Format::IBeat - Format times in .beat notation
|
|
|
|
Group: System/Libraries/Perl
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:50:45 +01:00
|
|
|
URL: https://www.cpan.org/
|
2024-01-06 08:50:45 +01:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/E/EM/EMARTIN/DateTime-Format-IBeat-%{version}.tar.gz
|
|
|
|
License: GPL, Artistic
|
2024-01-06 08:50:45 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: perl-DateTime
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 08:50:45 +01:00
|
|
|
BuildRequires: perl(Class::ISA)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
Requires: perl >= %perl_major_ver
|
|
|
|
|
|
|
|
%description
|
|
|
|
No Time Zones, No Geographical Borders
|
|
|
|
|
|
|
|
How long is a Swatch .beat? In short, we have divided up the virtual and real day into 1000 beats. One Swatch beat is the equivalent of 1 minute 26.4 seconds. That means that 12 noon in the old time system is the equivalent of 500 Swatch .beats
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n DateTime-Format-IBeat-%{version}
|
|
|
|
|
|
|
|
mv LICENCE LICENSE
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
|
|
|
|
%make
|
|
|
|
%make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall_perl
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
|
|
|
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
|
|
|
|
chmod -R u+w %{buildroot}/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{perl_vendorlib}/DateTime
|
|
|
|
%{_mandir}/man3/*.3pm.gz
|
|
|
|
%doc Artistic Changes COPYING LICENSE README
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 08:50:45 +01:00
|
|
|
* Sat Aug 20 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.161-3mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 08:50:45 +01:00
|
|
|
* Thu Aug 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.161-2mamba
|
|
|
|
- imported in devel
|
|
|
|
|
|
|
|
* Mon Mar 07 2011 gil <puntogil@libero.it> 0.161-1mamba
|
|
|
|
- package created by autospec
|