Author: arekm                        Date: Wed Dec 10 07:10:09 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/perl-relative.spec
diff -u /dev/null SPECS/perl-relative.spec:1.1
--- /dev/null   Wed Dec 10 08:10:10 2008
+++ SPECS/perl-relative.spec    Wed Dec 10 08:10:04 2008
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    relative
+Summary:       relative - Load modules with relative names
+Name:          perl-relative
+Version:       0.04
+Release:       1
+# same as perl
+License:       GPL v1+ or Artistic
+Group:         Development/Languages/Perl
+URL:           http://search.cpan.org/dist/relative/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+Source0:       
http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/%{pdir}-%{version}.tar.gz
+# Source0-md5:  923b48653599f2f7fcc7eba12db462ea
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module allows you to load modules using only parts of their name,
+relatively to the current module or to a given module. Module names
+are by default searched below the current module, but can be searched
+upper in the hierarchy using the ..:: syntax.
+
+%prep
+%setup -q -n %{pdir}-%{version}
+
+%build
+%{__perl} Build.PL \
+       destdir=$RPM_BUILD_ROOT \
+       installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/relative.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  2008/12/10 07:10:04  arekm
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to