From f6e39e939f5491e4a95fb8c9c585fd4893cedd96 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 31 Aug 2025 17:09:57 +0000 Subject: automatic import of feathernotes --- .gitignore | 1 + feathernotes.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 66 insertions(+) create mode 100644 feathernotes.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..7daedb8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/FeatherNotes-1.3.2.tar.xz diff --git a/feathernotes.spec b/feathernotes.spec new file mode 100644 index 0000000..a0c37a7 --- /dev/null +++ b/feathernotes.spec @@ -0,0 +1,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 - 1.3.2-1 +- update to 1.3.2 + +* Tue Nov 19 2024 Funda Wang - 1.1.0-2 +- adopt to new cmake macro + +* Wed May 24 2023 wangtaozhi - 1.1.0-1 +- Package init diff --git a/sources b/sources new file mode 100644 index 0000000..76cd963 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +1af68821c54fdc228cbb10d8da31a49b FeatherNotes-1.3.2.tar.xz -- cgit v1.2.3