293 lines
10 KiB
RPMSpec
293 lines
10 KiB
RPMSpec
Name: geoclue0
|
|
Version: 0.12.99
|
|
Release: 9mamba
|
|
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
|
|
Source0: http://freedesktop.org/~hadess/geoclue-%{version}.tar.gz
|
|
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
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: ldconfig
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libblkid-devel
|
|
BuildRequires: libbzip2-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libdbus-glib-devel
|
|
BuildRequires: libexpat-devel
|
|
BuildRequires: libffi-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgraphite2-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libgypsy-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: liblzma-devel
|
|
BuildRequires: libmount-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libpcre-devel
|
|
BuildRequires: libpng-devel
|
|
BuildRequires: libselinux-devel
|
|
BuildRequires: libsepol-devel
|
|
BuildRequires: libsoup-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libgammu-devel
|
|
BuildRequires: libnm-devel >= 1.22.2
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
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.
|
|
|
|
%package apidocs
|
|
Group: Documentation
|
|
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 -n lib%{name}
|
|
Group: System/Libraries
|
|
Summary: Shared libraries for %{name}
|
|
|
|
%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 shared libraries for %{name}.
|
|
|
|
%package -n lib%{name}-devel
|
|
Group: Development/Libraries
|
|
Summary: Libraries and headers for %{name}
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-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 need for development.
|
|
|
|
%package -n lib%{name}-static
|
|
Group: Development/Libraries
|
|
Summary: Static libraries for %{name}
|
|
Requires: lib%{name}-devel = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description -n lib%{name}-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.
|
|
|
|
%package gpsd
|
|
Summary: gpsd provider for %{name}
|
|
Group: Development/Libraries
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: gpsd
|
|
|
|
%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}
|
|
|
|
%prep
|
|
%setup -q -n geoclue-%{version}
|
|
#%patch0 -p1 -b .nm08
|
|
#%patch1 -p1 -b .nmCrash
|
|
#%patch2 -p1
|
|
%patch3 -p1
|
|
|
|
#
|
|
#libtoolize
|
|
#gtkdocize
|
|
#autoreconf
|
|
|
|
%build
|
|
%configure \
|
|
--disable-gtk-doc \
|
|
--enable-gypsy=yes \
|
|
--enable-skyhook=yes \
|
|
--enable-gsmloc=yes \
|
|
--enable-gpsd=no
|
|
|
|
# --enable-networkmanager=yes \
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
mkdir %{buildroot}%{_bindir}
|
|
install -pm 755 test/.libs/geoclue-test-gui %{buildroot}%{_bindir}/
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libexecdir}/geoclue-example
|
|
%{_libexecdir}/geoclue-geonames
|
|
%{_libexecdir}/geoclue-hostip
|
|
%{_libexecdir}/geoclue-localnet
|
|
%{_libexecdir}/geoclue-manual
|
|
%{_libexecdir}/geoclue-master
|
|
%{_libexecdir}/geoclue-nominatim
|
|
%{_libexecdir}/geoclue-plazes
|
|
%{_libexecdir}/geoclue-skyhook
|
|
%{_libexecdir}/geoclue-yahoo
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Master.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Example.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Geonames.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Hostip.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Localnet.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Manual.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Nominatim.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Plazes.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Skyhook.service
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Yahoo.service
|
|
%dir %{_datadir}/geoclue-providers
|
|
%{_datadir}/geoclue-providers/geoclue-example.provider
|
|
%{_datadir}/geoclue-providers/geoclue-geonames.provider
|
|
%{_datadir}/geoclue-providers/geoclue-hostip.provider
|
|
%{_datadir}/geoclue-providers/geoclue-localnet.provider
|
|
%{_datadir}/geoclue-providers/geoclue-manual.provider
|
|
%{_datadir}/geoclue-providers/geoclue-nominatim.provider
|
|
%{_datadir}/geoclue-providers/geoclue-plazes.provider
|
|
%{_datadir}/geoclue-providers/geoclue-skyhook.provider
|
|
%{_datadir}/geoclue-providers/geoclue-yahoo.provider
|
|
%{_datadir}/GConf/gsettings/geoclue
|
|
%{_datadir}/glib-2.0/schemas/org.freedesktop.Geoclue.gschema.xml
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/geoclue
|
|
%{_datadir}/gtk-doc/html/geoclue/*
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgeoclue.so.*
|
|
%doc AUTHORS COPYING
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/geoclue
|
|
%{_includedir}/geoclue/*.h
|
|
%{_libdir}/libgeoclue.so
|
|
%{_libdir}/pkgconfig/geoclue.pc
|
|
%doc README
|
|
|
|
%files -n lib%{name}-static
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgeoclue.*a
|
|
|
|
#%files gpsd
|
|
#%defattr(-,root,root)
|
|
#%{_libexecdir}/geoclue-gpsd
|
|
#%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gpsd.service
|
|
#%{_datadir}/geoclue-providers/geoclue-gpsd.provider
|
|
|
|
%files gsmloc
|
|
%defattr(-,root,root)
|
|
%{_libexecdir}/geoclue-gsmloc
|
|
%{_datadir}/geoclue-providers/geoclue-gsmloc.provider
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gsmloc.service
|
|
|
|
%files gui
|
|
%defattr(-,root,root)
|
|
%{_bindir}/geoclue-test-gui
|
|
|
|
%files gypsy
|
|
%defattr(-,root,root)
|
|
%{_libexecdir}/geoclue-gypsy
|
|
%{_datadir}/dbus-1/services/org.freedesktop.Geoclue.Providers.Gypsy.service
|
|
%{_datadir}/geoclue-providers/geoclue-gypsy.provider
|
|
|
|
%changelog
|
|
* Fri Jan 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-9mamba
|
|
- rebuilt with libnm 1.22.2
|
|
|
|
* Sun Aug 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-8mamba
|
|
- remove provide and obsolete for non-legacy packages
|
|
|
|
* Mon Apr 21 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-7mamba
|
|
- libgeoclue0[-devel]: obsolete libgeoclue[-devel]
|
|
|
|
* Sat Apr 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-6mamba
|
|
- provide libgeoclue-devel and libgeoclue-static
|
|
|
|
* Fri Apr 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-5mamba
|
|
- libgeoclue0-static: fix requirement for libgeoclue0-devel
|
|
|
|
* Fri Apr 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-4mamba
|
|
- rename to geoclue0 (geoclue is version 2)
|
|
|
|
* Fri Apr 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.99-3mamba
|
|
- rename source to geoclue, keep only shared library in libgeoclue, other changes as a consequence
|
|
|
|
* 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
|