[packages/perl-Pod-POM-View-Restructured] - new

adamg adamg at pld-linux.org
Tue Dec 11 10:50:12 CET 2018


commit 43ee2ef5242b1c106847eb0a0fc374dcdd23c9a0
Author: Adam Gołębiowski <adamg at pld-linux.org>
Date:   Tue Dec 11 10:49:53 2018 +0100

    - new

 perl-Pod-POM-View-Restructured.spec | 64 +++++++++++++++++++++++++++++++++++++
 1 file changed, 64 insertions(+)
---
diff --git a/perl-Pod-POM-View-Restructured.spec b/perl-Pod-POM-View-Restructured.spec
new file mode 100644
index 0000000..2c3a3df
--- /dev/null
+++ b/perl-Pod-POM-View-Restructured.spec
@@ -0,0 +1,64 @@
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%define		pdir	Pod
+%define		pnam	POM-View-Restructured
+%include	/usr/lib/rpm/macros.perl
+Summary:	Pod::POM::View::Restructured - View for Pod::POM that outputs reStructuredText
+Name:		perl-Pod-POM-View-Restructured
+Version:	1.000002
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/Pod/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	638084b3c8df3361d523a6f50bf58db9
+URL:		https://metacpan.org/release/Pod-POM-View-Restructured/
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl-Pod-POM
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module outputs reStructuredText that is expected to be used with
+Sphinx. Verbatim sections (indented paragraphs) in the POD will be
+output with syntax highlighting for Perl code by default. See /"POD
+commands specifically for reStructuredText" for how to change this for
+a particular block.
+
+For a list of changes in recent versions, see the documentation for
+Pod::POM::View::Restructured::Changes.
+
+This module can be downloaded from
+http://www.cpan.org/authors/id/D/DO/DOWENS/.
+
+%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 ChangeLog INSTALL README
+%attr(755,root,root) %{_bindir}/pod2rst
+%{perl_vendorlib}/Pod/POM/View/*.pm
+%{_mandir}/man1/pod2rst.1p*
+%{_mandir}/man3/Pod::POM::View::Restructured.3pm*
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Pod-POM-View-Restructured.git/commitdiff/43ee2ef5242b1c106847eb0a0fc374dcdd23c9a0



More information about the pld-cvs-commit mailing list