forked from pool/MultiMarkdown-6
osc copypac from project:Publishing package:MultiMarkdown-5 revision:11, using expand
OBS-URL: https://build.opensuse.org/package/show/Publishing/MultiMarkdown-6?expand=0&rev=1
This commit is contained in:
commit
3238c814b6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
MultiMarkdown-5-5.4.0.tar.xz
Normal file
3
MultiMarkdown-5-5.4.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:96db04343872030527b9f306c468b46df12588eded9d95f549d381fffd7966bd
|
||||
size 524936
|
68
MultiMarkdown-5.changes
Normal file
68
MultiMarkdown-5.changes
Normal file
@ -0,0 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 22 14:10:24 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Enable tests
|
||||
- Update alernatives handling according to current guidelines
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 28 13:30:26 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Fix typo and add more comments
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 18 06:55:11 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Use update alternatives to allow parallel installation with discount
|
||||
- Avoid conflict with mtools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 16 08:18:28 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to version 5.4.0:
|
||||
* Improve accuracy and performance of strong/emph
|
||||
* CHANGED: Update greg
|
||||
* 5.3.0
|
||||
* CHANGED: Update README
|
||||
* ADDED: Move static library options to separate make target
|
||||
* FIXED: Fix crash with empty table label
|
||||
* ADDED: Add email address to cpack settings (addresses #31)
|
||||
* CHANGED: Increase list of syntax structures that are evaluated for abbreviations (Thanks, David!)
|
||||
* FIXED: Avoids problem mentioned on github (#30), but doesn't actually solve it. Any help appreciated!
|
||||
* version bump 5.4.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 09 16:58:27 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to version 5.3.0:
|
||||
* FIXED: Don't allow math spans inside strong/emph
|
||||
* FIXED: Fix slow parsing of complex strong/emph (Fixes #18)
|
||||
* CHANGED: Update test suite
|
||||
* FIXED: Improve performance; FIXED: Fix additional edge case in emph/strong parser
|
||||
* Improve accuracy and performance of strong/emph
|
||||
* CHANGED: Update greg
|
||||
* 5.3.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 06 19:28:15 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Fix building on linux (needs static glibc and -D_GNU_SOURCE)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 01 10:57:35 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Update to version 5.2.0:
|
||||
* ADDED: Add support for 'HTML FOOTER' metadata -- appended at very end of HTML documents (after footnotes)
|
||||
* CHANGED: Update documentation for HTML Footer metadata
|
||||
* CHANGED: Update Math test suite
|
||||
* FIXED: Improve accuracy of strong/emph parsing; CHANGED: Allow nested strong/emph spans (though effect of output is not defined for all formats)
|
||||
* ADDED: Add additional test cases
|
||||
* CHANGED: recursive support for CriticMarkup syntax (e.g. an addition can be included inside a substitution).
|
||||
* FIXED: Remove debugging statement in recent CriticMarkup changes
|
||||
* CHANGED: Update test suite
|
||||
* Version bump 5.2.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun May 1 10:42:27 UTC 2016 - mpluskal@suse.com
|
||||
|
||||
- Initial package
|
||||
|
92
MultiMarkdown-5.spec
Normal file
92
MultiMarkdown-5.spec
Normal file
@ -0,0 +1,92 @@
|
||||
#
|
||||
# spec file for package MultiMarkdown-5
|
||||
#
|
||||
# Copyright (c) 2017 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: MultiMarkdown-5
|
||||
Version: 5.4.0
|
||||
Release: 0
|
||||
Summary: Reference implementation of MultiMarkdown
|
||||
License: MIT
|
||||
Group: Productivity/Publishing/Other
|
||||
Url: http://fletcherpenney.net/multimarkdown
|
||||
# We have to use tarball generated via _service as released ones are
|
||||
# missing submodules that are necessary for building
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: xz
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
MultiMarkdown is a derivative of Markdown that adds new syntax features,
|
||||
such as footnotes, tables, and metadata. Additionally, it offers mechanisms
|
||||
to convert plain text into LaTeX in addition to HTML.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags} -fPIE -D_GNU_SOURCE"
|
||||
export CXXLAGS="%{optflags} -fPIE -D_GNU_SOURCE"
|
||||
# Build will fail when this file is not present - build system will try to
|
||||
# generate this file using MultiMarkdown which is not yet built
|
||||
install -D /dev/null build/README.html
|
||||
make %{?_smp_mflags} XFLAGS="%{optflags}" -C submodules/greg
|
||||
%cmake
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
# Avoid conflict with mtools
|
||||
mv %{buildroot}%{_bindir}/mmd %{buildroot}%{_bindir}/%{name}-mmd
|
||||
# multimarkdown is provided by other packages thus we use
|
||||
# update-alternatives
|
||||
mv %{buildroot}%{_bindir}/markdown %{buildroot}%{_bindir}/%{name}-markdown
|
||||
install -d %{buildroot}%{_sysconfdir}/alternatives
|
||||
touch %{buildroot}%{_sysconfdir}/alternatives/markdown
|
||||
ln -sf %{_sysconfdir}/alternatives/markdown %{buildroot}%{_bindir}/markdown
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%post
|
||||
update-alternatives \
|
||||
--install %{_bindir}/markdown markdown %{_bindir}/%{name}-markdown 30
|
||||
|
||||
%postun
|
||||
if [ ! -f %{_bindir}/%{name}-markdown ] ; then
|
||||
update-alternatives --remove markdown %{_bindir}/%{name}-markdown
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE.txt README.md CHANGELOG.md
|
||||
%ghost %{_sysconfdir}/alternatives/markdown
|
||||
%{_bindir}/markdown
|
||||
%{_bindir}/%{name}-markdown
|
||||
%{_bindir}/%{name}-mmd
|
||||
%{_bindir}/mmd2all
|
||||
%{_bindir}/mmd2odf
|
||||
%{_bindir}/mmd2opml
|
||||
%{_bindir}/mmd2pdf
|
||||
%{_bindir}/mmd2rtf
|
||||
%{_bindir}/mmd2tex
|
||||
%{_bindir}/multimarkdown
|
||||
|
||||
%changelog
|
15
_service
Normal file
15
_service
Normal file
@ -0,0 +1,15 @@
|
||||
<services>
|
||||
<service mode="disabled" name="tar_scm">
|
||||
<param name="url">https://github.com/fletcher/MultiMarkdown-5.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="filename">MultiMarkdown-5</param>
|
||||
<param name="versionformat">5.4.0</param>
|
||||
<param name="revision">5.4.0</param>
|
||||
</service>
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
</services>
|
Loading…
Reference in New Issue
Block a user