packages: perl-Find-Lib/perl-Find-Lib.spec (NEW) - added to PLD
lisu
lisu at pld-linux.org
Thu Nov 19 11:21:50 CET 2009
Author: lisu Date: Thu Nov 19 10:21:50 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- added to PLD
---- Files affected:
packages/perl-Find-Lib:
perl-Find-Lib.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/perl-Find-Lib/perl-Find-Lib.spec
diff -u /dev/null packages/perl-Find-Lib/perl-Find-Lib.spec:1.1
--- /dev/null Thu Nov 19 11:21:50 2009
+++ packages/perl-Find-Lib/perl-Find-Lib.spec Thu Nov 19 11:21:45 2009
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# TODO: - fix "make test"
+# - pl
+#
+# Conditional build:
+%bcond_without autodeps # don't BR packages needed only for resolving deps
+%bcond_with tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Find
+%define pnam Lib
+Summary: Find::Lib - helper to smartly find libs to use in the filesystem tree
+Name: perl-Find-Lib
+Version: 1.01
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Find/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 8986f9679a88fb265a5e5cf4720f22a1
+URL: http://search.cpan.org/dist/Find-Lib/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with autodeps} || %{with tests}
+# foo
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Helper to smartly find libs to use in the filesystem tree
+
+%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
+%{_mandir}/man3/Find::Lib.3pm*
+%dir %{perl_vendorlib}/Find
+%{perl_vendorlib}/Find/Lib.pm
+
+%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/11/19 10:21:45 lisu
+- added to PLD
+
================================================================
More information about the pld-cvs-commit
mailing list