## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global repo dde-polkit-agent Name: deepin-polkit-agent Version: 6.0.7 Release: %autorelease Summary: Deepin Polkit Agent License: GPL-3.0-or-later URL: https://github.com/linuxdeepin/dde-polkit-agent Source0: %{url}/archive/%{version}/%{repo}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(DtkWidget) BuildRequires: cmake(DtkCore) BuildRequires: cmake(DtkTools) BuildRequires: cmake(Qt5Core) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5DBus) BuildRequires: cmake(Qt5Concurrent) # lrelease-qt5 BuildRequires: qt5-linguist BuildRequires: pkgconfig(polkit-qt5-1) %description DDE Polkit Agent is the polkit agent used in Deepin Desktop Environment. %package devel Summary: Development package for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Header files and libraries for %{name}. %prep %autosetup -p1 -n %{repo}-%{version} sed -i 's|lrelease|lrelease-qt5|' translate_generation.sh sed -i 's|qdbusxml2cpp|qdbusxml2cpp-qt5|' CMakeLists.txt %build %cmake %cmake_build %install %cmake_install %find_lang %{repo} --with-qt rm %{buildroot}%{_datadir}/dde-polkit-agent/translations/dde-polkit-agent.qm %files -f %{repo}.lang %doc README.md %license LICENSE %dir %{_prefix}/lib/polkit-1-dde %{_prefix}/lib/polkit-1-dde/dde-polkit-agent %files devel %{_includedir}/dpa/ %changelog ## START: Generated by rpmautospec * Tue Aug 13 2024 Felix Wang - 6.0.7-2 - fix dde-polkit-agent install location * Sat Aug 10 2024 Felix Wang - 6.0.7-1 - 6.0.7 * Wed Jul 17 2024 Fedora Release Engineering - 5.4.17-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Wed Jan 24 2024 Fedora Release Engineering - 5.4.17-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 5.4.17-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 19 2023 Robin Lee - 5.4.17-1 - New release 5.4.17 * Wed Jul 19 2023 Fedora Release Engineering - 5.4.14-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 5.4.14-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jul 21 2022 Fedora Release Engineering - 5.4.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 5.4.14-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Jan 05 2022 Robin Lee - 5.4.14-1 - New release 5.4.14 * Mon Sep 06 2021 Robin Lee - 5.4.12-1 - New release 5.4.12 * Wed Jul 21 2021 Fedora Release Engineering - 5.3.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 5.3.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 29 2020 Robin Lee - 5.3.0.2-1 - new upstream release: 5.3.0.2 * Mon Jul 27 2020 Fedora Release Engineering - 5.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 5.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Aug 05 2019 Robin Lee - 5.0.0-1 - Release 5.0.0 * Wed Jul 24 2019 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 mosquito - 0.2.4-1 - Update to 0.2.4 * Thu Jan 31 2019 Fedora Release Engineering - 0.2.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Mon Nov 12 2018 mosquito - 0.2.1-2 - Deprecate dcombobox.h header * Wed Jul 18 2018 mosquito - 0.2.1-1 - Update to 0.2.1 * Thu Jul 12 2018 Fedora Release Engineering - 0.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Oct 27 2017 mosquito - 0.1.1-1 - Update to 0.1.1 * Mon Aug 21 2017 mosquito - 0.1.0-1 - Update to 0.1.0 * Fri Jul 14 2017 mosquito - 0.0.10-1.git680c12f - Update to 0.0.10 * Fri May 19 2017 mosquito - 0.0.8-1.git7e0fcbc - Initial package build ## END: Generated by rpmautospec