Accepting request 229069 from Application:Geo

fixed rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/229069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/geoclue2?expand=0&rev=8
This commit is contained in:
Stephan Kulow 2014-04-05 14:46:56 +00:00 committed by Git OBS Bridge
commit 90b971eb08
5 changed files with 159 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4a82f184e55a163d86e0ad69bbe1bba9960bb5094220fe1f01350bceda8c67a1
size 284592

3
geoclue-2.1.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae7befcb07b06c89b5d9d7e837f431a0091573070c0a13a5222315ca6e005677
size 328704

5
geoclue2-rpmlintrc Normal file
View File

@ -0,0 +1,5 @@
# This line is mandatory to access the configuration functions
from Config import *
# bnc#862216
addFilter ("suse-dbus-unauthorized-service")

View File

@ -1,3 +1,125 @@
-------------------------------------------------------------------
Fri Apr 4 19:16:19 UTC 2014 - adrian@suse.de
- use addFilter instead of setBadness
-------------------------------------------------------------------
Thu Mar 13 20:52:19 UTC 2014 - zaitor@opensuse.org
- Update to version 2.1.6:
+ Correct binary path is demo's desktop file.
+ Move demo apps from /usr/share to /usr/libexec.
- Changes from version 2.1.5:
+ Add a NULL check to fix a crasher.
+ Setup D-Bus policy to be able to access NetworManager API.
+ Expected agent object path now static. This breaks agent
interface but it was needed to fix the D-Bus policy.
+ Fix issue of us giving every connection access to every
property on the system bus.
- Changes from version 2.1.4:
+ Don't depend on unreleased libnm-glib.
- No longer use sed to lower libnm-glib requirement, fixed
upstream.
-------------------------------------------------------------------
Sun Feb 23 06:34:19 UTC 2014 - zaitor@opensuse.org
- Add pkgconfig(systemd) BuildRequires and add relevant
systemdmacros to pre/post/preun/postun.
- Create softlink /usr/sbin/rcgeoclue to /usr/sbin/service.
-------------------------------------------------------------------
Fri Feb 21 11:59:35 UTC 2014 - zaitor@opensuse.org
- Update to version 2.1.3:
+ Agents can now dictate maximum accuracy level allowed for all
clients through a D-Bus property. The next version of
gnome-shell will make use of that and provide an option to
enable/disable geolocation in topbar menu.
+ Add D-Bus property to specify available accuracy level. For now
we just hardcode it to report that we can provide exact
accuracy.
+ Give agents time to register themselves on startup before
processing client requests.
+ Move configuration file under geoclue subdir so that in future
we can easily add more configuration files if needed.
+ Fixes to build.
+ Some internal clean-ups.
-------------------------------------------------------------------
Tue Feb 4 18:44:50 UTC 2014 - zaitor@opensuse.org
- Update to version 2.1.2:
+ Fix some crashing bugs.
+ Ignore WiFis with '_nomap' suffix.
+ Configure options for disabling WiFi, 3G and GPS modem sources.
+ Avoid spaming the network resources for ignorable changes to
network setup.
+ Add some required files to distribution that we forgot in last
release.
- Changes from version 2.1.1:
+ 3GPP-based geolocation source.
+ Uses ModemManager to get cell tower info from 3GPP modem and
uses opencellid.org's public API to translate that into a
location.
+ GPS modem-based geolocation source: If your 3GPP modem has a
GPS, geoclue can now make use of it.
+ WiFi-based geolocation source.
+ Uses Mozilla Location Service to find location based on nearby
WiFi networks.
+ Refresh location on changes in WiFi networks.
+ Option in configuration file to make geoclue use Google Maps
Geolocation API rather than Mozilla Location Service.
+ Option in configuration file to enable submission of wifi data
to Mozilla Location Service. If this option is enabled, the
data is submitted each time geoclue gets a GPS lock. That
means, its not completely autonomous and data is only
submitted if an application, e.g gnome-maps requests current
location with exact accuracy.
+ API for clients to specify what level of geolocation accuracy
they need, e.g city-level, street-level or exact etc.
+ API to check if geolocation service is in use. Next version of
gnome-shell will make use of that to show an icon in the panel
to indicate to user that their location is being accessed.
+ Application authorization agent.
+ Make agent completely optional. We will revert this once we
have a reliable mechanism to identify applications.
+ Identify agent and client applications by their desktop IDs
rather than paths of their binaries.
+ Ability for agents to dictate the accuracy level allowed for
clients.
+ Maintain a whitelist of clients in configuration that do not
need agent authorization.
+ Avoid redundant queries to web services.
+ Install demo applications and provide a desktop file for them.
+ Many more internal fixes and clean-ups.
- Add pkgconfig(libnm-glib), pkgconfig(mm-glib) and
pkgconfig(libxml-2.0) BuildRequires: new dependencies.
- Lower NetworkManager dependency to 0.9.8 in configure.
-------------------------------------------------------------------
Sun Jan 19 10:44:30 UTC 2014 - zaitor@opensuse.org
- Update to version 2.1.0:
+ Application authentication agents support:
- API for agents to register themselves.
- API that agents need to implement.
- Configure option to enable requirement of authorization from
agent. Until there is at least one agent out there, this
requirement is disabled by default.
- A demo agent.
- Option in ${sysconfdir}/geoclue.conf containing whitelist of
all our agents.
+ Don't use proxy. Seems proxy settings are per-user and system
users (which geoclue is supposed to run as) do not have access
to them.
+ Add support for bus-activation via systemd service unit.
+ Add mandatory 'DesktopId' property to Client interface.
+ Use HTTPS to connect to geoip.fedoraproject.org. The actual
resource is behind HTTPS so using HTTP leads to redirections
and thefore redundant TCP packets.
+ Fixes to build system.
-------------------------------------------------------------------
Mon Oct 7 18:16:11 UTC 2013 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package geoclue2
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,19 +19,23 @@
Name: geoclue2
%define _name geoclue
%define dbus_user srvGeoClue
Version: 2.0.0
Version: 2.1.6
Release: 0
Summary: GeoLocation Framework
License: GPL-2.0+
Group: System/Libraries
Url: http://people.freedesktop.org/~zeenix/releases/
Source: http://www.freedesktop.org/software/geoclue/releases/2.0/%{_name}-%{version}.tar.xz
Source: http://www.freedesktop.org/software/geoclue/releases/2.1/%{_name}-%{version}.tar.xz
BuildRequires: intltool >= 0.40.0
BuildRequires: pkgconfig(gio-2.0) >= 2.34.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.34.0
BuildRequires: pkgconfig(glib-2.0) >= 2.34.0
BuildRequires: pkgconfig(json-glib-1.0) >= 0.14
BuildRequires: pkgconfig(libnm-glib) >= 0.9.8
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(mm-glib) >= 1.0
BuildRequires: pkgconfig(systemd)
# Virtual provides for the dbus service
Provides: dbus(org.freedesktop.GeoClue2) = %{version}
# we require shadow for useradd
@ -66,22 +70,44 @@ make %{?_smp_mflags}
%make_install
find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print
install -d %{buildroot}%{_localstatedir}/lib/%{dbus_user}
# Create conveniance shortcut for rcgeoclue -> /usr/sbin/service
mkdir -p %{buildroot}%{_sbindir}
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcgeoclue
%pre
getent passwd %{dbus_user} > /dev/null || useradd -r -g nogroup -d /var/lib/%{dbus_user} -s /sbin/nologin -c "User for GeoClue D-Bus service" %{dbus_user}
%service_add_pre geoclue.service
%post
%service_add_post geoclue.service
%preun
%service_del_preun geoclue.service
%postun
%service_del_postun geoclue.service
%files
%defattr(-,root,root)
%doc README COPYING
%{_libexecdir}/geoclue
%dir %{_libexecdir}/geoclue-2.0/
%{_libexecdir}/geoclue-2.0/demos/
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_datadir}/applications/geoclue-where-am-i.desktop
%dir %{_datadir}/dbus-1
%dir %{_datadir}/dbus-1/system-services
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
%{_datadir}/geoclue-2.0/
%dir %{_sysconfdir}/dbus-1
%dir %{_sysconfdir}/dbus-1/system.d
%dir %{_sysconfdir}/geoclue/
%config %{_sysconfdir}/geoclue/geoclue.conf
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
%attr(0700,%{dbus_user},root) %{_localstatedir}/lib/%{dbus_user}
%{_sbindir}/rcgeoclue
%{_unitdir}/geoclue.service
%files devel
%defattr(-,root,root)