]> git.pld-linux.org Git - packages/perl-Module-Find.git/commitdiff
- initial revisions (big help from pldcpan.pl)
authormigo <migo@pld-linux.org>
Tue, 11 Oct 2005 19:45:26 +0000 (19:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Module-Find.spec -> 1.1

perl-Module-Find.spec [new file with mode: 0644]

diff --git a/perl-Module-Find.spec b/perl-Module-Find.spec
new file mode 100644 (file)
index 0000000..34e57a1
--- /dev/null
@@ -0,0 +1,54 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Module
+%define        pnam    Find
+Summary:       Module::Find - Find and use installed modules in a (sub)category
+#Summary(pl):  
+Name:          perl-Module-Find
+Version:       0.04
+Release:       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: 075a92ae9646e661f38f2e2a2ef34847
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Module::Find lets you find and use modules in categories. This can be very 
+useful for auto-detecting driver or plugin modules. You can differentiate
+between looking in the category itself or in all subcategories.
+
+# %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}/Module/*.pm
+%{_mandir}/man3/*
This page took 0.02602 seconds and 4 git commands to generate.