rpms/gpsd/F-9 .cvsignore, 1.7, 1.8 gpsd.spec, 1.20, 1.21 sources, 1.7, 1.8 python-pyexecdir-install-gpsd-2.37.patch, 1.1, NONE zero.patch, 1.1, NONE

Douglas E. Warner silfreed at fedoraproject.org
Thu Mar 19 18:49:20 UTC 2009


Author: silfreed

Update of /cvs/pkgs/rpms/gpsd/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13302

Modified Files:
	.cvsignore gpsd.spec sources 
Removed Files:
	python-pyexecdir-install-gpsd-2.37.patch zero.patch 
Log Message:
* Thu Mar 19 2009 Douglas E. Warner <silfreed at silfreed.net> - 2.39-1
- updating to 2.39
- fixed potential core dump in C client handling of "K" responses
- Made device hotplugging work again; had been broken by changes in udev
- Introduced major and minor API version symbols into the public interfaces
- The sirfmon utility is gone, replaced by gpsmon which does the same job
  for multiple GPS types
- Fixed a two-year old error in NMEA parsing that nobody noticed because its
  only effect was to trash VDOP values from GSA sentences, and gpsd computes
  those with an internal error model when they look wonky
- cgpxlogger has been merged into gpxlogger
- Speed-setting commands now allow parity and stop-bit setting if the GPS
  chipset and adaptor can support it
- Specfile and other packaging paraphenalia now live in a packaging
  subdirectory
- rtcmdecode becomes gpsdecode and can now de-armor and dump AIDVM packets
- The client library now work correctly in locales where the decimal separator
  is not a period



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/F-9/.cvsignore,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- .cvsignore	28 Feb 2008 18:51:06 -0000	1.7
+++ .cvsignore	19 Mar 2009 18:48:49 -0000	1.8
@@ -1,2 +1 @@
-gpsd-2.37.tar.gz
-gpsd-logo.png
+gpsd-2.39.tar.gz


Index: gpsd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/F-9/gpsd.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- gpsd.spec	20 Mar 2008 00:46:42 -0000	1.20
+++ gpsd.spec	19 Mar 2009 18:48:49 -0000	1.21
@@ -1,8 +1,8 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name: gpsd
-Version: 2.37
-Release: 2%{?dist}
+Version: 2.39
+Release: 1%{?dist}
 Summary: Service daemon for mediating access to a GPS
 
 Group: System Environment/Daemons
@@ -12,15 +12,21 @@
 Source1: xgps.desktop
 Source2: xgpsspeed.desktop
 Source3: gpsd-logo.png
-Patch0: python-pyexecdir-install-gpsd-2.37.patch
-Patch1: zero.patch
+Source10: gpsd.init
+Source11: gpsd.sysconfig
+Source21: gpsd.hotplug.wrapper
+Patch0: python-pyexecdir-install-gpsd-2.38.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires: dbus-devel dbus-glib-devel ncurses-devel xmlto python-devel
 BuildRequires: lesstif-devel libXaw-devel desktop-file-utils
 BuildRequires: python
 
+Requires: udev
 Requires(post): /sbin/ldconfig
+Requires(post): /sbin/chkconfig
+Requires(preun): initscripts
+Requires(preun): /sbin/chkconfig
 Requires(postun): /sbin/ldconfig
 
 %description 
@@ -64,7 +70,6 @@
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p0
 
 
 %build
@@ -84,16 +89,33 @@
 %{__install} -p -m 0644 xgpsspeed.ad \
 	%{buildroot}%{_datadir}/X11/app-defaults/xgpsspeed
 
+# init scripts
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/init.d
+%{__install} -p -m 0755 %{SOURCE10} \
+	%{buildroot}%{_sysconfdir}/init.d/gpsd
+
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/sysconfig
+%{__install} -p -m 0644 %{SOURCE11} \
+	%{buildroot}%{_sysconfdir}/sysconfig/gpsd
+
+# udev rules
+%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/udev/rules.d
+%{__install} -p -m 0644 gpsd.rules \
+	%{buildroot}%{_sysconfdir}/udev/rules.d/99-gpsd.rules
+
 # hotplug script
-%{__install} -d -m 0755 %{buildroot}%{_sysconfdir}/hotplug.d/usb
-%{__install} -p -m 0644 gpsd.hotplug gpsd.usermap \
-	%{buildroot}%{_sysconfdir}/hotplug.d/usb/
+%{__install} -d -m 0755 %{buildroot}/lib/udev
+%{__install} -p -m 0755 gpsd.hotplug %{SOURCE21} \
+	%{buildroot}/lib/udev
+
+# create new gpxlogger man page
+%{__cp} -p %{buildroot}%{_mandir}/man1/cgpxlogger.1 \
+	%{buildroot}%{_mandir}/man1/gpxlogger.1
 
 # remove .la files
 rm -f %{buildroot}%{_libdir}/libgps.la
 
 # fix non-executable libraries
-%{__chmod} +x %{buildroot}%{_libdir}/libgps.so.17.0.0
 %{__chmod} +x %{buildroot}%{python_sitearch}/gpspacket.so
 
 # fix non-executable python script
@@ -118,7 +140,15 @@
 rm -rf %{buildroot}
 
 
-%post -p /sbin/ldconfig
+%post
+/sbin/ldconfig
+/sbin/chkconfig --add %{name}
+
+%preun
+if [ $1 = 0 ]; then
+	/sbin/service %{name} stop > /dev/null 2>&1 || true
+	/sbin/chkconfig --del %{name}
+fi
 
 %postun -p /sbin/ldconfig
 
@@ -126,25 +156,28 @@
 %files
 %defattr(-,root,root,-)
 %doc README INSTALL COPYING
+%config(noreplace) %{_sysconfdir}/init.d/%{name}
+%config(noreplace) %{_sysconfdir}/sysconfig/%{name}
+%config(noreplace) %{_sysconfdir}/udev/rules.d/*
 %{_sbindir}/gpsd
 %{_bindir}/gpsprof
-%{_bindir}/sirfmon
+%{_bindir}/gpsmon
 %{_bindir}/gpsctl
 %{_libdir}/libgps.so.*
+/lib/udev/gpsd*
 %{python_sitearch}/gps.py*
+%{python_sitearch}/gpscap.py*
+%{python_sitearch}/gpslib.so
 %{python_sitearch}/gpspacket.so
 %{_mandir}/man8/gpsd.8*
 %{_mandir}/man1/gpsprof.1*
-%{_mandir}/man1/sirfmon.1*
+%{_mandir}/man1/gpsmon.1*
 %{_mandir}/man1/gpsctl.1*
-%{_sysconfdir}/hotplug.d/usb/gpsd.hotplug
-%{_sysconfdir}/hotplug.d/usb/gpsd.usermap
 
 %files devel
 %defattr(-,root,root,-)
 %doc TODO
 %{_bindir}/gpsfake
-%{_bindir}/rtcmdecode
 %{_bindir}/gpsflash
 %{_libdir}/libgps.so
 %{_libdir}/pkgconfig/*.pc
@@ -153,7 +186,6 @@
 %{_includedir}/libgpsmm.h
 %{_includedir}/gpsd.h
 %{_mandir}/man1/gpsfake.1*
-%{_mandir}/man1/rtcmdecode.1*
 %{_mandir}/man1/gpsflash.1*
 %{_mandir}/man3/libgps.3*
 %{_mandir}/man3/libgpsmm.3*
@@ -163,20 +195,23 @@
 
 %files clients
 %defattr(-,root,root,-)
-%{_bindir}/xgps
-%{_bindir}/xgpsspeed
 %{_bindir}/cgps
+%{_bindir}/gpscat
+%{_bindir}/gpsdecode
 %{_bindir}/gpspipe
 %{_bindir}/gpxlogger
-%{_bindir}/cgpxlogger
-%{_bindir}/gpscat
+%{_bindir}/lcdgps
+%{_bindir}/xgps
+%{_bindir}/xgpsspeed
+%{_mandir}/man1/cgpxlogger.1*
 %{_mandir}/man1/gps.1*
+%{_mandir}/man1/gpsdecode.1*
 %{_mandir}/man1/gpspipe.1*
+%{_mandir}/man1/gpxlogger.1*
 %{_mandir}/man1/xgps.1*
 %{_mandir}/man1/xgpsspeed.1*
 %{_mandir}/man1/cgps.1*
 %{_mandir}/man1/gpscat.1*
-%{_mandir}/man1/cgpxlogger.1*
 %{_datadir}/X11/app-defaults/xgps
 %{_datadir}/X11/app-defaults/xgpsspeed
 %{_datadir}/applications/*.desktop
@@ -185,9 +220,57 @@
 
 
 %changelog
+* Thu Mar 19 2009 Douglas E. Warner <silfreed at silfreed.net> - 2.39-1
+- updating to 2.39
+- fixed potential core dump in C client handling of "K" responses
+- Made device hotplugging work again; had been broken by changes in udev
+- Introduced major and minor API version symbols into the public interfaces
+- The sirfmon utility is gone, replaced by gpsmon which does the same job
+  for multiple GPS types
+- Fixed a two-year old error in NMEA parsing that nobody noticed because its
+  only effect was to trash VDOP values from GSA sentences, and gpsd computes
+  those with an internal error model when they look wonky
+- cgpxlogger has been merged into gpxlogger
+- Speed-setting commands now allow parity and stop-bit setting if the GPS
+  chipset and adaptor can support it
+- Specfile and other packaging paraphenalia now live in a packaging
+  subdirectory
+- rtcmdecode becomes gpsdecode and can now de-armor and dump AIDVM packets
+- The client library now work correctly in locales where the decimal separator
+  is not a period
+
+* Mon Mar 16 2009 Douglas E. Warner <silfreed at silfreed.net> - 2.38-1
+- updating to 2.38
+- creating init script and sysconfig files
+- migrating hotplug rules to udev + hotplug wrapper script from svn r5147
+- updating pyexecdir patch
+- fixing udev rule subsystem match
+- Regression test load for RoyalTek RGM3800 and Blumax GPS-009 added
+- Scaling on E error-estimate fields fixed to match O
+- Listen on localhost only by default to avoid security problems; this can be
+  overridden with the -G command-line option
+- The packet-state machine can now recognize RTCM3 packets, though support is
+  not yet complete
+- Added support for ublox5 and mkt-3301 devices
+- Add a wrapper around gpsd_hexdump to save CPU
+- Lots of little fixes to various packet parsers
+- Always keep the device open: "-n" is not optional any more
+- xgpsspeed no longer depends on Motif
+- gpsctl can now ship arbitrary payloads to a device; 
+  It's possible to send binary through the control channel with the
+  new "&" command
+- Experimental new driver for Novatel SuperStarII
+- The 'g' mode switch command now requires, and returns, 'rtcm104v2' rather
+  than 'rtcm104'; this is design forward for when RTCM104v2 is fully working
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.37-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm at gmail.com> - 2.37-3
+- Rebuild for Python 2.6
+
 * Wed Mar 19 2008 Douglas E. Warner <silfreed at silfreed.net> - 2.37-2
 - moving gpspacket.so python lib to main package
-- adding zero.patch to make ZEROIZE error go away on fedora 7
 
 * Wed Feb 27 2008 Douglas E. Warner <silfreed at silfreed.net> - 2.37-1
 - update to 2.37


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/gpsd/F-9/sources,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- sources	28 Feb 2008 18:51:06 -0000	1.7
+++ sources	19 Mar 2009 18:48:49 -0000	1.8
@@ -1,3 +1 @@
-6c96cc0b2df0279cb7baac1ebc5881d3  gpsd-2.37.tar.gz
-f742145dff43d607f7014aa387835738  gpsd-logo.png
-
+3db437196a6840c252fca99b6c19d4d0  gpsd-2.39.tar.gz


--- python-pyexecdir-install-gpsd-2.37.patch DELETED ---


--- zero.patch DELETED ---




More information about the fedora-extras-commits mailing list