Dr. Tilmann Bubeck 06f63b4
Name:          foxtrotgps
d170f95
Version:       1.2.0
547757c
Release:       8%{?dist}
Dr. Tilmann Bubeck 06f63b4
Summary:       GTK+ mapping and GPS application
Dr. Tilmann Bubeck 06f63b4
Group:         Applications/Productivity
Dr. Tilmann Bubeck 06f63b4
License:       GPLv2
Dr. Tilmann Bubeck 06f63b4
URL:           http://www.foxtrotgps.org
Dr. Tilmann Bubeck 06f63b4
Source0:       http://www.foxtrotgps.org/releases/%{name}-%{version}.tar.xz
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
BuildRequires: bluez-libs-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: dbus-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: gtk2-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: libglade2-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: GConf2-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: libcurl-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: libexif-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: libxml2-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: sqlite-devel
Dr. Tilmann Bubeck 06f63b4
BuildRequires: gettext
Dr. Tilmann Bubeck 06f63b4
BuildRequires: desktop-file-utils
Dr. Tilmann Bubeck 06f63b4
BuildRequires: intltool
Dr. Tilmann Bubeck 06f63b4
BuildRequires: gpsd-devel
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
Requires: gpsd
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
# The following two package are only needed, if someone wants
Dr. Tilmann Bubeck 06f63b4
# to geotag photos, which is an optional functionality. We 
Dr. Tilmann Bubeck 06f63b4
# decided to include them, because then all functionality is
Dr. Tilmann Bubeck 06f63b4
# available without manual package installation.
Dr. Tilmann Bubeck 06f63b4
Requires: gpscorrelate
Dr. Tilmann Bubeck 06f63b4
Requires: jhead
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
Requires(pre): GConf2
Dr. Tilmann Bubeck 06f63b4
Requires(post): GConf2
Dr. Tilmann Bubeck 06f63b4
Requires(preun): GConf2
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%description
Dr. Tilmann Bubeck 06f63b4
FoxtrotGPS is an easy-to-use graphical tool that can be used
Dr. Tilmann Bubeck 06f63b4
to track the position of a GPS receiver on a map in relation to
Dr. Tilmann Bubeck 06f63b4
user-defined points of interest (POIs), a destination and waypoints,
Dr. Tilmann Bubeck 06f63b4
and tracks loaded from files or internet routing-services.
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
FoxtrotGPS also allows internet-connected users to share their position
Dr. Tilmann Bubeck 06f63b4
with other users and send messages.
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 5a10a9f
By default it uses map data from the OpenStreetMap.org project; 
Dr. Tilmann Bubeck 06f63b4
additionally a variety of other repositories can easily be added.
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%prep
Dr. Tilmann Bubeck 06f63b4
%setup -q
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%build
Dr. Tilmann Bubeck 06f63b4
%configure --disable-schemas-install
Dr. Tilmann Bubeck 06f63b4
make %{?_smp_mflags}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%install
Dr. Tilmann Bubeck 06f63b4
make install DESTDIR=%{buildroot}
Dr. Tilmann Bubeck 06f63b4
d170f95
sed -i 's/Lieu/Lieu;/' %{buildroot}/usr/share/applications/foxtrotgps.desktop
Dr. Tilmann Bubeck 06f63b4
desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
Dr. Tilmann Bubeck 06f63b4
rm -rf %{buildroot}/usr/share/doc/%{name}/
d170f95
rm -rf %{buildroot}/usr/share/info/dir
Dr. Tilmann Bubeck 06f63b4
mv %{buildroot}%{_sysconfdir}/gconf/schemas/apps_foxtrotgps.schemas %{buildroot}%{_sysconfdir}/gconf/schemas/%{name}.schemas
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%find_lang %{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%pre
Dr. Tilmann Bubeck 06f63b4
%gconf_schema_prepare %{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%post
Dr. Tilmann Bubeck 06f63b4
%gconf_schema_upgrade %{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%preun
Dr. Tilmann Bubeck 06f63b4
%gconf_schema_remove %{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%files -f %{name}.lang
d170f95
%{!?_licensedir:%global license %%doc}
d170f95
%license COPYING
d170f95
%doc AUTHORS HACKING NEWS
Dr. Tilmann Bubeck 06f63b4
%doc contrib/README.osb2foxtrot
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/foxtrotgps
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/convert2gpx
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/convert2osm
d170f95
%{_bindir}/gpx2osm
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/poi2osm
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/osb2foxtrot
Dr. Tilmann Bubeck 06f63b4
%{_bindir}/georss2foxtrotgps-poi
Dr. Tilmann Bubeck 06f63b4
%{_datadir}/applications/%{name}.desktop
Dr. Tilmann Bubeck 06f63b4
%{_datadir}/pixmaps/foxtrotgps.png
Dr. Tilmann Bubeck 06f63b4
%{_datadir}/pixmaps/foxtrotgps-*.png
Dr. Tilmann Bubeck 06f63b4
%{_mandir}/man?/*
d170f95
%{_infodir}/foxtrotgps.info.gz
Dr. Tilmann Bubeck 06f63b4
%{_sysconfdir}/gconf/schemas/%{name}.schemas
Dr. Tilmann Bubeck 06f63b4
%{_datadir}/%{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 06f63b4
%changelog
547757c
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
547757c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
547757c
ad633f7
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
ad633f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
ad633f7
e4ecd59
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-6
e4ecd59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e4ecd59
45b5a61
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
45b5a61
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
45b5a61
ccad814
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
ccad814
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ccad814
fba5204
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
fba5204
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
fba5204
02d621a
* Thu Mar 27 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-2
02d621a
- Rebuild (gpsd)
02d621a
d170f95
* Mon Mar  2 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-1
d170f95
- Update to 1.2.0 (rhbz 1157448)
d170f95
- Use %%licenese
d170f95
d44c877
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-9
d44c877
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d44c877
742ddd7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-8
742ddd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
742ddd7
Dr. Tilmann Bubeck 395950e
* Wed Nov 27 2013 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 1.1.1-7
Dr. Tilmann Bubeck 395950e
- Rebuilt, because libgps was updated. Fixed dates in specfile.
Dr. Tilmann Bubeck 395950e
5198a6d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
5198a6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5198a6d
315db77
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-5
315db77
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
315db77
Dr. Tilmann Bubeck e061a5f
* Sat Aug 04 2012 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 1.1.1-4
Dr. Tilmann Bubeck e061a5f
- Obsoletes: tangogps
Dr. Tilmann Bubeck e061a5f
Dr. Tilmann Bubeck 5a10a9f
* Sat Aug 04 2012 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 1.1.1-3
Dr. Tilmann Bubeck 5a10a9f
- fixed typo in description
Dr. Tilmann Bubeck 5a10a9f
Dr. Tilmann Bubeck 395950e
* Wed Aug 01 2012 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 1.1.1-2
Dr. Tilmann Bubeck 06f63b4
- removed Requires: dbus, cleaned up spec file, 
Dr. Tilmann Bubeck 06f63b4
  removed EPEL 5 support, consistent use of %{buildroot} and %{name}
Dr. Tilmann Bubeck 06f63b4
Dr. Tilmann Bubeck 395950e
* Tue Jul 31 2012 Dr. Tilmann Bubeck <t.bubeck@reinform.de> - 1.1.1-1
Dr. Tilmann Bubeck 06f63b4
- initial package based upon Fedora's tangogps.spec
Dr. Tilmann Bubeck 06f63b4