%define __cmake_in_source_build 1 %bcond_with clang Name: libqtxdg Summary: QtXdg, a Qt5 implementation of XDG standards Version: 3.12.0 Release: 1%{?dist} License: LGPLv2+ URL: http://lxqt.org Source0: https://github.com/lxqt/libqtxdg/archive/%{version}/%{name}-%{version}.tar.xz %if %{with clang} BuildRequires: clang >= 5.0 %else BuildRequires: gcc-c++ %endif BuildRequires: cmake BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Xml) BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Svg) BuildRequires: qt5-qtbase-private-devel %{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}} BuildRequires: file-devel BuildRequires: lxqt-build-tools >= 0.13.0 Requires: xdg-user-dirs Requires: xdg-utils Obsoletes: libqtxdg-qt5 <= 1.1.0 %description %{summary}. %package devel Summary: Qt - development files for qtxdg Obsoletes: libqtxdg-qt5-devel <= 1.1.0 Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files used for developing and building software that uses qtxdg. #%package -n qtxdg-tools #Summary: Tools for QtXdg #Group: System/X11/Utilites #%description -n qtxdg-tools #Tools for QtXdg %prep %autosetup -p1 %{__mkdir} -p %{_target_platform} %build %if %{with clang} export CC=clang export CXX=clang++ %endif cd %{_target_platform} %cmake -DPULL_TRANSLATIONS=NO ../ %cmake_build %install cd %{_target_platform} %cmake_install %ldconfig_scriptlets %files %doc AUTHORS %license COPYING %{_libdir}/libQt5Xdg.so.3* %{_libdir}/libQt5XdgIconLoader.so.3* %{_sysconfdir}/xdg/lxqt-qtxdg.conf %{_sysconfdir}/xdg/qtxdg.conf %files devel %{_libdir}/libQt5Xdg.so %{_libdir}/libQt5XdgIconLoader.so %{_libdir}/pkgconfig/Qt5Xdg.pc %{_libdir}/pkgconfig/Qt5XdgIconLoader.pc %{_includedir}/qt5xdg/ %{_includedir}/qt5xdgiconloader/ %{_datadir}/cmake/qt5xdg/ %{_datadir}/cmake/qt5xdgiconloader/ %{_qt5_archdatadir}/plugins/iconengines/libQt5XdgIconPlugin.so #%files -n qtxdg-tools #%{_bindir}/qtxdg-mat %changelog * Thu May 18 2023 Raven - 3.12.0-1 - update to 3.12.0 * Thu May 18 2023 Raven - 3.11.0-1 - update to 3.11.0 * Fri Nov 11 2022 Raven - 3.10.0-1 - update to 3.10.0 * Mon Nov 08 2021 Raven - 3.8.0-1 - update to 3.8.0 - drop RHEL7 support * Tue Jan 26 2021 Raven - 3.6.0-1 - update to 3.6.0 * Tue Jun 16 2020 Raven - 3.5.0-1 - update to 3.5.0 * Wed Jan 29 2020 Fedora Release Engineering - 3.3.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Dec 09 2019 Jan Grulich - 3.3.1-7 - rebuild (qt5) * Wed Sep 25 2019 Jan Grulich - 3.3.1-6 - rebuild (qt5) * Fri Sep 20 2019 Zamir SUN - 3.3.1-5 - Modify to improve compatibility with epel7 * Thu Jul 25 2019 Fedora Release Engineering - 3.3.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Jun 17 2019 Jan Grulich - 3.3.1-3 - rebuild (qt5) * Wed Jun 05 2019 Jan Grulich - 3.3.1-2 - rebuild (qt5) * Mon Apr 15 2019 Zamir SUN - 3.3.1-1 - Update to 3.3.1 * Sun Mar 03 2019 Rex Dieter - 3.3.0-2 - rebuild (Qt5) * Tue Feb 12 2019 Zamir SUN - 3.3.0-1 - Prepare for LXQt 0.14.0 * Fri Feb 01 2019 Fedora Release Engineering - 3.2.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Dec 13 2018 Rex Dieter - 3.2.0-3 - rebuild (qt5) * Fri Sep 21 2018 Jan Grulich - 3.2.0-2 - rebuild (qt5) * Fri Aug 03 2018 Zamir SUN - 3.2.0-1 - Update to 3.2.0 * Fri Jul 13 2018 Fedora Release Engineering - 2.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 21 2018 Rex Dieter - 2.0.0-14 - rebuild (qt5) * Sun May 27 2018 Rex Dieter - 2.0.0-13 - rebuild (qt5) * Wed Mar 07 2018 Rex Dieter - 2.0.0-12 - .spec cleanup, BR: gcc-c++, use %%license %%make_build * Wed Feb 14 2018 Jan Grulich - 2.0.0-11 - rebuild (qt5) * Wed Feb 07 2018 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Dec 20 2017 Jan Grulich - 2.0.0-9 - rebuild (qt5) * Sun Nov 26 2017 Rex Dieter - 2.0.0-8 - rebuild (qt5) * Thu Oct 19 2017 Christian Dersch - 2.0.0-7 - rebuilt * Wed Oct 11 2017 Rex Dieter - 2.0.0-6 - BR: qt5-qtbase-private-devel * Thu Aug 03 2017 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Sep 26 2016 Helio Chissini de Castro - 2.0.0-2 - Add proper dependencies to xdg-utils and xdg-user-dirs * Sun Sep 25 2016 Helio Chissini de Castro - * Sun Sep 25 2016 Helio Chissini de Castro - 2.0.0-1 - New upstream release tied to lxqt 0.11 * Thu Feb 04 2016 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Dec 08 2015 Helio Chissini de Castro - 1.3.0-2 - Prepare to use new cmake3 package from epel * Mon Nov 02 2015 Helio Chissini de Castro - 1.3.0-1 - New upstream release - No more Qt4 releases * Wed Jun 17 2015 Fedora Release Engineering - 1.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Apr 12 2015 Helio Chissini de Castro - 1.2.0-1 - New upstream version * Wed Feb 18 2015 Helio Chissini de Castro - 1.1.0-4 - Rebuild (gcc5) * Thu Feb 12 2015 Helio Chissini de Castro - 1.1.0-3 - Restore Qt4 due to maintenance of RazorQt * Wed Feb 11 2015 Helio Chissini de Castro - 1.1.0-2 - Upstream patch for qiconfix * Mon Feb 09 2015 Helio Chissini de Castro - 1.1.0-1 - New upstream version 1.1.0 - Only Qt5 now * Thu Oct 16 2014 Rex Dieter - 1.0.0-1 - libqtxdg-1.0.0, soname bump (#1147204) * Thu Oct 02 2014 Rex Dieter - 0.5.3-4 - Provide qt4 support (#1147204) - rename libqtxdg-qt4 -> libqtxdg, libqtxdg-qt4-devel -> libqtxdg to ease/simplify upgrade path - use %%find_lang for translations - -devel: drop cmake dep * Sun Aug 17 2014 Fedora Release Engineering - 0.5.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Lubomir Rintel - 0.5.3-1 - Update to a later upstream release * Tue Dec 03 2013 Lubomir Rintel - 0.5.0-1 - Initial packaging