Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37601129
en ru br
ALT Linux repos
S:2.3.1-alt3

Group :: Development/Ruby
RPM: gem-kramdown

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# vim: set ft=spec: -*- rpm-spec -*-
%define        gemname kramdown
%define        _unpackaged_files_terminate_build 1

Name:          gem-kramdown
Version:       2.3.1
Release:       alt3
Summary:       kramdown is a fast, pure Ruby Markdown superset converter
License:       MIT
Group:         Development/Ruby
Url:           http://kramdown.gettalong.org
Vcs:           https://github.com/gettalong/kramdown.git
Packager:      Ruby Maintainers Team <ruby at packages.altlinux.org>
BuildArch:     noarch

Source:        %name-%version.tar
Patch:         alias-fix.patch
Patch1:        stringex-dep.patch
BuildRequires(pre): rpm-build-ruby
BuildRequires: gem(rexml) >= 0
BuildRequires: gem(minitest) >= 5.0 gem(minitest) < 6
BuildRequires: gem(rouge) >= 3.26.0 gem(rouge) < 4
BuildRequires: gem(stringex) >= 1.5.1 gem(stringex) < 3

%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%ruby_use_gem_dependency stringex >= 2.8.5,stringex < 3
Requires:      gem(rexml) >= 0
Requires:      gem(stringex) >= 1.5.1 gem(stringex) < 3
Provides:      gem(kramdown) = 2.3.1


%description
kramdown was originally licensed under the GPL until the 1.0.0 release. However,
due to the many requests it is now released under the MIT license and therefore
can easily be used in commercial projects, too.

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax
definition and supporting several common extensions.

The syntax definition for the kramdown syntax can be found in doc/syntax.page
(or online at http://kramdown.gettalong.org/syntax.html) and a quick reference
is available in doc/quickref.page or online at
http://kramdown.gettalong.org/quickref.html.

The kramdown library is mainly written to support the kramdown-to-HTML
conversion chain. However, due to its flexibility (by creating an internal AST)
it supports other input and output formats as well. Here is a list of the
supported formats:

* input formats: kramdown (a Markdown superset), Markdown, GFM, HTML
* output formats: HTML, kramdown, LaTeX (and therefore PDF), PDF via Prawn

All the documentation on the available input and output formats is available in
the doc/ directory and online at http://kramdown.gettalong.org.

Starting from version 1.0.0 kramdown is using a versioning scheme with major,
minor and patch parts in the version number where the major number changes on
backwards-incompatible changes, the minor number on the introduction of new
features and the patch number on everything else.


%package       -n kramdown
Version:       2.3.1
Release:       alt3
Summary:       kramdown is a fast, pure Ruby Markdown superset converter executable(s)
Summary(ru_RU.UTF-8): Исполнямка для самоцвета kramdown
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(kramdown) = 2.3.1

%description   -n kramdown
kramdown is a fast, pure Ruby Markdown superset converter
executable(s).

kramdown was originally licensed under the GPL until the 1.0.0 release. However,
due to the many requests it is now released under the MIT license and therefore
can easily be used in commercial projects, too.

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax
definition and supporting several common extensions.

The syntax definition for the kramdown syntax can be found in doc/syntax.page
(or online at http://kramdown.gettalong.org/syntax.html) and a quick reference
is available in doc/quickref.page or online at
http://kramdown.gettalong.org/quickref.html.

The kramdown library is mainly written to support the kramdown-to-HTML
conversion chain. However, due to its flexibility (by creating an internal AST)
it supports other input and output formats as well. Here is a list of the
supported formats:

* input formats: kramdown (a Markdown superset), Markdown, GFM, HTML
* output formats: HTML, kramdown, LaTeX (and therefore PDF), PDF via Prawn

All the documentation on the available input and output formats is available in
the doc/ directory and online at http://kramdown.gettalong.org.

Starting from version 1.0.0 kramdown is using a versioning scheme with major,
minor and patch parts in the version number where the major number changes on
backwards-incompatible changes, the minor number on the introduction of new
features and the patch number on everything else.

%description   -n kramdown -l ru_RU.UTF-8
Исполнямка для самоцвета kramdown.


%package       -n gem-kramdown-doc
Version:       2.3.1
Release:       alt3
Summary:       kramdown is a fast, pure Ruby Markdown superset converter documentation files
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета kramdown
Group:         Development/Documentation
BuildArch:     noarch

Requires:      gem(kramdown) = 2.3.1

%description   -n gem-kramdown-doc
kramdown is a fast, pure Ruby Markdown superset converter documentation
files.

kramdown was originally licensed under the GPL until the 1.0.0 release. However,
due to the many requests it is now released under the MIT license and therefore
can easily be used in commercial projects, too.

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax
definition and supporting several common extensions.

The syntax definition for the kramdown syntax can be found in doc/syntax.page
(or online at http://kramdown.gettalong.org/syntax.html) and a quick reference
is available in doc/quickref.page or online at
http://kramdown.gettalong.org/quickref.html.

The kramdown library is mainly written to support the kramdown-to-HTML
conversion chain. However, due to its flexibility (by creating an internal AST)
it supports other input and output formats as well. Here is a list of the
supported formats:

* input formats: kramdown (a Markdown superset), Markdown, GFM, HTML
* output formats: HTML, kramdown, LaTeX (and therefore PDF), PDF via Prawn

All the documentation on the available input and output formats is available in
the doc/ directory and online at http://kramdown.gettalong.org.

Starting from version 1.0.0 kramdown is using a versioning scheme with major,
minor and patch parts in the version number where the major number changes on
backwards-incompatible changes, the minor number on the introduction of new
features and the patch number on everything else.

%description   -n gem-kramdown-doc -l ru_RU.UTF-8
Файлы сведений для самоцвета kramdown.


%package       -n gem-kramdown-devel
Version:       2.3.1
Release:       alt3
Summary:       kramdown is a fast, pure Ruby Markdown superset converter development package
Summary(ru_RU.UTF-8): Файлы для разработки самоцвета kramdown
Group:         Development/Ruby
BuildArch:     noarch

Requires:      gem(kramdown) = 2.3.1
Requires:      gem(minitest) >= 5.0 gem(minitest) < 6
Requires:      gem(rouge) >= 3.26.0 gem(rouge) < 4

%description   -n gem-kramdown-devel
kramdown is a fast, pure Ruby Markdown superset converter development
package.

kramdown was originally licensed under the GPL until the 1.0.0 release. However,
due to the many requests it is now released under the MIT license and therefore
can easily be used in commercial projects, too.

kramdown is a fast, pure Ruby Markdown superset converter, using a strict syntax
definition and supporting several common extensions.

The syntax definition for the kramdown syntax can be found in doc/syntax.page
(or online at http://kramdown.gettalong.org/syntax.html) and a quick reference
is available in doc/quickref.page or online at
http://kramdown.gettalong.org/quickref.html.

The kramdown library is mainly written to support the kramdown-to-HTML
conversion chain. However, due to its flexibility (by creating an internal AST)
it supports other input and output formats as well. Here is a list of the
supported formats:

* input formats: kramdown (a Markdown superset), Markdown, GFM, HTML
* output formats: HTML, kramdown, LaTeX (and therefore PDF), PDF via Prawn

All the documentation on the available input and output formats is available in
the doc/ directory and online at http://kramdown.gettalong.org.

Starting from version 1.0.0 kramdown is using a versioning scheme with major,
minor and patch parts in the version number where the major number changes on
backwards-incompatible changes, the minor number on the introduction of new
features and the patch number on everything else.

%description   -n gem-kramdown-devel -l ru_RU.UTF-8
Файлы для разработки самоцвета kramdown.


%prep
%setup
%patch
%patch1 -p1

%build
%ruby_build

%install
%ruby_install

%check
%ruby_test

%files
%doc README.md
%ruby_gemspec
%ruby_gemlibdir

%files         -n kramdown
%doc README.md
%_bindir/kramdown

%files         -n gem-kramdown-doc
%doc README.md
%ruby_gemdocdir

%files         -n gem-kramdown-devel
%doc README.md


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin