⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gpsd.spec.in

📁 gpsd, a popular GPS daemon.
💻 IN
📖 第 1 页 / 共 3 页
字号:
%define pkgconfig_version 0.12Name: gpsdSummary: Service daemon for mediating access to a GPSVersion: @VERSION@Release: 1License: BSDGroup: System Environment/DaemonsURL: http://developer.berlios.de/projects/gpsd/Source0: %{name}-%{version}.tar.gzBuildRequires: ncurses-devel gcc libxslt pythonBuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root#Destinations: mailto:gpsd-announce@lists.berlios.de, mailto:gpsd-users@lists.berlios.de, mailto:gpsd-dev@lists.berlios.de%description gpsd is a service daemon that mediates access to a GPS sensorconnected to the host computer by serial or USB interface, making itsdata on the location/course/velocity of the sensor available to bequeried on TCP port 2947 of the host computer.  With gpsd, multipleGPS client applications (such as navigational and wardriving software)can share access to a GPS without contention or loss of data.  Also,gpsd responds to queries with a format that is substantially easier toparse than NMEA 0183.  A client library is provided for applications.After installing this RPM, gpsd will automatically connect to USBGPSes when they are plugged in and requires no configuration.  Forserial GPSes, you will need to start gpsd by hand.  Once connected,the daemon automatically discovers the correct baudrate, stop bits,and protocol. The daemon will be quiescent when there are noclients asking for location information, and copes gracefully when theGPS is unplugged and replugged.%package -n gpsd-develSummary: Client libraries in C and Python for talking to a running gpsd or GPSGroup: Development/LibrariesBuildRequires: pkgconfig >= %{pkgconfig_version}Requires: gpsd%description -n gpsd-develThis package provides C header files for the gpsd shared librariesthat manage access to a GPS for applications; also Python modules.You will need to have gpsd installed for it to work.%package -n gpsd-clientsSummary: Clients for gpsd with an X interfaceGroup: Applications/SystemBuildRequires: lesstif-devel##############################################################################  libXaw-devel was repackaged for FC6; on FC<6 this package is not required ##############################################################################BuildRequires: libXaw-devel%description -n gpsd-clientsxgps is a simple test client for gpsd with an X interface. It displayscurrent GPS position/time/velocity information and (for GPSes thatsupport the feature) the locations of accessible satellites.xgpsspeed is a speedometer that uses position information from the GPS.It accepts an -h option and optional argument as for gps, or a -v optionto dump the package version and exit. Additionally, it accepts -rv(reverse video) and -nc (needle color) options.cgps resembles xgps, but without the pictorial satellite display.  Itcan run on a serial terminal or terminal emulator.%prep%setup -q%build############################################################################                                                                         ##  Append configure options to the ./autogen.sh script command line       ##  Examples:                                                              ##      ./autogen.sh --disable-earthmate                                   ##      ./autogen.sh --disable-reconfigure                                 ##                                                                         ############################################################################./autogen.sh LDFLAGS=-smake %{?_smp_mflags}%install[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"%makeinstall# additional gpsd filesmkdir -p "$RPM_BUILD_ROOT"%{_libdir}/X11/app-defaults/cp xgps.ad "$RPM_BUILD_ROOT"%{_libdir}/X11/app-defaults/xgpscp xgpsspeed.ad "$RPM_BUILD_ROOT"%{_libdir}/X11/app-defaults/xgpsspeedmkdir -p "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug/usbcp gpsd.hotplug gpsd.usermap "$RPM_BUILD_ROOT"%{_sysconfdir}/hotplug/usb/%clean[ "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"%post -n gpsd/sbin/ldconfig%postun -n gpsd/sbin/ldconfig# /usr/lib/python* has to be wired in below because the autoconf-generated # Python installation production drops Python stuff in /usr/lib even on a# 64-bit system, where ${_libdir} will expand to /usr/lib64.%files%defattr(-,root,root,-)%doc README INSTALL COPYING%attr(755, root, root) %{_sbindir}/gpsd%attr(755, root, root) %{_bindir}/gpsctl%attr(755, root, root) %{_bindir}/gpsprof%attr(755, root, root) %{_bindir}/sirfmon%{_libdir}/libgps.la%{_libdir}/libgps.so*%{_libdir}/libgps.a%{_mandir}/man8/gpsd.8*%{_mandir}/man1/gpsprof.1*%{_mandir}/man1/sirfmon.1*%{_mandir}/man1/gpsctl.1*%{_sysconfdir}/hotplug/usb/gpsd.hotplug%{_sysconfdir}/hotplug/usb/gpsd.usermap%attr(755, root, root) /usr/lib/python*/site-packages/gps.py*#%{_datadir}/gpsd/dgpsip-servers%files -n gpsd-devel%defattr(-,root,root,-)%doc README INSTALL COPYING TODO%attr(755, root, root) %{_bindir}/gpscat%attr(755, root, root) %{_bindir}/gpsfake%attr(755, root, root) %{_bindir}/rtcmdecode%attr(755, root, root) %{_bindir}/gpsflash/usr/lib/python*/site-packages/gpsfake.py*/usr/lib/python*/site-packages/gpspacket.so*%{_includedir}/gps.h%{_includedir}/libgpsmm.h%{_includedir}/gpsd.h%{_mandir}/man1/gpscat.1*%{_mandir}/man1/gpsfake.1*%{_mandir}/man1/rtcmdecode.1*%{_mandir}/man1/gpsflash.1*%{_mandir}/man3/libgps.3*%{_mandir}/man3/libgpsmm.3*%{_mandir}/man3/libgpsd.3*%{_mandir}/man5/rtcm-104.5*%{_mandir}/man5/srec.5*%{_libdir}/pkgconfig/*%files -n gpsd-clients%defattr(-,root,root,-)%attr(755, root, root) %{_bindir}/xgps%attr(755, root, root) %{_bindir}/xgpsspeed%attr(755, root, root) %{_bindir}/cgps%attr(755, root, root) %{_bindir}/gpspipe%attr(755, root, root) %{_bindir}/cgpxlogger%{_mandir}/man1/gps.1*%{_mandir}/man1/cgps.1*%{_mandir}/man1/cgpxlogger.1*%{_mandir}/man1/xgps.1*%{_mandir}/man1/xgpsspeed.1*%{_mandir}/man1/gpspipe.1*%{_libdir}/X11/app-defaults/xgps%{_libdir}/X11/app-defaults/xgpsspeed%changelog* Tue Jan 1 2008 Eric S. Raymond <esr@snark.thyrsus.com> - 2.36- Urgent fix to leap-day calculation affecting dates from today to  28 Feb on generic NMEA GPSes, Zodiacs, and SirFs emitting message 0x62.  Integrated Garmin Simple Text Protocol driver from Peter Slansky.  Minor fixes in error modeling and a better NaN guard stabilize the  Trimble regression tests.  Remove the wired-in NTP time offset from the   NMEA driver, this could only have worked by accident and should be  set in ntpd.conf. Integrated Ashtech driver from Chris Kuethe.* Mon Dec 10 2007 Eric S. Raymond <esr@snark.thyrsus.com> - 2.35-1- Navcom driver merged. Removed -d -f and -p options of gpsd; these   have been undocumented for a while.  Make gpsd play well with pkgconfig.  Incorrect computation of VDOP when GPSes didn't supply it has been fixed.  The xgps code has been revamped and now has a much nicer interface.  Add -b (no-configuration) option as a sadly clumsy workaround for some  problems with Bluetooth receivers.  Added tests for Haicom-305N and Pharos   360; separated out the tests for the unstable Trimble drivers.  32-vs-64-bit problems in the regression tests have been solved.* Thu Dec 14 2006 Eric S. Raymond <esr@snark.thyrsus.com> - 2.34-1- Fix for byte-swapping of Zodiac control messages on big-endian hardware.    Disable iTalk by default and note that it needs to be tested.  Command line  arguments can now be DGPSIP or NTRIP URLs; -d is deprecated. Added udev  rules.  Address excessive processor and memory utilization on SBCs; it's  now possible to configure compile-time limits on the number of devices  and client sessions.  Eliminate use of fuser(1) in gpsfake.  Get gpsd  working with EarthMates again, this had been broken since 2.15.  Massive   string safety audit and OpenBSD port by Chris Kuethe.  J command added.  The gpsctl and gpscat tools and the gpsd.phps script were added.  Switched   to lesstif from openmotif.  Better autodetection of DLE-led packet   protocols (notably TSIP and Garmin binary) and of SiRFStar I and III  devices.  Fixed buggy parsing and generation of PGRME. * Fri Jun  9 2006 Eric S. Raymond <esr@snark.thyrsus.com> - 2.33-1- Fix bad unit conversion in V output.  Clean up some man-page messes.  Fixed buggy libgps parsing of multiple responses.  It's now possible  to lock gpsd to a fixed speed at compile time for embedded use.  Added  NTRIP support, thanks to Ville Nuorvala.  O command now ships an  explicit mode field.* Sun Mar 12 2006 Eric S. Raymond <esr@snark.thyrsus.com> - 2.32-1- Cleanup of the xgps layout, and minor memory-leak fixes for xgps.  Fix  to cope with Antares uBlox by Andreas Stricker.  Minor fix to libgps  cgpxlogger.  Merge cgpxlogger and gpxlogger documentation onto  the xgps(1) manual page and rename it gps(1).* Fri Feb 17 2006 Eric S. Raymond <esr@snark.thyrsus.com> - 2.31-1- Now builds and runs under Cygwin.  Correct the speed units in  synthetic NMEA.  Slightly better time handling under NMEA.  Daemon  now builds with all but NMEA disabled.  Update the leap-second

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -