SPECS: perl-Config-Scoped.spec (NEW) - initial

agaran agaran at pld-linux.org
Mon Mar 5 13:58:25 CET 2007


Author: agaran                       Date: Mon Mar  5 12:58:25 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   perl-Config-Scoped.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Config-Scoped.spec
diff -u /dev/null SPECS/perl-Config-Scoped.spec:1.1
--- /dev/null	Mon Mar  5 13:58:25 2007
+++ SPECS/perl-Config-Scoped.spec	Mon Mar  5 13:58:20 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	Config
+%define	pnam	Scoped
+Summary:	Config:Scoped - feature rich configuration file parser
+#Summary(pl):	
+Name:		perl-Config-Scoped
+Version:	0.11
+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:	1dce2be606897ea9912f5e19dffe002f
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Parse-RecDescent
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Config::Scoped has the following highlights as a configuration file parser:
+
+
+
+# %description -l pl
+# TODO
+
+%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} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Config/*.pm
+%{perl_vendorlib}/Config/Scoped
+%{_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  2007/03/05 12:58:20  agaran
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list