summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2025-08-31 17:04:57 +0000
committerCoprDistGit <infra@openeuler.org>2025-08-31 17:04:57 +0000
commitd257cb1c3d9428d231a1343e6f7559ea2046c406 (patch)
treee649439ba620c46de3813f638f14b178e707e61d
parent1fb35d746b909baf581868ad39f0fb0ce0ac27cd (diff)
automatic import of feathernotesopeneuler24.03_LTS_SP2
-rw-r--r--.gitignore1
-rw-r--r--feathernotes.spec64
-rw-r--r--sources1
3 files changed, 66 insertions, 0 deletions
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 <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
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