openmamba logo
GNU/Linux distribution
distribution community wiki forum bugs events products
software   community wiki forum bugs events products
packages libgeoclue.spec
      Pages: < 1 >  DOWNLOAD      
Name:          libgeoclue
Version:       0.11.1
Release:       1mamba
Summary:       a modular geoinformation service
Group:         System/Libraries
Vendor:        openmamba
Distribution:  openmamba
Packager:      gil <puntogil@...>
URL:           http://www.freedesktop.org/wiki/Software/GeoClue
Source:        http://folks.o-hand.com/jku/geoclue-releases/geoclue-%{version}.tar.gz
License:       LGPL
BuildRequires: libnm-devel
BuildRequires: gpsd-devel
## AUTOBUILDREQ-BEGIN
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: gpsd-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libgypsy-devel
BuildRequires: libpango-devel
BuildRequires: libxml2-devel
BuildRequires: ORBit2-devel
## AUTOBUILDREQ-END
Requires:      libdbus
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.

Geoclue defines a set of geoinformation APIs, but it also includes
some providers that implement those APIs. Here is a list of services
provided through Geoclue with the currently included implementations:

Position
    gpsd, gypsy, hostip, plazes, gsmloc 
Address
    hostip, plazes, manual, localnet 
Velocity
    gpsd, gypsy 
Geocode
    geonames, yahoo 
ReverseGeocode
    geonames


%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 devel
Group:         Development/Libraries
Summary:       Libraries and headers for %{name}
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 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 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:    Development/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.

%prep

%setup -q -n geoclue-%{version}

%build
%configure
%make

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%{_libdir}/libgeoclue.so.*
%{_libexecdir}/geoclue-example
%{_libexecdir}/geoclue-geonames
%{_libexecdir}/geoclue-hostip
%{_libexecdir}/geoclue-localnet
%{_libexecdir}/geoclue-manual
%{_libexecdir}/geoclue-master
%{_libexecdir}/geoclue-plazes
%{_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.Plazes.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-plazes.provider
%{_datadir}/geoclue-providers/geoclue-yahoo.provider
%doc AUTHORS COPYING README

%files apidocs
%defattr(-,root,root)
%dir %{_datadir}/gtk-doc/html/geoclue
%{_datadir}/gtk-doc/html/geoclue/*.html
%{_datadir}/gtk-doc/html/geoclue/geoclue.devhelp
%{_datadir}/gtk-doc/html/geoclue/geoclue.devhelp2
%{_datadir}/gtk-doc/html/geoclue/index.sgml
%{_datadir}/gtk-doc/html/geoclue/style.css
%{_datadir}/gtk-doc/html/geoclue/*.png

%files devel
%defattr(-,root,root)
%dir %{_includedir}/geoclue
%{_includedir}/geoclue/*.h
%{_libdir}/libgeoclue.so
%{_exec_prefix}/lib/pkgconfig/geoclue.pc

%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 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

%files static
%defattr(-,root,root)
%{_libdir}/libgeoclue.a
%{_libdir}/libgeoclue.la

%changelog
* Wed Apr 01 2009 gil <puntogil@...> 0.11.1-1mamba
- package created by autospec