2013-08-26 13:35:42 +00:00
|
|
|
Name: geoclue2
|
2018-07-26 07:59:49 +00:00
|
|
|
Version: 2.4.11
|
|
|
|
Release: 1%{?dist}
|
2013-08-26 13:35:42 +00:00
|
|
|
Summary: Geolocation service
|
|
|
|
|
|
|
|
License: GPLv2+
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/GeoClue/
|
2015-11-04 09:45:26 +00:00
|
|
|
Source0: http://www.freedesktop.org/software/geoclue/releases/2.4/geoclue-%{version}.tar.xz
|
2013-08-26 13:35:42 +00:00
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
BuildRequires: avahi-glib-devel
|
2013-08-26 13:35:42 +00:00
|
|
|
BuildRequires: glib2-devel
|
2015-11-04 09:45:26 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2013-08-26 13:35:42 +00:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: itstool
|
|
|
|
BuildRequires: json-glib-devel
|
|
|
|
BuildRequires: libsoup-devel
|
2014-02-04 15:13:47 +00:00
|
|
|
BuildRequires: ModemManager-glib-devel
|
2014-02-06 21:39:44 +00:00
|
|
|
BuildRequires: systemd
|
2013-09-19 12:57:25 +00:00
|
|
|
Requires(pre): shadow-utils
|
2014-02-06 21:39:44 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2013-08-26 13:35:42 +00:00
|
|
|
Requires: dbus
|
|
|
|
|
2014-04-15 22:10:28 +00:00
|
|
|
Obsoletes: geoclue2-server < 2.1.8
|
|
|
|
|
2017-11-29 18:07:19 +00:00
|
|
|
Obsoletes: geoclue < 0.12.99-10
|
|
|
|
Obsoletes: geoclue-devel < 0.12.99-10
|
|
|
|
Obsoletes: geoclue-gsmloc < 0.12.99-10
|
|
|
|
Obsoletes: geoclue-gui < 0.12.99-10
|
|
|
|
Obsoletes: geoclue-gypsy < 0.12.99-10
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
%description
|
|
|
|
Geoclue is a D-Bus service that provides location information. The primary goal
|
|
|
|
of the Geoclue project is to make creating location-aware applications as
|
|
|
|
simple as possible, while the secondary goal is to ensure that no application
|
|
|
|
can access location information without explicit permission from user.
|
|
|
|
|
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
%package libs
|
|
|
|
Summary: Geoclue client library
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
The %{name}-libs package contains a convenience library to interact with
|
|
|
|
Geoclue service.
|
|
|
|
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2015-11-04 09:45:26 +00:00
|
|
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
2013-08-26 13:35:42 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains files for developing applications that
|
|
|
|
use %{name}.
|
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
|
2015-04-07 15:45:11 +00:00
|
|
|
%package demos
|
|
|
|
Summary: Demo applications for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2015-04-07 16:10:18 +00:00
|
|
|
BuildRequires: libnotify-devel
|
2015-04-07 15:45:11 +00:00
|
|
|
|
|
|
|
%description demos
|
|
|
|
The %{name}-demos package contains demo applications that use %{name}.
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n geoclue-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2015-04-07 15:45:11 +00:00
|
|
|
%configure --with-dbus-service-user=geoclue --enable-demo-agent
|
2013-08-26 13:35:42 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
|
|
|
|
2013-10-06 14:08:32 +00:00
|
|
|
# Home directory for the 'geoclue' user
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/lib/geoclue
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
|
2013-09-19 12:57:25 +00:00
|
|
|
%pre
|
2013-10-06 14:24:25 +00:00
|
|
|
# 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
|
2013-09-19 12:57:25 +00:00
|
|
|
getent group geoclue >/dev/null || groupadd -r geoclue
|
|
|
|
getent passwd geoclue >/dev/null || \
|
2013-10-06 14:08:32 +00:00
|
|
|
useradd -r -g geoclue -d /var/lib/geoclue -s /sbin/nologin \
|
2013-09-19 12:57:25 +00:00
|
|
|
-c "User for geoclue" geoclue
|
|
|
|
exit 0
|
|
|
|
|
2014-02-06 21:39:44 +00:00
|
|
|
%post
|
|
|
|
%systemd_post geoclue.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun geoclue.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart geoclue.service
|
|
|
|
|
2018-02-03 11:37:57 +00:00
|
|
|
%ldconfig_scriptlets libs
|
2015-11-04 09:45:26 +00:00
|
|
|
|
2013-09-19 12:57:25 +00:00
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
%files
|
2015-11-04 10:38:38 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS
|
2014-03-07 15:24:36 +00:00
|
|
|
%config %{_sysconfdir}/geoclue/
|
2018-05-03 10:49:58 +00:00
|
|
|
%dir %{_libexecdir}/geoclue-2.0
|
|
|
|
%dir %{_libexecdir}/geoclue-2.0/demos
|
2013-08-26 13:35:42 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
|
2014-02-04 15:13:47 +00:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
|
2018-05-03 10:49:58 +00:00
|
|
|
%{_sysconfdir}/xdg/autostart/geoclue-demo-agent.desktop
|
2013-08-26 13:35:42 +00:00
|
|
|
%{_libexecdir}/geoclue
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
|
2018-05-03 10:49:58 +00:00
|
|
|
%{_datadir}/applications/geoclue-demo-agent.desktop
|
2014-02-04 15:13:47 +00:00
|
|
|
%{_unitdir}/geoclue.service
|
2018-05-03 10:49:58 +00:00
|
|
|
%{_libexecdir}/geoclue-2.0/demos/agent
|
2013-10-06 14:08:32 +00:00
|
|
|
%attr(755,geoclue,geoclue) %dir /var/lib/geoclue
|
2013-08-26 13:35:42 +00:00
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
%files libs
|
|
|
|
%license COPYING.LIB
|
|
|
|
%{_libdir}/girepository-1.0/Geoclue-2.0.typelib
|
|
|
|
%{_libdir}/libgeoclue-2.so.0*
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
%files devel
|
2014-03-26 08:26:24 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml
|
2015-11-04 09:45:26 +00:00
|
|
|
%{_datadir}/gir-1.0/Geoclue-2.0.gir
|
|
|
|
%{_includedir}/libgeoclue-2.0/
|
2013-08-26 13:35:42 +00:00
|
|
|
%{_libdir}/pkgconfig/geoclue-2.0.pc
|
2015-11-04 09:45:26 +00:00
|
|
|
%{_libdir}/pkgconfig/libgeoclue-2.0.pc
|
|
|
|
%{_libdir}/libgeoclue-2.so
|
2013-08-26 13:35:42 +00:00
|
|
|
|
2015-04-07 15:45:11 +00:00
|
|
|
%files demos
|
|
|
|
%{_libexecdir}/geoclue-2.0/demos/where-am-i
|
|
|
|
%{_datadir}/applications/geoclue-where-am-i.desktop
|
2013-08-26 13:35:42 +00:00
|
|
|
|
|
|
|
%changelog
|
2018-07-26 07:59:49 +00:00
|
|
|
* Thu Jul 26 2018 Kalev Lember <klember@redhat.com> - 2.4.11-1
|
|
|
|
- Update to 2.4.11
|
|
|
|
|
2018-07-13 01:20:27 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.10-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-05-03 14:52:16 +00:00
|
|
|
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.10-1
|
|
|
|
+ geoclue2-2.4.10-1
|
|
|
|
- Update to 2.4.10
|
|
|
|
|
2018-05-03 10:24:35 +00:00
|
|
|
* Thu May 03 2018 Bastien Nocera <bnocera@redhat.com> - 2.4.9-1
|
|
|
|
+ geoclue2-2.4.9-1
|
|
|
|
- Update to 2.4.9
|
|
|
|
|
2018-04-12 18:01:06 +00:00
|
|
|
* Thu Apr 12 2018 Kalev Lember <klember@redhat.com> - 2.4.8-1
|
|
|
|
- Update to 2.4.8
|
|
|
|
|
2018-02-07 10:56:18 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 11:37:57 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.4.7-3
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-11-29 18:07:19 +00:00
|
|
|
* Wed Nov 29 2017 Lubomir Rintel <lkundrak@v3.sk> - 2.4.7-2
|
|
|
|
- Obsolete old geoclue
|
|
|
|
|
2017-09-05 09:07:42 +00:00
|
|
|
* Tue Sep 05 2017 Kalev Lember <klember@redhat.com> - 2.4.7-1
|
|
|
|
- Update to 2.4.7
|
|
|
|
|
2017-08-02 21:05:50 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 09:20:59 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-03-24 21:52:34 +00:00
|
|
|
* Fri Mar 24 2017 Florian Müllner <fmuellner@redhat.com> - 32.4.5-4
|
|
|
|
- Add gnome-shell's weather integration to the whitelist
|
|
|
|
|
2017-03-01 11:13:39 +00:00
|
|
|
* Wed Mar 01 2017 Kalev Lember <klember@redhat.com> - 2.4.5-3
|
|
|
|
- Add "Night Light" functionality to the whitelist
|
|
|
|
|
2017-02-10 10:23:20 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-27 16:42:56 +00:00
|
|
|
* Fri Jan 27 2017 Kalev Lember <klember@redhat.com> - 2.4.5-1
|
|
|
|
- Update to 2.4.5
|
|
|
|
|
2016-09-06 16:43:30 +00:00
|
|
|
* Tue Sep 06 2016 Bastien Nocera <bnocera@redhat.com> - 2.4.4-1
|
|
|
|
- Update to 2.4.4
|
|
|
|
|
2016-03-08 15:54:18 +00:00
|
|
|
* Tue Mar 08 2016 Zeeshan Ali <zeenix@redhat.com> 2.4.3-1
|
|
|
|
- Update to 2.4.3.
|
|
|
|
|
2016-02-03 21:13:59 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-12-08 06:08:07 +00:00
|
|
|
* Tue Dec 08 2015 Kalev Lember <klember@redhat.com> - 2.4.1-1
|
|
|
|
- Update to 2.4.1
|
|
|
|
|
2015-11-04 09:45:26 +00:00
|
|
|
* Wed Nov 04 2015 Kalev Lember <klember@redhat.com> - 2.4.0-1
|
|
|
|
- Update to 2.4.0
|
|
|
|
- Package new libgeoclue-2.0 library in -libs subpackage
|
2015-11-04 10:38:22 +00:00
|
|
|
- Fix directory ownership for /usr/libexec/geoclue-2.0/demos/
|
2015-11-04 10:38:38 +00:00
|
|
|
- Use license macro for COPYING
|
2015-11-04 09:45:26 +00:00
|
|
|
|
2015-06-17 07:15:42 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-04-16 18:00:17 +00:00
|
|
|
* Thu Apr 16 2015 Zeeshan Ali <zeenix@redhat.com> 2.2.0-1
|
|
|
|
- Update to 2.2.0.
|
|
|
|
|
2015-04-07 15:45:11 +00:00
|
|
|
* Tue Apr 7 2015 Zeeshan Ali <zeenix@redhat.com> 2.1.10-2
|
|
|
|
- Package demo applications too.
|
|
|
|
|
2015-01-06 02:25:30 +00:00
|
|
|
* Tue Jan 6 2015 Peter Robinson <pbrobinson@fedoraproject.org> 2.1.10-1
|
|
|
|
- Update to 2.1.10
|
|
|
|
|
2014-08-16 14:15:27 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.9-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-21 16:36:10 +00:00
|
|
|
* Sat Jun 21 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.9-1
|
|
|
|
- Update to 2.1.9
|
|
|
|
|
2014-06-07 13:56:21 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-04-15 22:10:28 +00:00
|
|
|
* Wed Apr 16 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.8-1
|
|
|
|
- Update to 2.1.8
|
|
|
|
- Remove and obsolete the -server subpackage
|
|
|
|
|
2014-03-26 08:26:24 +00:00
|
|
|
* Wed Mar 26 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.7-1
|
|
|
|
- Update to 2.1.7
|
|
|
|
|
2014-03-07 15:24:36 +00:00
|
|
|
* Fri Mar 07 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.6-1
|
|
|
|
- Update to 2.1.6
|
|
|
|
|
2014-02-06 21:39:44 +00:00
|
|
|
* Thu Feb 06 2014 Kalev Lember <kalevlember@gmail.com> - 2.1.2-2
|
|
|
|
- Add systemd rpm scripts
|
2014-02-06 21:40:32 +00:00
|
|
|
- Don't install the demo .desktop files
|
2014-02-06 21:39:44 +00:00
|
|
|
|
2014-02-04 15:13:47 +00:00
|
|
|
* Tue Feb 04 2014 Richard Hughes <rhughes@redhat.com> - 2.1.2-1
|
|
|
|
- Update to 2.1.2
|
|
|
|
|
2013-10-06 08:44:11 +00:00
|
|
|
* Sun Oct 06 2013 Kalev Lember <kalevlember@gmail.com> - 2.0.0-1
|
|
|
|
- Update to 2.0.0
|
2013-10-06 14:08:32 +00:00
|
|
|
- Create a home directory for the 'geoclue' user
|
2013-10-06 08:44:11 +00:00
|
|
|
|
2013-09-19 12:57:25 +00:00
|
|
|
* Thu Sep 19 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.4-2
|
|
|
|
- Run the service as 'geoclue' user
|
|
|
|
|
2013-09-18 20:33:45 +00:00
|
|
|
* Wed Sep 18 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.4-1
|
|
|
|
- Update to 1.99.4
|
|
|
|
|
2013-09-03 19:26:45 +00:00
|
|
|
* Tue Sep 03 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.3-1
|
|
|
|
- Update to 1.99.3
|
|
|
|
|
2013-08-26 13:35:42 +00:00
|
|
|
* Sun Aug 25 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.2-3
|
|
|
|
- Update -devel subpackage description (#999153)
|
|
|
|
|
|
|
|
* Sat Aug 24 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.2-2
|
|
|
|
- Review fixes (#999153)
|
|
|
|
- Drop ldconfig calls that are unnecessary now that the shared library is gone
|
|
|
|
- Drop the build dep on gobject-introspection-devel
|
|
|
|
- Include API-Documentation.txt in the -server subpackage
|
|
|
|
|
|
|
|
* Fri Aug 23 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.2-1
|
|
|
|
- Update to 1.99.2
|
|
|
|
- The shared library is gone in this release and all users should use the
|
|
|
|
dbus service directly
|
|
|
|
|
|
|
|
* Wed Aug 21 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.1-3
|
|
|
|
- Include geoip-lookup in the -server subpackage as well
|
|
|
|
|
|
|
|
* Wed Aug 21 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.1-2
|
|
|
|
- Ship geoip-update in -server subpackage
|
|
|
|
|
|
|
|
* Tue Aug 20 2013 Kalev Lember <kalevlember@gmail.com> - 1.99.1-1
|
|
|
|
- Initial Fedora packaging
|