commit 76587727d2f6c86e290b58d0986eb9962ed541cf Author: Sofia Boldyreva Date: Fri Mar 17 20:38:57 2023 +0100 Import pantheon-agent-polkit-1.0.5-1.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b224115 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/pantheon-agent-polkit-1.0.5.tar.gz diff --git a/.pantheon-agent-polkit.metadata b/.pantheon-agent-polkit.metadata new file mode 100644 index 0000000..7a2860c --- /dev/null +++ b/.pantheon-agent-polkit.metadata @@ -0,0 +1 @@ +0be2455c83e3fd61a740c64a5dc5f1a5471117bc SOURCES/pantheon-agent-polkit-1.0.5.tar.gz diff --git a/SPECS/pantheon-agent-polkit.spec b/SPECS/pantheon-agent-polkit.spec new file mode 100644 index 0000000..47d05e7 --- /dev/null +++ b/SPECS/pantheon-agent-polkit.spec @@ -0,0 +1,145 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.2.5) +%define autorelease(e:s:pb:) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} +## END: Set by rpmautospec + +%global srcname pantheon-agent-polkit +%global appname io.elementary.desktop.agent-polkit + +Name: pantheon-agent-polkit +Summary: Pantheon Polkit Agent +Version: 1.0.5 +Release: %autorelease +License: LGPLv2+ + +URL: https://github.com/elementary/%{name} +Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gettext +BuildRequires: libappstream-glib +BuildRequires: meson +BuildRequires: vala >= 0.34.1 + +BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 +BuildRequires: pkgconfig(granite) >= 6.0.0 +BuildRequires: pkgconfig(gtk+-3.0) +BuildRequires: pkgconfig(polkit-agent-1) +BuildRequires: pkgconfig(polkit-gobject-1) + +%description +An agent for Polkit authorization designed for Pantheon. + + +%prep +%autosetup -n %{srcname}-%{version} -p1 + + +%build +%meson +%meson_build + + +%install +%meson_install + +%find_lang %{appname} + + +%check +desktop-file-validate \ + %{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}.desktop + +desktop-file-validate \ + %{buildroot}/%{_datadir}/applications/%{appname}.desktop + +appstream-util validate-relax --nonet \ + %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml + + +%files -f %{appname}.lang +%doc README.md +%license COPYING + +%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}.desktop + +%{_libexecdir}/policykit-1-pantheon/ + +%{_datadir}/applications/%{appname}.desktop +%{_datadir}/metainfo/%{appname}.appdata.xml + + +%changelog +* Mon May 02 2022 Fabio Valentini 1.0.5-1 +- Update to version 1.0.5; Fixes RHBZ#2080076 + +* Thu Jan 20 2022 Fedora Release Engineering 1.0.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering 1.0.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jul 15 2021 Fabio Valentini 1.0.4-1 +- Update to version 1.0.4; Fixes RHBZ#1982464 + +* Thu Feb 18 2021 Fabio Valentini - 1.0.3-4.20210210gitc903ea7 +- Bump to commit c903ea7. Rebuilt for granite 6 soname bump. + +* Tue Jan 26 2021 Fedora Release Engineering - 1.0.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.0.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sun Jun 21 2020 Fabio Valentini - 1.0.3-1 +- Update to version 1.0.3. + +* Fri May 29 2020 Fabio Valentini - 1.0.2-1 +- Update to version 1.0.2. + +* Tue Apr 07 2020 Fabio Valentini - 1.0.1-1 +- Update to version 1.0.1. + +* Wed Jan 29 2020 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Nov 16 2019 Fabio Valentini - 1.0.0-1 +- Update to version 1.0.0. + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Dec 12 2018 Fabio Valentini - 0.1.6-1 +- Update to version 0.1.6. + +* Fri Jul 13 2018 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jun 04 2018 Fabio Valentini - 0.1.5-1 +- Update to version 0.1.5. + +* Thu Feb 08 2018 Fedora Release Engineering - 0.1.4-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Mon Feb 05 2018 Fabio Valentini - 0.1.4-4 +- Clean up .spec file. + +* Thu Aug 03 2017 Fedora Release Engineering - 0.1.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 0.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat May 27 2017 Fabio Valentini - 0.1.4-1 +- Update to version 0.1.4. + +* Tue May 02 2017 Fabio Valentini - 0.1.3-1 +- Initial package. +