|
|
8976a6d |
%global appname com.github.lainsce.quilter
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
Name: quilter
|
|
|
66bbc1c |
Version: 2.0.0
|
|
|
8976a6d |
Release: 1%{?dist}
|
|
|
e3d3ef7 |
Summary: Focus on your writing
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
# The entire source code is GPLv3+ except:
|
|
|
e3d3ef7 |
# BSD: highlight.js
|
|
|
e3d3ef7 |
# OFL: QuiltMono.ttf
|
|
|
e3d3ef7 |
License: GPLv3+ and BSD and OFL
|
|
|
e3d3ef7 |
URL: https://github.com/lainsce/quilter
|
|
|
8976a6d |
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
BuildRequires: desktop-file-utils
|
|
|
e3d3ef7 |
BuildRequires: intltool
|
|
|
e3d3ef7 |
BuildRequires: libappstream-glib
|
|
|
e3d3ef7 |
BuildRequires: meson
|
|
|
66bbc1c |
BuildRequires: vala
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(granite)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(gtksourceview-3.0)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(gtkspell3-3.0)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(libmarkdown)
|
|
|
e3d3ef7 |
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
|
|
e3d3ef7 |
Requires: fontpackages-filesystem
|
|
|
e3d3ef7 |
Requires: hicolor-icon-theme
|
|
|
e3d3ef7 |
Provides: bundled(highlight.js) = 9.10.0
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%description
|
|
|
e3d3ef7 |
Focus on your writing and write beautiful solid stories with the Focus Mode in
|
|
|
e3d3ef7 |
tow in this Markdown editor.
|
|
|
e3d3ef7 |
|
|
|
66bbc1c |
- Work on a story, one file at a time.
|
|
|
66bbc1c |
- Save your documents anywhere, even on existing files.
|
|
|
66bbc1c |
- Preview your story in the Preview Mode.
|
|
|
66bbc1c |
- Configure whether to have Focus Mode or not.
|
|
|
66bbc1c |
- Configure whether to have Dark Mode or not.
|
|
|
66bbc1c |
- Configure whether to have Sepia Mode or not.
|
|
|
66bbc1c |
- Fullscreen your writing area with F11.
|
|
|
66bbc1c |
- Search anytime with the shortcut Ctrl + F.
|
|
|
66bbc1c |
- Quit anytime with the shortcut Ctrl + Q.
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%prep
|
|
|
8976a6d |
%autosetup -p1
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%build
|
|
|
e3d3ef7 |
%meson
|
|
|
e3d3ef7 |
%meson_build
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%install
|
|
|
e3d3ef7 |
%meson_install
|
|
|
8976a6d |
%find_lang %{appname}
|
|
|
e3d3ef7 |
# Equal to regular and doesnt have HiDPI version for now
|
|
|
e3d3ef7 |
rm -r %{buildroot}%{_datadir}/icons/hicolor/*@2
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%check
|
|
|
66bbc1c |
# Temporary disabled because of regular tiny upstream mistake:
|
|
|
8976a6d |
# '<release> timestamp is in the future'
|
|
|
8976a6d |
# appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{appname}.appdata.xml
|
|
|
8976a6d |
desktop-file-validate %{buildroot}%{_datadir}/applications/%{appname}.desktop
|
|
|
e3d3ef7 |
|
|
|
8976a6d |
%files -f %{appname}.lang
|
|
|
e3d3ef7 |
%license LICENSE
|
|
|
8976a6d |
%doc README.md AUTHORS
|
|
|
8976a6d |
%{_bindir}/%{appname}
|
|
|
8976a6d |
%{_datadir}/%{appname}
|
|
|
8976a6d |
%{_datadir}/applications/%{appname}.desktop
|
|
|
e3d3ef7 |
# Some things might not work as expected because of removed included font
|
|
|
e3d3ef7 |
%{_datadir}/fonts/truetype/quilt
|
|
|
8976a6d |
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
|
|
|
e3d3ef7 |
%{_datadir}/gtksourceview-3.0/styles/*
|
|
|
8976a6d |
%{_datadir}/icons/hicolor/*/*/*
|
|
|
8976a6d |
%{_metainfodir}/%{appname}.appdata.xml
|
|
|
e3d3ef7 |
|
|
|
e3d3ef7 |
%changelog
|
|
|
66bbc1c |
* Wed Aug 28 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 2.0.0-1
|
|
|
66bbc1c |
- Update to 2.0.0
|
|
|
66bbc1c |
|
|
|
8976a6d |
* Wed Jul 31 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.3-1
|
|
|
8976a6d |
- Update to 1.9.3
|
|
|
8976a6d |
|
|
|
460ad0a |
* Wed Jun 05 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.9.0-1.20190605git076ac9e
|
|
|
460ad0a |
- Update to 1.9.0-20190605git076ac9e
|
|
|
460ad0a |
|
|
|
e3d3ef7 |
* Thu Apr 25 2019 Artem Polishchuk <ego.cordatus@gmail.com> - 1.8.4-2.20190425git5c7a1ca
|
|
|
e3d3ef7 |
- Initial package
|