packages gpsd22.spec
      Pages: < 1 >  DOWNLOAD      
Name:          gpsd22
Version:       3.16
Release:       3mamba
Summary:       A service daemon that monitors one or more GPSes attached to a host computer
Group:         Graphical Desktop/Applications/Utilities
Vendor:        openmamba
Distribution:  openmamba
Packager:      Silvan Calarco <silvan.calarco@...>
URL:           http://gpsd.berlios.de
Source:        http://download-mirror.savannah.gnu.org/releases/gpsd/gpsd-%{version}.tar.gz
Patch0:        gpsd-3.7-rpath.patch
Patch1:        gpsd22-3.16-missing_include.patch
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libexpat-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libncurses-devel
BuildRequires: libpython-devel
BuildRequires: libstdc++6-devel
%if "%{stage1}" != "1"
BuildRequires: libICE-devel
BuildRequires: liblesstif-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXaw-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXft-devel
BuildRequires: libXp-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
%endif
BuildRequires: libz-devel
## AUTOBUILDREQ-END
License:       GPL
Requires:      libgps22 = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

%description
gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd.
Besides gpsd itself, the project provides auxiliary tools for diagnostic monitoring and profiling of GPSes and feeding GPS-aware applications specified track data for diagnostic purposes.
The goal of the gpsd project is to create a solid layer of open-source infrastructure for programs running under Linux and other open-source Unixes that want to be location-sensitive. We aim for simple, robust interfaces, unfussy operation, and an easy learning curve for application developers. Applications that presently use gpsd include pyGPS, Kismet, GPSdrive, gpeGPS, position, roadmap, roadnav, navit, viking, and gaia.

%package -n libgps22
Summary:       GPS libraries provided by %{name}
Group:         System/Libraries

%description -n libgps22
gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd.
This package contains the QT binding library for libgps.

%package -n libgps22-devel
Summary:       Devel package for libgps
Group:         Development/Libraries
Requires:      libgps22 = %{?epoch:%epoch:}%{version}-%{release}

%description -n libgps22-devel
gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd.
This package contains static libraries and header files need for development.

%package -n libgps22-qt
Summary:       QT binding for libgps
Group:         Development/Libraries

%description -n libgps22-qt
gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd.
This package contains the QT binding library for libgps.

%package -n libgps22-qt-devel
Summary:       Development package for libgps-qt
Group:         Development/Libraries
Requires:      libgps22-devel = %{?epoch:%epoch:}%{version}-%{release}
Requires:      libgps22-qt = %{?epoch:%epoch:}%{version}-%{release}

%description -n libgps22-qt-devel
gpsd is a service daemon that monitors one or more GPSes attached to a host computer through serial or USB ports, making all data on the location/course/velocity of the sensors available to be queried on TCP port 2947 of the host computer. With gpsd, multiple GPS client applications (such as navigational and wardriving software) can share access to GPSes without contention or loss of data. Also, gpsd responds to queries with a format that is substantially easier to parse than the NMEA 0183 emitted by most GPSes. The gpsd distribution includes a linkable C service library, a C++ wrapper class, and a Python module that developers of gpsd-aware applications can use to encapsulate all communication with gpsd.
This package contains the QT binding library for libgps.

%prep
%setup -q -n gpsd-%{version}
#%patch0 -p1
%patch1 -p1

%build
export CFLAGS="%{optflags} -std=gnu++98"
export CXXFLAGS="%{optflags} -std=gnu++98"
scons prefix=%{_prefix} libdir=%{_lib} python_libdir=%{python_sitelib}

#% configure
#%if "%{_build}" != "%{_host}"
#sed -i "s|-I%{_includedir}|-I%{_prefix}/%{_host}/include|" Makefile
#%endif

%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export CFLAGS="%{optflags} -std=gnu++98"
export CXXFLAGS="%{optflags} -std=gnu++98"
export DESTDIR=%{buildroot}
scons install prefix=%{_prefix} libdir=%{_lib} python_libdir=%{python_sitelib}

%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%files
%defattr(-,root,root)
%{_bindir}/*
%{_sbindir}/gpsd
%{_sbindir}/gpsdctl
%if "%{_build}" == "%{_host}"
%{python_sitelib}/gps*
%else
%exclude %{python_sitelib}/gps*
%endif
%{_mandir}/man1/*
%{_mandir}/man8/*

%files -n libgps22
%defattr(-,root,root)
%{_libdir}/libgps.so.*

%files -n libgps22-devel
%defattr(-,root,root)
%{_includedir}/*.h
%{_libdir}/libgps.so
%{_libdir}/pkgconfig/libgps.pc
%{_libdir}/pkgconfig/libgpsd.pc
%{_mandir}/man3/*
%{_mandir}/man5/*

%files -n libgps22-qt
%defattr(-,root,root)
%{_libdir}/libQgpsmm.so.*

%files -n libgps22-qt-devel
%defattr(-,root,root)
%{_libdir}/libQgpsmm.so
%{_libdir}/libQgpsmm.prl
%{_libdir}/pkgconfig/Qgpsmm.pc

%changelog
* Sun Jun 30 2019 Silvan Calarco <silvan.calarco@...> 3.16-3mamba
- fix legacy subpackages names

* Sat Jun 29 2019 Silvan Calarco <silvan.calarco@...> 3.16-2mamba
- legacy package

* Mon Jan 11 2016 Automatic Build System <autodist@...> 3.16-1mamba
- automatic version update by autodist

* Fri Aug 21 2015 Automatic Build System <autodist@...> 3.15-1mamba
- automatic version update by autodist

* Thu Oct 02 2014 Automatic Build System <autodist@...> 3.11-1mamba
- automatic version update by autodist

* Wed May 08 2013 Automatic Build System <autodist@...> 3.9-1mamba
- automatic version update by autodist

* Tue Apr 30 2013 Automatic Build System <autodist@...> 3.8-1mamba
- automatic version update by autodist

* Fri Aug 10 2012 Automatic Build System <autodist@...> 3.7-1mamba
- update to 3.7

* Fri Aug 10 2012 Automatic Build System <autodist@...> 3.4-1mamba
- automatic version update by autodist

* Sun Mar 27 2011 Automatic Build System <autodist@...> 2.96-1mamba
- automatic update by autodist

* Mon Oct 11 2010 Automatic Build System <autodist@...> 2.95-1mamba
- automatic update by autodist

* Fri Apr 30 2010 Silvan Calarco <silvan.calarco@...> 2.94-1mamba
- update to 2.94

* Wed Jan 13 2010 Automatic Build System <autodist@...> 2.90-1mamba
- automatic update by autodist

* Mon May 18 2009 Automatic Build System <autodist@...> 2.39-2mamba
- automatic rebuild by autodist

* Thu Apr 16 2009 Silvan Calarco <silvan.calarco@...> 2.39-1mamba
- automatic update by autodist

* Thu Mar 05 2009 Silvan Calarco <silvan.calarco@...> 2.38-1mamba
- automatic update by autodist

* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@...> 2.37-1mamba
- package created by autospec