%define __cmake_in_source_build 1 %define _enable_debug_packages 0 %global debug_package %{nil} Name: qtxdg-tools Summary: User tools for libqtxdg Version: 3.12.0 Release: 3%{?dist} License: LGPL-2.0-or-later URL: https://lxqt-project.org/ Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: cmake BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.0 BuildRequires: pkgconfig(Qt5Xdg) BuildRequires: pkgconfig(lxqt) >= 0.12.0 BuildRequires: pkgconfig(glib-2.0) BuildRequires: gcc-c++ Requires: cmake-filesystem %description %{summary}. %prep %setup -q %build cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DBUNDLE_XDG_UTILS=NO -DPULL_TRANSLATIONS=NO make %{?_smp_mflags} -C %{_vpath_builddir} %install make install/fast DESTDIR=%{buildroot} -C %{_vpath_builddir} %files %{_bindir}/qtxdg-mat %{_datadir}/cmake/qtxdg-tools/ %changelog * Fri Jan 26 2024 Fedora Release Engineering - 3.12.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 3.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Dec 24 2023 Zamir SUN - 3.12.0-1 - Update version to 3.12.0 * Fri Jul 28 2023 Zamir SUN - 3.11.0-1 - Update version to 3.11.0 * Fri Jul 21 2023 Fedora Release Engineering - 3.10.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 3.10.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Nov 29 2022 Zamir SUN - 3.10.0-1 - Initial version