OBS User unknown 2008-03-26 15:13:14 +00:00 committed by Git OBS Bridge
parent 1d43d6d8f2
commit 0784ed7ecc
9 changed files with 133 additions and 44 deletions

2
.gitattributes vendored
View File

@ -21,3 +21,5 @@
*.xz filter=lfs diff=lfs merge=lfs -text *.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text *.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text
## Specific LFS patterns
gpsd.xpm filter=lfs diff=lfs merge=lfs -text

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6b3a9c385f821a462441e8c409201b297963eeabd09008fa9ef23abfde45a14f
size 586666

3
gpsd-2.37.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4995b15af14517d27545f0a604aecf6eff32bbc37d29f7e5140975885c76f714
size 542586

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Mar 22 20:02:15 CET 2008 - lrupp@suse.de
- update to 2.37
Fixes:
+ C++ bindings
+ Garmin USB support
+ multiple instances of ntp pps thread starting
+ better handling of odd PPS signals
+ eye candy in the php visualizers
- enable Garmin Simple Text support
- enable True North Technologies support
- disable static
- mark man files as %doc
- added desktop entries
- fix ldconfig calls
- clean buildroot
- PreReq coreutils and fillup_prereq for postinstall
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 18 16:41:27 CET 2008 - jreuter@suse.de Fri Jan 18 16:41:27 CET 2008 - jreuter@suse.de

125
gpsd.spec
View File

@ -1,5 +1,5 @@
# #
# spec file for package gpsd (Version 2.36) # spec file for package gpsd (Version 2.37)
# #
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
@ -10,22 +10,30 @@
# norootforbuild # norootforbuild
Name: gpsd Name: gpsd
Summary: Service daemon for mediating access to a GPS
License: BSD 3-Clause License: BSD 3-Clause
Url: http://gpsd.berlios.de/ Url: http://gpsd.berlios.de/
Group: Hardware/Other Group: Hardware/Other
Version: 2.36 Version: 2.37
Release: 1 Release: 1
Summary: Service daemon for mediating access to a GPS
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: udev Requires: udev
PreReq: coreutils %fillup_prereq
BuildRequires: gcc-c++ ncurses-devel openmotif openmotif-devel python-devel udev xmlto
BuildRequires: dbus-1-devel dbus-1-glib-devel update-desktop-files
%if 0%{?suse_version} > 1020
BuildRequires: fdupes
%endif
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
Source1: rules.gpsd Source1: rules.gpsd
Source2: udev.gpsd Source2: udev.gpsd
Source3: sysconfig.gpsd Source3: sysconfig.gpsd
Patch: undeffix.diff Source4: gpsd.xpm
BuildRequires: gcc-c++ ncurses-devel openmotif openmotif-devel python-devel udev xmlto Source5: xgps.desktop
#B#uildRequires: dbus-1-devel dbus-1-glib-devel Source6: xgpsspeed.desktop
Patch: gpsd-undeffix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
gpsd is a service daemon that mediates access to a GPS sensor connected gpsd is a service daemon that mediates access to a GPS sensor connected
@ -59,12 +67,13 @@ Authors:
Chris Kuethe <chris.kuethe@gmail.com> Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi> Ville Nuorvala <vnuorval@tcs.hut.fi>
%package -n gpsd-devel %package devel
Summary: Client libraries in C and Python for talking to a running gpsd or GPS Summary: Client libraries in C and Python for talking to a running gpsd or GPS
Group: Hardware/Other Group: Hardware/Other
Requires: gpsd Requires: %name = %version
Requires: pkgconfig
%description -n gpsd-devel %description devel
This package provides C header files for the gpsd shared libraries that This package provides C header files for the gpsd shared libraries that
manage access to a GPS for applications; also Python modules. You will manage access to a GPS for applications; also Python modules. You will
need to have gpsd installed for it to work. need to have gpsd installed for it to work.
@ -83,11 +92,11 @@ Authors:
Chris Kuethe <chris.kuethe@gmail.com> Chris Kuethe <chris.kuethe@gmail.com>
Ville Nuorvala <vnuorval@tcs.hut.fi> Ville Nuorvala <vnuorval@tcs.hut.fi>
%package -n gpsd-clients %package clients
Summary: Clients for gpsd with an X interface Summary: Clients for gpsd with an X interface
Group: Hardware/Other Group: Hardware/Other
%description -n gpsd-clients %description clients
xgps is a simple test client for gpsd with an X interface. It displays xgps is a simple test client for gpsd with an X interface. It displays
current GPS position/time/velocity information and (for GPSes that current GPS position/time/velocity information and (for GPSes that
support the feature) the locations of accessible satellites. support the feature) the locations of accessible satellites.
@ -119,9 +128,11 @@ Authors:
%patch -p0 %patch -p0
%build %build
%configure %configure --disable-static \
#%#configure --enable-dbus --enable-dbus \
%__make --enable-garmintxt \
--enable-tnt
%__make %{?jobs:-j%jobs}
%install %install
%makeinstall %makeinstall
@ -129,24 +140,46 @@ install -d -m 755 %{buildroot}/lib/udev
install -d -m 755 %{buildroot}/etc/udev/rules.d install -d -m 755 %{buildroot}/etc/udev/rules.d
install -d -m 755 %{buildroot}/var/adm/fillup-templates install -d -m 755 %{buildroot}/var/adm/fillup-templates
install -d -m 755 %{buildroot}%py_sitedir install -d -m 755 %{buildroot}%py_sitedir
install -d -m 755 %{buildroot}%{_datadir}/{applications,pixmaps}
install -m 644 %{SOURCE1} %{buildroot}/etc/udev/rules.d/51-gpsd.rules install -m 644 %{SOURCE1} %{buildroot}/etc/udev/rules.d/51-gpsd.rules
install -m 755 %{SOURCE2} %{buildroot}/lib/udev/gpsd.sh install -m 755 %{SOURCE2} %{buildroot}/lib/udev/gpsd.sh
install -m 644 %{SOURCE3} %{buildroot}/var/adm/fillup-templates install -m 644 %{SOURCE3} %{buildroot}/var/adm/fillup-templates
install -m 644 gpsfake.py %{buildroot}%{py_sitedir} install -m 644 gpsfake.py %{buildroot}%{py_sitedir}
install -m 755 gps.py %{buildroot}%{py_sitedir} install -m 755 gps.py %{buildroot}%{py_sitedir}
# remove /usr/bin/env call
for i in gpscat gpsfake gpsprof; do
sed -i "s|/usr/bin/env python|/usr/bin/python|g" %{buildroot}%{_bindir}/$i
done
sed -i "s|/usr/bin/env python|/usr/bin/python|g" %{buildroot}%{py_sitedir}/gps.py
# remove .la files
rm -f %{buildroot}%{_libdir}/libgps.la
# install desktop entries
install -m 644 %{SOURCE4} %{buildroot}%{_datadir}/pixmaps/%{name}.xpm
install -m 644 %{SOURCE5} %{buildroot}%{_datadir}/applications/
install -m 644 %{SOURCE6} %{buildroot}%{_datadir}/applications/
%suse_update_desktop_file xgpsspeed
%suse_update_desktop_file xgps
# save some space, create symlinks
%if 0%{?suse_version} > 1020
%fdupes -s %buildroot
%endif
%clean %clean
rm -rf %{buildroot}
%post %post
/sbin/ldconfig
%fillup_only -n gpsd %fillup_only -n gpsd
%run_ldconfig
%postun %postun -p /sbin/ldconfig
%run_ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README INSTALL COPYING gpsd.php %doc README INSTALL COPYING gpsd.php
%doc %{_mandir}/man?/gpsd.*
%doc %{_mandir}/man?/gpsprof.*
%doc %{_mandir}/man?/gpsctl.*
%doc %{_mandir}/man?/sirfmon.*
/lib/udev/gpsd.sh /lib/udev/gpsd.sh
%config(noreplace) /etc/udev/rules.d/* %config(noreplace) /etc/udev/rules.d/*
%{_sbindir}/gpsd %{_sbindir}/gpsd
@ -154,16 +187,19 @@ install -m 755 gps.py %{buildroot}%{py_sitedir}
%{_bindir}/gpsprof %{_bindir}/gpsprof
%{_bindir}/sirfmon %{_bindir}/sirfmon
%{_libdir}/libgps.so.* %{_libdir}/libgps.so.*
%{_mandir}/man?/gpsd.*
%{_mandir}/man?/gpsprof.*
%{_mandir}/man?/gpsctl.*
%{_mandir}/man?/sirfmon.*
%{py_sitedir}/gps.py* %{py_sitedir}/gps.py*
/var/adm/fillup-templates/sysconfig.gpsd /var/adm/fillup-templates/sysconfig.gpsd
%files -n gpsd-devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%doc README INSTALL COPYING TODO %doc README INSTALL COPYING TODO
%doc %{_mandir}/man?/gpsfake.*
%doc %{_mandir}/man?/gpscat.*
%doc %{_mandir}/man?/libgps*.*
%doc %{_mandir}/man?/rtcmdecode.*
%doc %{_mandir}/man?/gpsflash.*
%doc %{_mandir}/man?/rtcm-104.*
%doc %{_mandir}/man?/srec.*
%{_bindir}/gpsfake %{_bindir}/gpsfake
%{_bindir}/rtcmdecode %{_bindir}/rtcmdecode
%{_bindir}/gpsflash %{_bindir}/gpsflash
@ -171,36 +207,45 @@ install -m 755 gps.py %{buildroot}%{py_sitedir}
%{_includedir}/gps.h %{_includedir}/gps.h
%{_includedir}/libgpsmm.h %{_includedir}/libgpsmm.h
%{_includedir}/gpsd.h %{_includedir}/gpsd.h
%{_mandir}/man?/gpsfake.*
%{_mandir}/man?/gpscat.*
%{_mandir}/man?/gpspipe.*
%{_mandir}/man?/libgps*.*
%{_mandir}/man?/rtcmdecode.*
%{_mandir}/man?/gpsflash.*
%{_mandir}/man?/rtcm-104.*
%{_mandir}/man?/srec.*
%{py_sitedir}/gpsfake.py* %{py_sitedir}/gpsfake.py*
%{py_sitedir}/gpspacket.so* %{py_sitedir}/gpspacket.so*
%{_libdir}/libgps.so %{_libdir}/libgps.so
%{_libdir}/libgps.la
%{_libdir}/libgps.a
%{_libdir}/pkgconfig/libgps*.pc %{_libdir}/pkgconfig/libgps*.pc
%files -n gpsd-clients %files clients
%defattr(-,root,root) %defattr(-,root,root)
%doc %{_mandir}/man?/gps.*
%doc %{_mandir}/man?/cgps.*
%doc %{_mandir}/man?/xgps.*
%doc %{_mandir}/man?/xgpsspeed.*
%doc %{_mandir}/man?/gpspipe.*
%doc %{_mandir}/man?/cgpxlogger.*
%{_bindir}/xgps %{_bindir}/xgps
%{_bindir}/xgpsspeed %{_bindir}/xgpsspeed
%{_bindir}/cgps %{_bindir}/cgps
%{_bindir}/cgpxlogger %{_bindir}/cgpxlogger
%{_bindir}/gpspipe %{_bindir}/gpspipe
%{_mandir}/man?/gps.* %{_bindir}/gpxlogger
%{_mandir}/man?/cgps.* %{_datadir}/applications/*.desktop
%{_mandir}/man?/xgps.* %{_datadir}/pixmaps/*.xpm
%{_mandir}/man?/xgpsspeed.*
%{_mandir}/man?/gpspipe.*
%{_mandir}/man?/cgpxlogger.*
%changelog %changelog
* Sat Mar 22 2008 lrupp@suse.de
- update to 2.37
Fixes:
+ C++ bindings
+ Garmin USB support
+ multiple instances of ntp pps thread starting
+ better handling of odd PPS signals
+ eye candy in the php visualizers
- enable Garmin Simple Text support
- enable True North Technologies support
- disable static
- mark man files as %%doc
- added desktop entries
- fix ldconfig calls
- clean buildroot
- PreReq coreutils and fillup_prereq for postinstall
* Fri Jan 18 2008 jreuter@suse.de * Fri Jan 18 2008 jreuter@suse.de
- updated to 2.36 - updated to 2.36
* Integrated Garmin Simple Text Protocol driver from Peter Slansky. * Integrated Garmin Simple Text Protocol driver from Peter Slansky.

3
gpsd.xpm Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5800f770af55c42163f20094ee35b873126a8976a929571ae9f14f23a788b9b0
size 31165

10
xgps.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=xgps
GenericName=GPS information
Comment=Display GPS information from a gpsd daemon
Exec=xgps
Icon=gpsd
Terminal=false
Type=Application
Categories=System;Monitor;

10
xgpsspeed.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Encoding=UTF-8
Name=xgpsspeed
GenericName=GPS speedometer
Comment=Display GPS speed from a gpsd daemon
Exec=xgpsspeed
Icon=gpsd
Terminal=false
Type=Application
Categories=System;Monitor;