%define __cmake_in_source_build 1 Name: lxqt-sudo Version: 1.1.0 Release: 2%{?dist} Summary: GUI frontend for sudo/su License: LGPLv2+ URL: http://lxqt.org/ Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: make BuildRequires: %{?fedora:cmake}%{!?fedora:cmake3} >= 3.1.0 BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(lxqt) >= 1.0.0 BuildRequires: kf5-kwindowsystem-devel BuildRequires: qt5-linguist BuildRequires: pkgconfig(glib-2.0) %if 0%{?el7} BuildRequires: devtoolset-7-gcc-c++ %endif Requires: sudo %description %{summary}. %package l10n BuildArch: noarch Summary: Translations for lxqt-sudo Requires: lxqt-sudo %description l10n This package provides translations for the lxqt-sudo package. %prep %autosetup -p1 %build %if 0%{?el7} scl enable devtoolset-7 - <<\EOF %endif %{cmake_lxqt} -DPULL_TRANSLATIONS=NO .. make %{?_smp_mflags} -C %{_vpath_builddir} %if 0%{?el7} EOF %endif %install make install/fast DESTDIR=%{buildroot} -C %{_vpath_builddir} #for desktop in %{buildroot}/%{_datadir}/lxqt/lxqt-panel/*.desktop; do # Exclude category as been Service # desktop-file-edit --remove-category=LXQt --remove-only-show-in=LXQt --add-only-show-in=X-LXQt ${desktop} #done %find_lang lxqt-sudo --with-qt %files %license LICENSE %doc AUTHORS CHANGELOG README.md %{_bindir}/lx* %{_mandir}/man1/lx*.1* %files l10n -f lxqt-sudo.lang %license LICENSE %doc AUTHORS CHANGELOG README.md %dir %{_datadir}/lxqt/translations/%{name} %{_datadir}/lxqt/translations/%{name}/%{name}_ast.qm %{_datadir}/lxqt/translations/%{name}/%{name}_arn.qm %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jul 16 2022 Zamir SUN - 1.1.0-1 - new version * Thu Jan 20 2022 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Sat Dec 25 2021 Zamir SUN - 1.0.0-1 - Update to 1.0.0 * Sat Aug 07 2021 Zamir SUN - 0.17.0-1 - Update to 0.17.0 * Thu Aug 05 2021 Zamir SUN - 0.16.0-4 - Fix FTBFS - Fixes RHBZ#1987701 * Thu Jul 22 2021 Fedora Release Engineering - 0.16.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Nov 23 2020 Zamir SUN - 0.16.0-1 - Update to 0.16.0 * Tue Jul 28 2020 Fedora Release Engineering - 0.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Sun May 03 2020 Zamir SUN - 0.15.0-1 - Update to 0.15.0 * Wed Jan 29 2020 Fedora Release Engineering - 0.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 0.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Apr 15 2019 Zamir SUN - 0.14.1-1 - Update to version 0.14.1 * Wed Feb 13 2019 Zamir SUN - 0.14.0-1 - Prepare for LXQt 0.14.0 * Fri Feb 01 2019 Fedora Release Engineering - 0.13.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Aug 03 2018 Zamir SUN - 0.13.0-1 - Update to version 0.13.0 * Tue Jul 17 2018 Raphael Groner - 0.11.1-9 - add patch for Qt5.11 header * Fri Jul 13 2018 Fedora Release Engineering - 0.11.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.11.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.11.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.11.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Jan 19 2017 Christian Dersch - 0.11.1-3 - rebuilt * Wed Jan 18 2017 Christian Dersch - 0.11.1-2 - moved translations to lxqt-l10n * Sat Jan 07 2017 Christian Dersch - 0.11.1-1 - new version * Mon Sep 26 2016 Helio Chissini de Castro - 0.11.0-1 - New upstream version 0.11.0 * Thu Feb 04 2016 Fedora Release Engineering - 0.10.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jan 14 2016 Helio Chissini de Castro - 0.10.0-4 - Adapt for the new lxqt build that allows usage on epel as well (cmake3) * Thu Jan 14 2016 Raphael Groner - 0.10.0-3 - add BR: cmake, needed explicitly for epel7 * Sat Jan 09 2016 Raphael Groner - 0.10.0-2 - own translations folder * Sun Dec 20 2015 Raphael Groner - 0.10.0-1 - initial