]> git.pld-linux.org Git - packages/perl-Class-Date.git/commitdiff
- new
authormis <mis@pld-linux.org>
Wed, 12 Feb 2003 11:40:19 +0000 (11:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-Date.spec -> 1.1

perl-Class-Date.spec [new file with mode: 0644]

diff --git a/perl-Class-Date.spec b/perl-Class-Date.spec
new file mode 100644 (file)
index 0000000..b446b9a
--- /dev/null
@@ -0,0 +1,45 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Class
+%define        pnam    Date
+Summary:       Class for easy date and time manipulation
+Name:          perl-%{pdir}-%{pnam}
+Version:       1.1.5
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module is intended to provide a general-purpose date and datetime
+type for perl. You have a Class::Date class for absolute date and
+datetime, and have a Class::Date::Rel class for relative dates.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{__make} test
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Change*
+%{perl_sitearch}/%{pdir}/%{pnam}.pm
+%dir %{perl_sitearch}/%{pdir}/%{pnam}
+%{perl_sitearch}/%{pdir}/%{pnam}/*.pm
+#%dir %{perl_sitearch}/auto/%{pdir} # -- which package should be a Class/ owner?
+%dir %{perl_sitearch}/auto/%{pdir}/%{pnam}
+%{perl_sitearch}/auto/%{pdir}/%{pnam}/%{pnam}.*
+%{_mandir}/man3/*
This page took 0.156299 seconds and 4 git commands to generate.