]> git.pld-linux.org Git - packages/perl-Class-Std.git/commitdiff
- new packages by Ilja Bobkevič <ilja.bobkevic at delfi.lt> auto/th/perl-Class-Std-0_0_9-1
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 12 May 2008 10:54:00 +0000 (10:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-Std.spec -> 1.1

perl-Class-Std.spec [new file with mode: 0644]

diff --git a/perl-Class-Std.spec b/perl-Class-Std.spec
new file mode 100644 (file)
index 0000000..82f86a1
--- /dev/null
@@ -0,0 +1,49 @@
+#
+# Conditional build:
+%bcond_without tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Class
+%define        pnam    Std
+Summary:       Class::Std - Support for creating standard "inside-out" classes
+Name:          perl-Class-Std
+Version:       0.0.9
+Release:       1
+License:       GPL
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 376e009ce786d7f1887b212d6582e63f
+BuildRequires: perl-modules >= 1:5.8.8
+BuildRequires: perl-version >= 0.44
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides tools that help to implement the "inside out
+object" class structure in a convenient and standard way.
+
+%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}/Class/*.pm
+%{_mandir}/man3/*
This page took 0.073555 seconds and 4 git commands to generate.