commit bad2a3b59fb70d885e930587987e0b4e2fe4e951f37b94f3e718e0f1630a1001 Author: Dirk Stoecker Date: Mon Aug 5 14:26:08 2013 +0000 Accepting request 185939 from home:dimstar:branches:GNOME:Factory Resubmit - without source service (no need) Addition of geoclue2 to the projects / openSUSE:Factory => required for gnome-maps. OBS-URL: https://build.opensuse.org/request/show/185939 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geoclue2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/geoclue-0.0.1.tar.xz b/geoclue-0.0.1.tar.xz new file mode 100644 index 0000000..6671c09 --- /dev/null +++ b/geoclue-0.0.1.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59178218c2d4b44d5df503c3ceeac4829339f53e2e1285b76a16211ad4910a1a +size 247832 diff --git a/geoclue2.changes b/geoclue2.changes new file mode 100644 index 0000000..9fd77f9 --- /dev/null +++ b/geoclue2.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Mon Aug 5 19:18:52 UTC 2013 - dimstar@opensuse.org + +- Initial package, version 0.0.1. + diff --git a/geoclue2.spec b/geoclue2.spec new file mode 100644 index 0000000..a509b84 --- /dev/null +++ b/geoclue2.spec @@ -0,0 +1,112 @@ +# +# spec file for package +# +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +Name: geoclue2 +%define _name geoclue +Version: 0.0.1 +Release: 0 +License: LGPL-2.1+ +Summary: GeoLocation Framework +Url: http://people.freedesktop.org/~zeenix/releases/ +Group: System/Libraries +BuildRequires: libtool +BuildRequires: intltool >= 0.40.0 +BuildRequires: gobject-introspection-devel >= 0.9.6 +BuildRequires: yelp-tools +BuildRequires: pkgconfig(glib-2.0) >= 2.32.0 +BuildRequires: pkgconfig(gio-2.0) >= 2.32.0 +BuildRequires: pkgconfig(gio-unix-2.0) >= 2.32.0 +BuildRequires: pkgconfig(geocode-glib-1.0) >= 0.99.1 +# Virtual provides for the dbus service +Provides: dbus(GeoClue2) = %{version} +Source: http://people.freedesktop.org/~zeenix/releases/%{_name}-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +GeoClue is a software framework which can be used to enable geospatial +awareness in applications. GeoClue uses the D-Bus inter-process +communication mechanism to provide location information + +%package -n libgeoclue-1_0-0 +Summary: GeoLocation Framework +Group: System/Libraries +# The main functionality is in the dbus service +Requires: dbus(GeoClue2) >= %{version} + +%description -n libgeoclue-1_0-0 +GeoClue is a software framework which can be used to enable geospatial +awareness in applications. GeoClue uses the D-Bus inter-process +communication mechanism to provide location information + +%package -n typelib-1_0-GeoClue-1_0 +Group: System/Libraries +summary: GeoLocation Framework -- Introspection bindings + +%description -n typelib-1_0-GeoClue-1_0 +GeoClue is a software framework which can be used to enable geospatial +awareness in applications. GeoClue uses the D-Bus inter-process +communication mechanism to provide location information + +%package devel +Summary: GeoLocation Framework -- Development files +Group: Development/Languages/C and C++ +Requires: libgeoclue-1_0-0 = %{version} +Requires: typelib-1_0-GeoClue-1_0= %{version} + +%description devel +GeoClue is a software framework which can be used to enable geospatial +awareness in applications. GeoClue uses the D-Bus inter-process +communication mechanism to provide location information + +%prep +%setup -q -n %{_name}-%{version} + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +find %{buildroot}%{_libdir} -type f -name '*.la' -delete -print + +%files +%defattr(-,root,root) +%doc README +%{_libexecdir}/geoclue +%dir %{_datadir}/dbus-1 +%dir %{_datadir}/dbus-1/services +%{_datadir}/dbus-1/services/org.freedesktop.GeoClue2.service + +%files -n libgeoclue-1_0-0 +%defattr(-,root,root) +%{_libdir}/libgeoclue-1.0.so.0 +%{_libdir}/libgeoclue-1.0.so.0.0.0 + +%files -n typelib-1_0-GeoClue-1_0 +%defattr(-,root,root) +%{_libdir}/girepository-1.0/Geoclue-1.0.typelib + +%files devel +%defattr(-,root,root) +%{_includedir}/geoclue-1.0/ +%{_libdir}/libgeoclue-1.0.so +%{_libdir}/pkgconfig/geoclue-1.0.pc +%{_datadir}/gir-1.0/Geoclue-1.0.gir + + +%changelog +