]> git.pld-linux.org Git - packages/perl-Object-MultiType.git/commitdiff
- initial revision
authormigo <migo@pld-linux.org>
Sun, 28 Mar 2004 14:02:08 +0000 (14:02 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Object-MultiType.spec -> 1.1

perl-Object-MultiType.spec [new file with mode: 0644]

diff --git a/perl-Object-MultiType.spec b/perl-Object-MultiType.spec
new file mode 100644 (file)
index 0000000..ec54c66
--- /dev/null
@@ -0,0 +1,51 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Object
+%define        pnam    MultiType
+Summary:       Perl Objects as Hash, Array, Scalar, Code and Glob at the same time
+Name:          perl-Object-MultiType
+Version:       0.04
+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: 5997746d8bbe57c3fa7e581f4fe5ebe7
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module return an object that works like a Hash, Array, Scalar,
+Code and Glob object at the same time.
+
+The usual way is to call it from your module at new():
+
+%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}/Object/MultiType.pm
+%{_mandir}/man3/*
This page took 0.033118 seconds and 4 git commands to generate.