diff --git a/formiko-1.3.0.tar.gz b/formiko-1.3.0.tar.gz new file mode 100644 index 0000000..8679947 Binary files /dev/null and b/formiko-1.3.0.tar.gz differ diff --git a/formiko.spec b/formiko.spec new file mode 100644 index 0000000..f31d664 --- /dev/null +++ b/formiko.spec @@ -0,0 +1,42 @@ +Name: formiko +Summary: reStructuredText and MarkDown editor and live previewer +Version: 1.3.0 +Release: 1 +Group: editors +License: BSD +URL: https://github.com/ondratu/formiko +Source0: https://github.com/ondratu/formiko/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildRequires: python3-devel + +%description +Features: + * GtkSourceView based editor with syntax highlighting + * possible use Vim editor + * vertical or horizontal window splitting + * preview mode + * periodic save file + * json and html preview + +%prep +%setup -q + +%build +%py3_build + +%install +%py3_install + +%files +%{_bindir}/%{name} +%{_bindir}/%{name}-vim +%{python3_sitelib}/%{name}* +%{_datadir}/applications/%{name}.desktop +%{_datadir}/applications/%{name}-vim.desktop +%{_datadir}/doc/%{name} +%{_datadir}/%{name} +%{_datadir}/icons/hicolor/*/apps/%{name}.* + +%changelog +* Wed May 24 2023 wangtaozhi - 1.3.0-1 +- Package init diff --git a/formiko.yaml b/formiko.yaml new file mode 100644 index 0000000..becf1d4 --- /dev/null +++ b/formiko.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: https://github.com/ondratu/formiko +tag_prefix: "v" +separator: "."