diff --git a/.cvsignore b/.cvsignore index e69de29..4f5ddf2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Olson-Abbreviations-0.02.tar.gz diff --git a/perl-Olson-Abbreviations.spec b/perl-Olson-Abbreviations.spec new file mode 100644 index 0000000..cfd7937 --- /dev/null +++ b/perl-Olson-Abbreviations.spec @@ -0,0 +1,56 @@ +Name: perl-Olson-Abbreviations +Version: 0.02 +Release: 1%{?dist} +Summary: Globally unique timezones abbreviation handling +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Olson-Abbreviations/ +Source0: http://www.cpan.org/authors/id/E/EC/ECARROLL/Olson-Abbreviations-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Moose) +BuildRequires: perl(MooseX::AttributeHelpers) +BuildRequires: perl(MooseX::ClassAttribute) +BuildRequires: perl(Test::More) +Requires: perl(Moose) +Requires: perl(MooseX::AttributeHelpers) +Requires: perl(MooseX::ClassAttribute) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This module should help you with converting commonly used and often +ambigious olson abbreviations into TZ offset notation. + +%prep +%setup -q -n Olson-Abbreviations-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 19 2010 Marcela Mašláňová 0.02-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..a3a19fb 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +19c1a8b91f0d2e393e0cf824deb36e3b Olson-Abbreviations-0.02.tar.gz