|
|
|
@ -1,9 +1,12 @@
|
|
|
|
|
%global gem_name rdiscount
|
|
|
|
|
|
|
|
|
|
Summary: Fast Implementation of Gruber's Markdown in C
|
|
|
|
|
# update to corresponding system libmarkdown 2.1.8,
|
|
|
|
|
# markdown 2.2 is currently not included in Fedora (May 18 2016)
|
|
|
|
|
|
|
|
|
|
Summary: Converts documents in Markdown syntax to HTML
|
|
|
|
|
Name: rubygem-%{gem_name}
|
|
|
|
|
Version: 2.1.7.1
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 2.1.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Group: Development/Languages
|
|
|
|
|
License: ASL 1.1
|
|
|
|
|
URL: http://github.com/rtomayko/rdiscount
|
|
|
|
@ -22,9 +25,11 @@ Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Description: Discount is an implementation of John Gruber's Markdown markup
|
|
|
|
|
language in C. It implements all of the language described in the markdown
|
|
|
|
|
syntax document and passes the Markdown 1.0 test suite.
|
|
|
|
|
Description: RDiscount converts documents in Markdown syntax to HTML.
|
|
|
|
|
|
|
|
|
|
It uses the excellent Discount processor by David Loren Parsons for this
|
|
|
|
|
purpose, and thereby inherits Discount’s numerous useful extensions to the
|
|
|
|
|
Markdown language.
|
|
|
|
|
|
|
|
|
|
#--
|
|
|
|
|
|
|
|
|
@ -41,7 +46,7 @@ gem spec %{SOURCE0} -l --ruby | sed -e 's|,|,\n|g' > %{gem_name}.gemspec
|
|
|
|
|
sed -i ext/extconf.rb \
|
|
|
|
|
-e '\@check_sizeof@s| == 4|== size|'
|
|
|
|
|
|
|
|
|
|
# Remove files in discount-2.1.7
|
|
|
|
|
# Remove files in discount-2.1.8
|
|
|
|
|
cat >> discount_files<<EOF
|
|
|
|
|
Csio.c
|
|
|
|
|
amalloc.c
|
|
|
|
@ -163,6 +168,10 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed May 18 2016 Gerd Pokorra <gp@zimt.uni-siegen.de> - 2.1.8-1
|
|
|
|
|
- Update to 2.1.8
|
|
|
|
|
- Change summary and description tag
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.7.1-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|