blob: a0c37a741b7146f5a886a886a1527c38a9b1e192 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
%global github_name FeatherNotes
Name: feathernotes
Version: 1.3.2
Release: 1
Summary: Lightweight Qt hierarchical notes-manager for Linux
License: GPL-3.0-or-later
URL: https://github.com/tsujan/%{github_name}
Source0: %{url}/releases/download/V%{version}/%{github_name}-%{version}.tar.xz
BuildRequires: cmake >= 3.10.0
BuildRequires: make gcc-c++
BuildRequires: cmake(Qt6Core) >= 6.3.0
BuildRequires: cmake(Qt6Gui) >= 6.3.0
BuildRequires: cmake(Qt6Widgets) >= 6.3.0
BuildRequires: cmake(Qt6Svg) >= 6.3.0
BuildRequires: cmake(Qt6Xml) >= 6.3.0
BuildRequires: cmake(Qt6Network) >= 6.3.0
BuildRequires: cmake(Qt6PrintSupport) >= 6.3.0
BuildRequires: cmake(Qt6DBus) >= 6.3.0
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: pkgconfig(hunspell) >= 1.6
BuildRequires: /usr/bin/desktop-file-validate
%description
Lightweight Qt hierarchical notes-manager for Linux
%prep
%autosetup -n %{github_name}-%{version} -p 1
%build
%cmake \
-DWITH_HUNSPELL:BOOL=ON
%cmake_build
%install
%cmake_install
%find_lang %{name} --with-qt
%check
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%license COPYING
%doc ChangeLog INSTALL NEWS README.md
%{_bindir}/*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/text-%{name}-fnx.svg
%{_datadir}/mime/packages/%{name}.xml
%{_metainfodir}/%{name}.metainfo.xml
%changelog
* Mon Sep 01 2025 Funda Wang <fundawang@yeah.net> - 1.3.2-1
- update to 1.3.2
* Tue Nov 19 2024 Funda Wang <fundawang@yeah.net> - 1.1.0-2
- adopt to new cmake macro
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 1.1.0-1
- Package init
|