update to 2.1.8 [release 2.1.8-1mamba;Wed Jun 18 2014]

This commit is contained in:
Silvan Calarco 2024-01-05 22:41:10 +01:00
parent cefd422039
commit fd43525068

View File

@ -1,6 +1,6 @@
%define majver %(echo %version | cut -d. -f1-2)
Name: geoclue
Version: 1.99.4
Version: 2.1.8
Release: 1mamba
Summary: A modular geoinformation service
Group: System/Libraries
@ -15,23 +15,29 @@ Patch2: libgeoclue-0.12.0-gcc-4.7.patch
Patch3: libgeoclue-0.12.99-gpsd-3.7.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: ModemManager-devel
BuildRequires: glibc-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libffi-devel
BuildRequires: libGeoIP-devel
BuildRequires: libglib-devel
BuildRequires: libjson-glib-devel
BuildRequires: liblzma-devel
BuildRequires: libnm-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libselinux-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: python-glib
Requires: dbus
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# checking for CONIC... no MAEMO libraries
%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.
@ -41,7 +47,6 @@ Summary: %{name} API documentation
%description apidocs
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 %{name} API documentation.
%package devel
@ -51,80 +56,23 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
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 libraries and header files needed for development.
This package contains libraries and header files need for development.
%package gpsd
Summary: gpsd provider for %{name}
Group: Development/Libraries
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gpsd
Requires: gtk-doc
%description gpsd
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 a gpsd provider for %{name}
%package gsmloc
Summary: gsmloc provider for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description gsmloc
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 a gsmloc provider for %{name}
%package gui
Summary: Testing gui for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description gui
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 a testing gui for %{name}
%package gypsy
Summary: gypsy provider for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: libgypsy
%description gypsy
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 a libgypsy provider for %{name}
%package static
Group: Development/Libraries
Summary: Static libraries for %{name}
Requires: %{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
%description static
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 static libraries need for development.
%description apidocs
This package includes the %{name} API documentation.
%prep
%setup -q -n geoclue-%{version}
#%patch0 -p1 -b .nm08
#%patch1 -p1 -b .nmCrash
#%patch2 -p1
#%patch3 -p1
#
#libtoolize
#gtkdocize
#autoreconf
%build
%configure \
--enable-gtk-doc \
--enable-networkmanager=yes \
--enable-gypsy=yes \
--enable-skyhook=yes \
--enable-gsmloc=yes
--enable-gtk-doc
%make
@ -132,9 +80,6 @@ This package contains static libraries need for development.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
#mkdir %{buildroot}%{_bindir}
#install -pm 755 test/.libs/geoclue-test-gui %{buildroot}%{_bindir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -143,19 +88,33 @@ This package contains static libraries need for development.
%files
%defattr(-,root,root)
%{_bindir}/geoip-lookup
%{_bindir}/geoip-update
%{_libexecdir}/geoclue
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.Agent.conf
%config(noreplace) %{_sysconfdir}/geoclue/geoclue.conf
/lib/systemd/system/geoclue.service
%{_libexecdir}/geoclue
%dir %{_libexecdir}/geoclue-2.0
%dir %{_libexecdir}/geoclue-2.0/demos
%{_libexecdir}/geoclue-2.0/demos/where-am-i
%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service
%{_datadir}/geoclue-2.0/geoclue-interface.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.Agent.xml
%{_datadir}/dbus-1/interfaces/org.freedesktop.GeoClue2.xml
%{_datadir}/applications/geoclue-demo-agent.desktop
%{_datadir}/applications/geoclue-where-am-i.desktop
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/geoclue-2.0.pc
%doc README
%files apidocs
%dir %{_datadir}/gtk-doc/html/geoclue
%{_datadir}/gtk-doc/html/geoclue/*
%changelog
* Wed Jun 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.8-1mamba
- update to 2.1.8
* Sun May 25 2014 Automatic Build System <autodist@mambasoft.it> 1.99.4-1mamba
- automatic update by autodist