Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:languages:perl:CPAN-P
perl-Perl6-Perldoc
perl-Perl6-Perldoc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Perl6-Perldoc.spec of Package perl-Perl6-Perldoc
# # spec file for package perl-Perl6-Perldoc # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Perl6-Perldoc Version: 0.000013 Release: 0 %define cpan_name Perl6-Perldoc Summary: Use Perl 6 documentation in a Perl 5 program License: GPL-1.0+ or Artistic-1.0 Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Perl6-Perldoc/ Source0: http://www.cpan.org/authors/id/D/DC/DCONWAY/%{cpan_name}-%{version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(Module::Build) BuildRequires: perl(version) Requires: perl(version) %{perl_requires} %description This module preprocesses your code from the point at which the module is first used, stripping out any Perl 6 documentation (as specified in Synopsis 26). This means that, so long as your program starts with: use Perl6::Perldoc; you can document it using the new Pod mark-up notation and it will still run correctly under the Perl 5 interpreter. In addition, the module detects any '=DATA' sections in the stripped documentation and makes them available to your program in three ways: * * As a single concatentated string, in the '$DATA' package variable * * As a sequence of strings (one per '=DATA' block) in the '@DATA' package variable * * As a single concatenated input stream in the '*DATA' filehandle. %prep %setup -q -n %{cpan_name}-%{version} find . -type f -print0 | xargs -0 chmod 644 %build %{__perl} Build.PL installdirs=vendor ./Build build flags=%{?_smp_mflags} %check ./Build test %install ./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes make_tests README S26.html S26.pod6 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor