commit 1a9b38d5d5e95b88e62218077769282b8ffcdb3d Author: Sergey Zhemoytel Date: Thu Oct 19 15:05:19 2023 +0300 Imported from SRPM diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..f53bddd --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + qownnotes-23.10.1.tar.xz: c3efc1fd9ad24168225695eca629560413fdf6ad diff --git a/qownnotes.spec b/qownnotes.spec new file mode 100644 index 0000000..65bbe0a --- /dev/null +++ b/qownnotes.spec @@ -0,0 +1,57 @@ +%define oname QOwnNotes +%define debug %nil +%define debug_package %nil + +Name: qownnotes +Version: 23.10.1 +Release: 1 +Summary: A notepad and todo-list manager with markdown support and cloud integration +URL: https://www.qownnotes.org +Source0: https://github.com/pbek/QOwnNotes/releases/download/v%{version}/%{name}-%{version}.tar.xz +License: GPLv2 +Group: Office +BuildRequires: xz +BuildRequires: qt5-linguist-tools +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Gui) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5Sql) +BuildRequires: pkgconfig(Qt5Xml) +BuildRequires: pkgconfig(Qt5PrintSupport) +BuildRequires: pkgconfig(Qt5Concurrent) +BuildRequires: pkgconfig(Qt5WebSockets) +BuildRequires: pkgconfig(Qt5X11Extras) +BuildRequires: pkgconfig(Qt5Qml) +BuildRequires: pkgconfig(Qt5Network) +BuildRequires: pkgconfig(libdrm) + +%description +QOwnNotes is the open source notepad with markdown support +and todo list manager for GNU/Linux, macOS and Windows, +that works together with Nextcloud Notes and ownCloud Notes. + +%prep +%setup -q + +%build +lrelease-qt5 QOwnNotes.pro +qmake-qt5 +%make + +%install +%makeinstall INSTALL_ROOT=%{buildroot} + +%find_lang %{oname} --with-qt + +%files -f %{oname}.lang +%doc README.md LICENSE +%{_bindir}/%{oname} +%{_datadir}/applications/*.desktop +%{_iconsdir}/hicolor/*/apps/*.png +%{_iconsdir}/hicolor/scalable/apps/*.svg +# не попадает в find_lang +%{_datadir}/qt5/translations/QOwnNotes_ceb.qm +%{_datadir}/qt5/translations/QOwnNotes_fil.qm +%{_datadir}/qt5/translations/QOwnNotes_hil.qm + +