SPECS: perl-Time-Normalize.spec (NEW) - initial, rel 0.1
agaran
agaran at pld-linux.org
Thu Feb 23 03:36:36 CET 2006
Author: agaran Date: Thu Feb 23 02:36:36 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, rel 0.1
---- Files affected:
SPECS:
perl-Time-Normalize.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Time-Normalize.spec
diff -u /dev/null SPECS/perl-Time-Normalize.spec:1.1
--- /dev/null Thu Feb 23 03:36:36 2006
+++ SPECS/perl-Time-Normalize.spec Thu Feb 23 03:36:30 2006
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Time
+%define pnam Normalize
+Summary: Time::Normalize
+Summary(pl): Time::Normalize
+Name: perl-Time-Normalize
+Version: 0.03
+Release: 0.1
+# "same as perl"
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8b2e0846694b4d1e31be77099ebb5cd3
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _noautoreq 'perl(anything_fake_or_conditional)'
+
+%description
+This module performs simple but tedious (and error-prone) checks on
+its inputs, and returns the time and/or date components in a
+sanitized, standardized manner, suitable for use in the remainder of
+your program.
+
+%description -l pl
+Ten moduĹ wykonuje proste ale nudne sprawdzenia na danych wejsciowych
+i zwraca czas lub/i datÄ w postaci komponentĂłw uĹźywalnych w programie.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Time/Normalize.pm
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/02/23 02:36:30 agaran
+- initial, rel 0.1
+
================================================================
More information about the pld-cvs-commit
mailing list