Compare commits

...

No commits in common. "c8" and "c10s" have entirely different histories.
c8 ... c10s

6 changed files with 153 additions and 29 deletions

View File

@ -1 +0,0 @@
5710bbd39139c1de7368d2193b3f50788ff93e4d SOURCES/geoclue-2.5.5.tar.bz2

12
.gitignore vendored
View File

@ -1 +1,11 @@
SOURCES/geoclue-2.5.5.tar.bz2
/geoclue-2.*.tar.xz
/geoclue-2.5.0.tar.bz2
/geoclue-2.5.1.tar.bz2
/geoclue-2.5.2.tar.bz2
/geoclue-2.5.3.tar.bz2
/geoclue-2.5.4.tar.bz2
/geoclue-2.5.5.tar.bz2
/geoclue-2.5.6.tar.bz2
/geoclue-2.5.7.tar.bz2
/geoclue-2.6.0.tar.bz2
/geoclue-2.7.0.tar.bz2

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-10
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}

View File

@ -1,11 +1,12 @@
Name: geoclue2
Version: 2.5.5
Release: 2%{?dist}
Version: 2.7.0
Release: 7%{?dist}
Summary: Geolocation service
License: GPLv2+
License: GPL-2.0-or-later
URL: http://www.freedesktop.org/wiki/Software/GeoClue/
Source0: https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/%{version}/geoclue-%{version}.tar.bz2
Source1: geoclue2.sysusers
BuildRequires: avahi-glib-devel
BuildRequires: gettext
@ -13,16 +14,13 @@ BuildRequires: glib2-devel
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: json-glib-devel
BuildRequires: libsoup-devel
BuildRequires: libsoup3-devel
BuildRequires: meson
BuildRequires: ModemManager-glib-devel
BuildRequires: systemd
BuildRequires: systemd, systemd-rpm-macros
BuildRequires: vala
Requires(pre): shadow-utils
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
Requires: dbus
%{?sysusers_requires_compat}
Obsoletes: geoclue2-server < 2.1.8
@ -41,8 +39,8 @@ can access location information without explicit permission from user.
%package libs
Summary: Geoclue client library
License: LGPLv2+
Requires: %{name}%{?_isa} = %{version}-%{release}
License: LGPL-2.0-or-later AND LGPL-2.1-or-later
Recommends: %{name} = %{version}-%{release}
%description libs
The %{name}-libs package contains a convenience library to interact with
@ -51,7 +49,8 @@ Geoclue service.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
# /docs/*xml is GFDL-1.1-or-later
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GFDL-1.1-or-later
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
@ -61,7 +60,8 @@ use %{name}.
%package demos
Summary: Demo applications for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
Recommends: %{name} = %{version}-%{release}
BuildRequires: libnotify-devel
%description demos
@ -69,28 +69,24 @@ The %{name}-demos package contains demo applications that use %{name}.
%prep
%setup -q -n geoclue-%{version}
%autosetup -p1 -n geoclue-%{version}
%build
%meson -Ddbus-srv-user=geoclue
%meson_build
%install
%meson_install
install -Dpm 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/geoclue2.conf
# Home directory for the 'geoclue' user
mkdir -p $RPM_BUILD_ROOT/var/lib/geoclue
%pre
# Update the home directory for existing users
getent passwd geoclue >/dev/null && \
usermod -d /var/lib/geoclue geoclue &>/dev/null
# Create a new user and group if they don't exist
getent group geoclue >/dev/null || groupadd -r geoclue
getent passwd geoclue >/dev/null || \
useradd -r -g geoclue -d /var/lib/geoclue -s /sbin/nologin \
-c "User for geoclue" geoclue
%sysusers_create_compat %{SOURCE1}
exit 0
%post
@ -113,11 +109,13 @@ exit 0
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
%{_sysconfdir}/xdg/autostart/geoclue-demo-agent.desktop
%{_libexecdir}/geoclue
%{_datadir}/polkit-1/rules.d/org.freedesktop.GeoClue2.rules
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_mandir}/man5/geoclue.5*
%{_unitdir}/geoclue.service
%{_libexecdir}/geoclue-2.0/demos/agent
%{_sysusersdir}/geoclue2.conf
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
%files libs
@ -146,17 +144,125 @@ exit 0
%{_libexecdir}/geoclue-2.0/demos/where-am-i
%{_datadir}/applications/geoclue-where-am-i.desktop
%changelog
* Mon Jan 25 2021 Kalev Lember <klember@redhat.com> - 2.5.5-2
- Fix multilib conflicts in -devel subpackage (#1853141)
* Wed Oct 09 2019 David King <dking@redhat.com> - 2.5.5-1
- Rebase to 2.5.5 (#1748329)
%changelog
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.7.0-7
- Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.7.0-6
- Bump release for June 2024 mass rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Oct 02 2023 Daan De Meyer <daan.j.demeyer@gmail.com> - 2.7.0-3
- Provide a sysusers.d file to get user() and group() provides
(see https://fedoraproject.org/wiki/Changes/Adopting_sysusers.d_format).
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Mar 29 2023 Kalev Lember <klember@redhat.com> - 2.7.0-1
- Update to 2.7.0
- Switch to libsoup 3
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Nov 30 2022 Kalev Lember <klember@redhat.com> - 2.6.0-4
- Tighten dependencies between -libs and -demos subpackages
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Feb 16 2022 David King <amigadave@amigadave.com> - 2.6.0-2
- Do not own polkit rules.d dir
* Wed Feb 16 2022 Bilal Elmoussaoui <belmouss@redhat.com> - 2.6.0-1
- Bump to 2.6.0
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.7-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Oct 07 2021 Kalev Lember <klember@redhat.com> - 2.5.7-6
- Backport upstream patch to fix IP-based geolocation (#1991075)
* Fri Oct 01 2021 Kalev Lember <klember@redhat.com> - 2.5.7-5
- Avoid requiring systemd for systemd rpm scriptlets
- Recommend the daemon package instead of hard requiring
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.7-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.5.7-3
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 04 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 2.5.7-1
- Update to 2.5.7
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri Jul 24 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 2.5.6-2
- Add patch to fix location privacy setting
* Wed Feb 26 2020 Kalev Lember <klember@redhat.com> - 2.5.6-1
- Update to 2.5.6
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Mon Sep 30 2019 Kalev Lember <klember@redhat.com> - 2.5.5-1
- Update to 2.5.5
* Fri Sep 27 2019 Kalev Lember <klember@redhat.com> - 2.5.4-1
- Update to 2.5.4
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Thu May 16 2019 Kalev Lember <klember@redhat.com> - 2.5.3-1
- Update to 2.5.3
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jan 11 2019 Kalev Lember <klember@redhat.com> - 2.5.2-1
- Update to 2.5.2
* Tue Oct 16 2018 Kalev Lember <klember@redhat.com> - 2.5.1-1
- Update to 2.5.1
* Sun Oct 14 2018 Kalev Lember <klember@redhat.com> - 2.5.0-1
- Update to 2.5.0
- Switch to the meson build system
- Build gtk-doc documentation
- Remove ldconfig scriptlets
* Thu Jul 26 2018 Kalev Lember <klember@redhat.com> - 2.4.11-1
- Update to 2.4.11
- Include vala bindings
- Fix gir directory ownership
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.10-1
+ geoclue2-2.4.10-1
- Update to 2.4.10
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.9-1
+ geoclue2-2.4.9-1
- Update to 2.4.9
* Thu Apr 12 2018 Kalev Lember <klember@redhat.com> - 2.4.8-1
- Update to 2.4.8

2
geoclue2.sysusers Normal file
View File

@ -0,0 +1,2 @@
#Type Name ID GECOS Home directory Shell
u geoclue - "User for geoclue" /var/lib/geoclue /sbin/nologin

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (geoclue-2.7.0.tar.bz2) = 2314242f529b9011ee5da6e8cfc657568853769e4d38b8e7c604097a747dd5705d9f84dcd2763cdacb9f014e15b63fbb8356d6cb488ba91334cda87c11e4ee7d