Blob Blame History Raw
Summary: Obtain your geolocation data from Google using NetworkManager
Name: geome
Version: 1.1
Release: 3%{?dist}
License: GPLv3
Url:  http://nohats.ca/%{name}
Source: http://nohats.ca/%{name}/%{name}-%{version}.tar.gz
Group: Applications/Internet
BuildArch: noarch
Requires: dbus-python python-simplejson

%description
geome queries NetworkManager for its wifi information, such as ESSID's
and signal strength, and sends it to Google Location to obtain your
geographic location. 
It can return all of the information Google returns, or with the -s
flag, only return the latitude/longitude. This last mode is used by
the Pidgin OTR nearby friends plugin.

%prep
%setup -q 

%build

%install
mkdir -p %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man1

install -p -m 0755 geome %{buildroot}%{_bindir}
install -p -m 644 geome.1 %{buildroot}%{_mandir}/man1
gzip %{buildroot}%{_mandir}/man1/geome.1

%files 
%doc README COPYING
%{_bindir}/geome
%{_mandir}/man1/geome.1*

%changelog
* Tue Apr 10 2012 Paul Wouters <pwouters@redhat.com> - 1.1-3
- Removed python-argparse which is folderd into python
  on Fedora (not EL)

* Mon Apr 09 2012 Paul Wouters <pwouters@redhat.com> - 1.1-2
- Initial package for Fedora
- add -p to install

* Sun Apr 08 2012 Paul Wouters <pwouters@redhat.com> - 1.1-1
- Fixups as per review bug rhbz#810417

* Fri Apr 06 2012 Paul Wouters <pwouters@redhat.com> - 1.0-1
- Initial release and package