diff --git a/geome.spec b/geome.spec new file mode 100644 index 0000000..1bc6e8b --- /dev/null +++ b/geome.spec @@ -0,0 +1,47 @@ +Summary: Obtain your geolocation data from Google using NetworkManager +Name: geome +Version: 1.1 +Release: 2%{?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 python-argparse + +%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 +* Mon Apr 09 2012 Paul Wouters - 1.1-2 +- Initial package for Fedora +- add -p to install + +* Sun Apr 08 2012 Paul Wouters - 1.1-1 +- Fixups as per review bug rhbz#810417 + +* Fri Apr 06 2012 Paul Wouters - 1.0-1 +- Initial release and package +