1 |
daviddavid |
1657142 |
# |
2 |
|
|
# Please do not update/rebuild/touch this package before asking first |
3 |
|
|
# to mikala and/or neoclust and/or daviddavid |
4 |
|
|
# This package is part of the KDE Stack. |
5 |
|
|
# |
6 |
|
|
|
7 |
|
|
%define rel 1 |
8 |
|
|
|
9 |
|
|
Name: markdownpart |
10 |
neoclust |
1698408 |
Version: 20.12.3 |
11 |
daviddavid |
1657142 |
Release: %mkrel %{rel} |
12 |
|
|
Summary: KPart for rendering Markdown content |
13 |
|
|
Group: Graphical desktop/KDE |
14 |
|
|
License: GPLv2+ |
15 |
|
|
Url: https://kde.org/ |
16 |
|
|
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz |
17 |
|
|
|
18 |
|
|
BuildRequires: kf5-macros |
19 |
|
|
|
20 |
|
|
BuildRequires: cmake(Qt5Widgets) |
21 |
|
|
BuildRequires: cmake(KF5I18n) |
22 |
|
|
BuildRequires: cmake(KF5Parts) |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
A(nother) Markdown viewer KParts plugin, which allows |
26 |
|
|
KParts-using applications to display files in |
27 |
|
|
Markdown format in the rendered target format. |
28 |
|
|
Examples are Ark, Krusader, Kate's preview plugin & Konqueror. |
29 |
|
|
|
30 |
|
|
%files -f %{name}.lang |
31 |
|
|
%{_kf5_plugindir}/parts/markdownpart.so |
32 |
|
|
%{_kf5_services}/markdownpart.desktop |
33 |
|
|
%{_kf5_metainfodir}/org.kde.markdownpart.metainfo.xml |
34 |
|
|
|
35 |
|
|
#------------------------------------------------------------------------- |
36 |
|
|
|
37 |
|
|
%prep |
38 |
|
|
%autosetup -p1 |
39 |
|
|
|
40 |
|
|
%build |
41 |
|
|
%cmake_kf5 |
42 |
|
|
%cmake_build |
43 |
|
|
|
44 |
|
|
%install |
45 |
|
|
%cmake_install |
46 |
|
|
|
47 |
|
|
%find_lang %{name} --with-html |