packages: perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.spec (N...

amateja amateja at pld-linux.org
Tue Jun 23 08:20:09 CEST 2009


Author: amateja                      Date: Tue Jun 23 06:20:09 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/perl-Getopt-Long-Descriptive:
   perl-Getopt-Long-Descriptive.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.spec
diff -u /dev/null packages/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.spec:1.1
--- /dev/null	Tue Jun 23 08:20:09 2009
+++ packages/perl-Getopt-Long-Descriptive/perl-Getopt-Long-Descriptive.spec	Tue Jun 23 08:20:04 2009
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Getopt
+%define	pnam	Long-Descriptive
+Summary:	Getopt::Long::Descriptive - Getopt::Long with usage text
+Summary(pl.UTF-8):	Getopt::Long::Descriptive - Getopt::Long z tekstem użycia
+Name:		perl-Getopt-Long-Descriptive
+Version:	0.074
+Release:	1
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Getopt/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	bf4931dfd87314376ecb74dc8d205944
+URL:		http://search.cpan.org/dist/Getopt-Long-Descriptive/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-IO-stringy
+BuildRequires:	perl-Params-Validate >= 0.74
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Convenient wrapper for Getopt::Long and program usage output
+
+%description -l pl.UTF-8
+Wygodne opakowanie Getopt::Long i wyjścia o użyciu programu
+
+%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}/Getopt/Long/*.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  2009/06/23 06:20:04  amateja
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list