]> git.pld-linux.org Git - packages/perl-Config-Auto.git/commitdiff
- initial revision, vague description
authormigo <migo@pld-linux.org>
Thu, 4 Mar 2004 10:47:53 +0000 (10:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Config-Auto.spec -> 1.1

perl-Config-Auto.spec [new file with mode: 0644]

diff --git a/perl-Config-Auto.spec b/perl-Config-Auto.spec
new file mode 100644 (file)
index 0000000..af13e70
--- /dev/null
@@ -0,0 +1,48 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Config
+%define        pnam    Auto
+Summary:       Config::Auto - Magical config file parser
+Name:          perl-Config-Auto
+Version:       0.06
+Release:       1
+# Same as Perl
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 56a8329ac9095a86c6b754571a4317ea
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Magical config file parser
+
+%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/Auto.pm
+%{_mandir}/man3/*
This page took 0.107159 seconds and 4 git commands to generate.