2024-01-05 22:41:10 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
Name: geoclue
|
2024-01-05 22:41:11 +01:00
|
|
|
Version: 2.5.3
|
2024-01-05 22:41:10 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A modular geoinformation service
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.freedesktop.org/wiki/Software/GeoClue
|
2024-01-05 22:41:11 +01:00
|
|
|
Source0: https://gitlab.freedesktop.org/geoclue/geoclue/-/archive/%{version}/geoclue-%{version}.tar.bz2
|
|
|
|
#Source0: http://www.freedesktop.org/software/geoclue/releases/%{majver}/geoclue-%{version}.tar.xz
|
2024-01-05 22:41:10 +01:00
|
|
|
Patch0: libgeoclue-0.11.1.1-nm08.patch
|
|
|
|
Patch1: libgeoclue-0.12.0-NMCrash.patch
|
|
|
|
Patch2: libgeoclue-0.12.0-gcc-4.7.patch
|
|
|
|
Patch3: libgeoclue-0.12.99-gpsd-3.7.patch
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: ModemManager-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: glibc-devel
|
2024-01-05 22:41:11 +01:00
|
|
|
BuildRequires: libavahi-devel
|
|
|
|
BuildRequires: libavahi-glib-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: libdbus-devel
|
2024-01-05 22:41:11 +01:00
|
|
|
BuildRequires: libe2fs-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: libffi-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-05 22:41:11 +01:00
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: liblzma-devel
|
2024-01-05 22:41:11 +01:00
|
|
|
BuildRequires: libpcre-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
BuildRequires: libsoup-devel
|
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 22:41:11 +01:00
|
|
|
BuildRequires: libssp-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 22:41:10 +01:00
|
|
|
BuildRequires: python-glib
|
2024-01-05 22:41:10 +01:00
|
|
|
Requires: dbus
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
|
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared librarires for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
|
|
|
|
This package contains the shared libraries.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Libraries and headers for %{name}
|
2024-01-05 22:41:11 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: geoclue-devel
|
|
|
|
Obsoletes: geoclue-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
%description -n lib%{name}-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible.
|
2024-01-05 22:41:10 +01:00
|
|
|
This package contains libraries and header files needed for development.
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
%package apidocs
|
|
|
|
Group: Documentation
|
|
|
|
Summary: %{name} API documentation
|
2024-01-05 22:41:10 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-05 22:41:10 +01:00
|
|
|
Requires: gtk-doc
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
%description apidocs
|
|
|
|
This package includes the %{name} API documentation.
|
2024-01-05 22:41:10 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n geoclue-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-05 22:41:11 +01:00
|
|
|
%meson \
|
|
|
|
-Dgtk_doc=true
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
%meson_build
|
2024-01-05 22:41:10 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-05 22:41:11 +01:00
|
|
|
%meson_install
|
2024-01-05 22:41:10 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
%preun
|
|
|
|
%systemd_preun geoclue
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
|
|
|
%systemd_post geoclue
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart geoclue
|
|
|
|
:
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
2024-01-05 22:41:10 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_sysconfdir}/xdg/autostart/geoclue-demo-agent.desktop
|
2024-01-05 22:41:10 +01:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
|
2024-01-05 22:41:10 +01:00
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/geoclue/geoclue.conf
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_unitdir}/geoclue.service
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2*.xml
|
|
|
|
%{_datadir}/applications/geoclue-demo-agent.desktop
|
|
|
|
%{_datadir}/applications/geoclue-where-am-i.desktop
|
|
|
|
%{_mandir}/man5/geoclue.5*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_libdir}/libgeoclue-2.so.*
|
|
|
|
%{_libdir}/girepository-1.0/Geoclue-2.0.typelib
|
2024-01-05 22:41:10 +01:00
|
|
|
%{_libexecdir}/geoclue
|
|
|
|
%dir %{_libexecdir}/geoclue-2.0
|
|
|
|
%dir %{_libexecdir}/geoclue-2.0/demos
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_libexecdir}/geoclue-2.0/demos/*
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
%files -n lib%{name}-devel
|
2024-01-05 22:41:10 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:41:11 +01:00
|
|
|
%dir %{_includedir}/libgeoclue-2.0
|
|
|
|
%{_includedir}/libgeoclue-2.0/*
|
|
|
|
%{_libdir}/libgeoclue-2.so
|
|
|
|
%{_libdir}/pkgconfig/libgeoclue-2.0.pc
|
2024-01-05 22:41:10 +01:00
|
|
|
%{_libdir}/pkgconfig/geoclue-2.0.pc
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_datadir}/vala/vapi/libgeoclue-2.0.deps
|
|
|
|
%{_datadir}/vala/vapi/libgeoclue-2.0.vapi
|
2024-01-05 22:41:11 +01:00
|
|
|
%{_datadir}/gir-1.0/Geoclue-2.0.gir
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
%files apidocs
|
2024-01-05 22:41:11 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:41:10 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/geoclue
|
|
|
|
%{_datadir}/gtk-doc/html/geoclue/*
|
2024-01-05 22:41:11 +01:00
|
|
|
%dir %{_datadir}/gtk-doc/html/libgeoclue
|
|
|
|
%{_datadir}/gtk-doc/html/libgeoclue/*
|
2024-01-05 22:41:10 +01:00
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
%changelog
|
2024-01-05 22:41:11 +01:00
|
|
|
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.3-1mamba
|
|
|
|
- update to 2.5.3
|
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
* Sat Sep 17 2016 Automatic Build System <autodist@mambasoft.it> 2.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
* Mon Jun 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.3-1mamba
|
|
|
|
- update to 2.4.3
|
|
|
|
|
2024-01-05 22:41:11 +01:00
|
|
|
* Wed Aug 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.9-1mamba
|
|
|
|
- update to 2.1.9
|
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.8-1mamba
|
|
|
|
- update to 2.1.8
|
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 1.99.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-05 22:41:10 +01:00
|
|
|
* Fri Nov 08 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.99.3-1mamba
|
|
|
|
- update to 1.99.3 (renamed to geoclue)
|
|
|
|
|
|
|
|
* Sun Jun 02 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-2mamba
|
|
|
|
- rebuild with gpsd 3.7
|
|
|
|
|
|
|
|
* Sat Apr 27 2013 Automatic Build System <autodist@mambasoft.it> 0.12.99-1mamba
|
|
|
|
- update to 0.12.99
|
|
|
|
|
|
|
|
* Wed Sep 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0-4mamba
|
|
|
|
- added gcc 4.7 patch
|
|
|
|
|
|
|
|
* Mon Sep 19 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0-3mamba
|
|
|
|
- rebuilt with NetworkManager 0.9
|
|
|
|
|
|
|
|
* Fri Feb 25 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0-2mamba
|
|
|
|
- rebuilt in devel
|
|
|
|
|
|
|
|
* Tue Nov 09 2010 gil <puntogil@libero.it> 0.12.0-1mamba
|
|
|
|
- update to 0.12.0
|
|
|
|
|
|
|
|
* Wed Apr 01 2009 gil <puntogil@libero.it> 0.11.1-1mamba
|
|
|
|
- package created by autospec
|