]> git.pld-linux.org Git - packages/perl-Class-Inspector.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 8 Aug 2004 14:47:35 +0000 (14:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Class-Inspector.spec -> 1.1

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

diff --git a/perl-Class-Inspector.spec b/perl-Class-Inspector.spec
new file mode 100644 (file)
index 0000000..d751625
--- /dev/null
@@ -0,0 +1,63 @@
+#
+# Conditional build:
+%bcond_without  tests           # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Class
+%define        pnam    Inspector
+Summary:       Class::Inspector - Provides information about classes
+Summary(pl):   Class::Inspector - Dostarcza informacji o klasach
+Name:          perl-Class-Inspector
+Version:       1.06
+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: 55392a383dc820b9052a058c9bc0c750
+URL:           http://search.cpan.org/dist/Class-Imspector/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(File::Spec) >= 0.82
+BuildRequires: perl(Test::More)
+%endif
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Class::Inspector allows you to get information about a loaded class.
+Most or all of this information can be found in other ways, but they
+arn't always very friendly, and usually involve a relatively high
+level of Perl wizardry, or strange and unusual looking code.
+Class::Inspector attempts to provide an easier, more friendly
+interface to this information.
+
+# %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}/Class/*.pm
+%{_mandir}/man3/*
This page took 0.035426 seconds and 4 git commands to generate.