From bc56ad51ba279ca1cec8ee7302234690c71ca842 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 26 Aug 2013 15:35:42 +0200 Subject: [PATCH] Initial import (#999153) --- .gitignore | 1 + geoclue2.spec | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 96 insertions(+) create mode 100644 geoclue2.spec diff --git a/.gitignore b/.gitignore index e69de29..f3c05b9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/geoclue-1.99.2.tar.xz diff --git a/geoclue2.spec b/geoclue2.spec new file mode 100644 index 0000000..90730e2 --- /dev/null +++ b/geoclue2.spec @@ -0,0 +1,94 @@ +Name: geoclue2 +Version: 1.99.2 +Release: 3%{?dist} +Summary: Geolocation service + +License: GPLv2+ +URL: http://www.freedesktop.org/wiki/Software/GeoClue/ +Source0: http://people.freedesktop.org/~zeenix/releases/geoclue-%{version}.tar.xz + +BuildRequires: GeoIP-devel +BuildRequires: glib2-devel +BuildRequires: intltool +BuildRequires: itstool +BuildRequires: json-glib-devel +BuildRequires: libsoup-devel +Requires: dbus + +%description +Geoclue is a D-Bus service that provides location information. The primary goal +of the Geoclue project is to make creating location-aware applications as +simple as possible, while the secondary goal is to ensure that no application +can access location information without explicit permission from user. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains files for developing applications that +use %{name}. + + +%package server +Summary: Server for IP address geolocation +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description server +The %{name}-server package contains the geoip-lookup and geoip-update binaries +for running on IP address geolocation servers. + + +%prep +%setup -q -n geoclue-%{version} + + +%build +%configure +make %{?_smp_mflags} V=1 + + +%install +%make_install + + +%files +%doc COPYING NEWS +%{_sysconfdir}/dbus-1/system.d/org.freedesktop.GeoClue2.conf +%{_libexecdir}/geoclue +%{_datadir}/dbus-1/system-services/org.freedesktop.GeoClue2.service +%{_datadir}/geoclue-2.0/ + +%files devel +%{_libdir}/pkgconfig/geoclue-2.0.pc + +%files server +%doc src/geoip-server/API-Documentation.txt +%{_bindir}/geoip-lookup +%{_bindir}/geoip-update + + +%changelog +* Sun Aug 25 2013 Kalev Lember - 1.99.2-3 +- Update -devel subpackage description (#999153) + +* Sat Aug 24 2013 Kalev Lember - 1.99.2-2 +- Review fixes (#999153) +- Drop ldconfig calls that are unnecessary now that the shared library is gone +- Drop the build dep on gobject-introspection-devel +- Include API-Documentation.txt in the -server subpackage + +* Fri Aug 23 2013 Kalev Lember - 1.99.2-1 +- Update to 1.99.2 +- The shared library is gone in this release and all users should use the + dbus service directly + +* Wed Aug 21 2013 Kalev Lember - 1.99.1-3 +- Include geoip-lookup in the -server subpackage as well + +* Wed Aug 21 2013 Kalev Lember - 1.99.1-2 +- Ship geoip-update in -server subpackage + +* Tue Aug 20 2013 Kalev Lember - 1.99.1-1 +- Initial Fedora packaging diff --git a/sources b/sources index e69de29..9bf0312 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b7eb566cce5fb9f6aadc7d4b9cb284de geoclue-1.99.2.tar.xz