%define oname QOwnNotes %define debug %nil %define debug_package %nil Name: qownnotes Version: 24.12.4 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: qt515 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 #/opt/qt5/5.15/bin/lrelease QOwnNotes.pro /opt/qt5/5.15/bin/qmake %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