Author: agaran                       Date: Wed Jul 26 18:40:49 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial NFY, WIP

---- Files affected:
SPECS:
   perl-Module-Load-Conditional.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-Module-Load-Conditional.spec
diff -u /dev/null SPECS/perl-Module-Load-Conditional.spec:1.1
--- /dev/null   Wed Jul 26 20:40:49 2006
+++ SPECS/perl-Module-Load-Conditional.spec     Wed Jul 26 20:40:44 2006
@@ -0,0 +1,68 @@
+# $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    Module
+%define                pnam    Load-Conditional
+Summary:       perl(Module::Load::Conditional)
+Name:          perl-Module-Load-Conditional
+Version:       0.08
+Release:       0.1
+# note if it is "same as perl"
+License:       (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
+Group:         Development/Languages/Perl
+Source0:       
http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9e2a706b6511651ca4eb6de0c4c89a12
+URL:           http://search.cpan.org/dist/Module-Load-Conditional
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} && %{with tests}
+BuildRequires: perl-Module-Load
+BuildRequires: perl-Locale-Maketext-Simple
+BuildRequires: perl-Params-Check
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+perl(Module::Load::Conditional)
+
+%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 README
+%dir %{perl_vendorlib}/Module/Load
+%{perl_vendorlib}/Module/Load/Conditional.pm
+%{_mandir}/man3/*
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/07/26 18:40:44  agaran
+- initial NFY, WIP
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to