[packages/perl-Devel-OverloadInfo] - initial
arekm
arekm at pld-linux.org
Sat Feb 28 13:53:59 CET 2015
commit 30e410abc6c32c7d32916fe02e4e15dfc83a7180
Author: Arkadiusz MiĆkiewicz <arekm at maven.pl>
Date: Sat Feb 28 13:53:46 2015 +0100
- initial
perl-Devel-OverloadInfo.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
---
diff --git a/perl-Devel-OverloadInfo.spec b/perl-Devel-OverloadInfo.spec
new file mode 100644
index 0000000..e63d193
--- /dev/null
+++ b/perl-Devel-OverloadInfo.spec
@@ -0,0 +1,57 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%define pdir Devel
+%define pnam OverloadInfo
+%include /usr/lib/rpm/macros.perl
+Summary: Devel::OverloadInfo - introspect overloaded operators
+Name: perl-Devel-OverloadInfo
+Version: 0.002
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/Devel/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: bff186962739cd63d303061f2da038b1
+URL: http://search.cpan.org/dist/Devel-OverloadInfo/
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-MRO-Compat
+BuildRequires: perl-Package-Stash >= 0.14
+BuildRequires: perl-Sub-Identify
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Devel::OverloadInfo returns information about overloaded operators for
+a given class (or object), including where in the inheritance
+hierarchy the overloads are declared and where the code implementing
+it is.
+
+%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} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Devel/OverloadInfo.pm
+%{_mandir}/man3/*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Devel-OverloadInfo.git/commitdiff/30e410abc6c32c7d32916fe02e4e15dfc83a7180
More information about the pld-cvs-commit
mailing list