SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-App-Dapper rpm build for : openSUSE Leap 42. For other distributions click perl-App-Dapper.

Name : perl-App-Dapper
Version : 0.18 Vendor : obs://build_opensuse_org/home:M0ses
Release : 7.2 Date : 2017-06-06 11:50:02
Group : Development/Libraries/Perl Source RPM : perl-App-Dapper-0.18-7.2.src.rpm
Size : 0.11 MB
Packager : (none)
Summary : Publishing Tool for Static Websites
Description :
Dapper helps you build static websites. To get you started, you can use the
\'dapper init\' command to initialize a directory. After running this
command, the following directory structure will be created:

_config.yml
_layout/
index.html
_source/
index.md

In that same directory, you may then build the site using the \'dapper
build\' command, which will combine the source files and the layout files
and place the results in the output directory (default: \'_output\'). After
you build the default site, you\'ll then have the following directory
structure:

_config.yml
_layout/
index.html
_source/
index.md
_output/
index.html

To see what your website looks like, run the \'dapper serve\' command which
will spin up a development webserver and serve the static files located in
the output directory (default: \'_output\') at http://localhost:8000.

Now, let\'s walk through each file:

* *_config.yml*

The configuration file is a YAML file that specifies key configuration
elements for your static website. The default configuration file is as
follows:

---
name : My Site

If you want to use a separate source, layout, or output directory, you may
specify it in this file. For instance:

---
name : My Site
source : _source
layout : _layout
output : _output

All of the configurations in this file are available in layout templates,
based on the Liquid template system. For instance, \'name\' in the
configuration file may be used in a template as follows:

{{ site.name }}

* *_source/index.md*

A sample markdown file is available in the _source directory. Contents:

---
layout: index
title: Welcome
---

Hello world.

There are a few things to note about this file:

* 1. There is a YAML configuration block at the start of the file.

* 2. The _layout_ configuration specifies which layout to use.

* 3. The \'index\' layout indicates that \'_layout/index.html\' should be
used.

* 4. The \'title\' configuration is the name of the post/page. It is
optional.

* 5. All of the configurations may be used in the corresponding layout
file.

< !-- Example use of \"name\" in a layout file -->
< h1>{{ page.name }}< /h1>

* *_layout/index.html*

Layout files are processed using the Liquid template system. The initial
layout file that is given after you run the \'dapper init\' command, is this:

< !DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
< html>
< head>
< title>{{ page.title }}< /title>
< meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">
< /head>

< body>

{{ page.content }}

< /body>
< /html>

The main content of the text file that is being rendered with this template
is available using \'{{ page.content }}\'.

Definitions specified in the \'_config.yml\' file can be referenced under the
\"site\" namespace (e.g. {{ site.name }}. Definitions specified in the YAML
portion of text files can be referenced under the \"page\" namespace (e.g. {{
page.title }}.

* *_output/index.html*

The output file that is created is a mix of the input file and the layout
that is specified by the input file. For the default site, the following
output file is created:

< !DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
< html>
< head>
< title>Welcome< /title>
< meta http-equiv=\"content-type\" content=\"text/html; charset=iso-8859-1\">
< /head>

< body>

< p>Hello world.< /p>

< /body>
< /html>

*Dapper* provides a number of optional command line switches:

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/home:/M0ses:/Perl/openSUSE_Leap_42.1/noarch

Content of RPM  Provides Requires

Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server

Provides :
perl(App::Dapper)
perl(App::Dapper::Defaults)
perl(App::Dapper::Filters)
perl(App::Dapper::Init)
perl(App::Dapper::Utils)
perl-App-Dapper

Requires :
perl(DateTime::Format::XSD)
perl(Getopt::Mixed)
perl(CGI)
perl(File::Monitor)
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
perl(Text::MultiMarkdown)
perl(Text::Markdown)
perl(DateTime)
rpmlib(CompressedFileNames) <= 3.0.4-1
perl(Template::Alloy)
perl(Template::Constants)
perl(YAML::Tiny)
rpmlib(PayloadIsLzma) <= 4.4.6-1
perl = 5.18.2
perl(HTTP::Server::Brick)
perl(JSON)


Content of RPM :
/usr/bin/dapper
/usr/lib/perl5/vendor_perl/5.18.2/App
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper.pm
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper/Defaults.pm
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper/Filters.pm
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper/Init.pm
/usr/lib/perl5/vendor_perl/5.18.2/App/Dapper/Utils.pm
/usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi
/usr/share/doc/packages/perl-App-Dapper
/usr/share/doc/packages/perl-App-Dapper/Changes
/usr/share/doc/packages/perl-App-Dapper/README.md
/usr/share/man/man1/dapper.1.gz
/usr/share/man/man3/App::Dapper.3pm.gz
/usr/share/man/man3/App::Dapper::Defaults.3pm.gz
/usr/share/man/man3/App::Dapper::Filters.3pm.gz
/usr/share/man/man3/App::Dapper::Init.3pm.gz
/usr/share/man/man3/App::Dapper::Utils.3pm.gz

 
ICM