commit 37ef644f15cb306d4d54195a0e97a9ee0faa1672
Author: Marcin Krol <h...@tld-linux.org>
Date:   Sat Mar 10 17:55:47 2018 +0000

    - initial

 perl-Sub-Info.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)
---
diff --git a/perl-Sub-Info.spec b/perl-Sub-Info.spec
new file mode 100644
index 0000000..6252c96
--- /dev/null
+++ b/perl-Sub-Info.spec
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+
+%define        pdir    Sub
+%define        pnam    Info
+%include       /usr/lib/rpm/macros.perl
+Summary:       Sub::Info - Tool for inspecting subroutines
+Summary(pl.UTF-8):     Term::Info - Narzędzie do sprawdzania podprogramów
+Name:          perl-Sub-Info
+Version:       0.002
+Release:       2
+# 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: 335345b534fc0539c894050f7814cbda
+URL:           http://search.cpan.org/dist/Sub-Info/
+BuildRequires: perl-devel
+BuildRequires: rpm-perlprov
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tool to inspect subroutines.
+
+%description -l pl.UTF-8
+Narzędzie do sprawdzania podprogramów.
+
+%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)
+%{perl_vendorlib}/Sub/Info.pm
+%{_mandir}/man3/Sub::Info.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Sub-Info.git/commitdiff/37ef644f15cb306d4d54195a0e97a9ee0faa1672

_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to