packages: perl-common-sense/perl-common-sense.spec (NEW) - initial

amateja amateja at pld-linux.org
Wed Sep 9 15:23:18 CEST 2009


Author: amateja                      Date: Wed Sep  9 13:23:18 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/perl-common-sense:
   perl-common-sense.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-common-sense/perl-common-sense.spec
diff -u /dev/null packages/perl-common-sense/perl-common-sense.spec:1.1
--- /dev/null	Wed Sep  9 15:23:18 2009
+++ packages/perl-common-sense/perl-common-sense.spec	Wed Sep  9 15:23:12 2009
@@ -0,0 +1,68 @@
+# $Revision:
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	common
+%define	pnam	sense
+Summary:	common::sense - save a tree AND a kitten, use common::sense!
+Summary(pl.UTF-8):	common::sense - dostarcza zdroworozsądkowe ustawienia domyślne
+Name:		perl-common-sense
+Version:	2.0
+Release:	1
+License:	unknown
+Group:		Development/Languages/Perl
+Source0:	http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	cdff01866563f312c63171d63ba6863b
+URL:		http://search.cpan.org/dist/Devel-FindRef/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module implements some sane defaults for Perl programs, as
+defined by two typical (or not so typical - use your common sense)
+specimens of Perl coders.
+
+%description -l pl.UTF-8
+Moduł ten implementuje pewne zdroworozsądkowe ustawienia domyślne dla
+programów perlowych.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make} \
+	CC="%{__cc}" \
+	OPTIMIZE="%{rpmcflags}"
+
+%{?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)
+%{perl_vendorlib}/common/sense.pm
+%{_mandir}/man3/common::sense.3pm*
+
+%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  2009/09/09 13:23:12  amateja
+- initial
+
+$Log:
+
================================================================


More information about the pld-cvs-commit mailing list