SPECS: gpsd.spec - up to 2.37 - added TODO, NFY and NIHTDTTD (no idea how t...

deejay1 deejay1 at pld-linux.org
Thu Jun 12 19:15:13 CEST 2008


Author: deejay1                      Date: Thu Jun 12 17:15:13 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 2.37
- added TODO, NFY and NIHTDTTD (no idea how to do the todo-at least point 2) 

---- Files affected:
SPECS:
   gpsd.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/gpsd.spec
diff -u SPECS/gpsd.spec:1.8 SPECS/gpsd.spec:1.9
--- SPECS/gpsd.spec:1.8	Fri Feb  8 14:53:44 2008
+++ SPECS/gpsd.spec	Thu Jun 12 19:15:07 2008
@@ -1,20 +1,21 @@
 # $Revision$, $Date$
-# TODO
-# - at this time package do not build with dbus support
-#   I do not need it ...
 #
+# TODO:
+#	- integrate udev stuff from Debian (die hotplug, die!)
+#	- fix pysitedir???
+#	
 # Conditional build:
-%bcond_with	dbus	# build with dbus support
+%bcond_without	dbus	# build with dbus support
 #
 Summary:	Service daemon for mediating access to a GPS
 Summary(pl.UTF-8):	Oprogramowanie komunikujące się z GPS-em
 Name:		gpsd
-Version:	2.33
-Release:	1.1
+Version:	2.37
+Release:	0.1
 License:	BSD
 Group:		Daemons
 Source0:	http://download.berlios.de/gpsd/%{name}-%{version}.tar.gz
-# Source0-md5:	03b57754091e4a34e27c78e1dc35c55e
+# Source0-md5:	6c96cc0b2df0279cb7baac1ebc5881d3
 Patch0:		%{name}-ncurses.patch
 URL:		http://gpsd.berlios.de/
 BuildRequires:	autoconf
@@ -29,7 +30,7 @@
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_appdefsdir	/usr/X11R6/lib/X11/app-defaults
+%define		_appdefsdir	/usr/lib/X11/app-defaults
 
 %description
 gpsd is a service daemon that mediates access to a GPS sensor
@@ -67,15 +68,15 @@
 ponownym podłączaniem GPS-a.
 
 %package libs
-Summary:	GPS client library
-Summary(pl.UTF-8):	Biblioteka kliencka GPS
+Summary:	GPSd client library
+Summary(pl.UTF-8):	Biblioteka kliencka GPSd
 Group:		Libraries
 
 %description libs
-GPS client library.
+GPSd client library.
 
 %description libs -l pl.UTF-8
-Biblioteka kliencka GPS.
+Biblioteka kliencka GPSd.
 
 %package devel
 Summary:	Client libraries in C and Python for talking to a running gpsd or GPS
@@ -143,6 +144,7 @@
 %patch0 -p1
 
 %build
+%{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__autoheader}
@@ -151,17 +153,17 @@
 	%{?with_dbus:--enable-dbus}
 
 %{__make}
-%{__python} -c "import compiler;compiler.compileFile('gps.py')"
-%{__python} -c "import compiler;compiler.compileFile('gpsfake.py')"
+#%{__python} -c "import compiler;compiler.compileFile('gps.py')"
+#%{__python} -c "import compiler;compiler.compileFile('gpsfake.py')"
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_sysconfdir}/hotplug/usb,%{py_sitedir},%{_appdefsdir},%{_datadir}/gpsd}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir}/hotplug/usb,%{py_sitedir},%{_appdefsdir},%{_datadir}/%{name}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install gps.pyc gpsfake.pyc $RPM_BUILD_ROOT%{py_sitedir}
+#install gps.pyc gpsfake.pyc $RPM_BUILD_ROOT%{py_sitedir}
 install gpsd.hotplug gpsd.usermap $RPM_BUILD_ROOT%{_sysconfdir}/hotplug/usb
 install xgps.ad $RPM_BUILD_ROOT%{_appdefsdir}/xgps
 install xgpsspeed.ad $RPM_BUILD_ROOT%{_appdefsdir}/xgpsspeed
@@ -175,7 +177,7 @@
 
 %files
 %defattr(644,root,root,755)
-%doc README INSTALL COPYING TODO AUTHORS HACKING
+%doc README INSTALL COPYING TODO AUTHORS
 %attr(755,root,root) %{_sbindir}/gpsd
 %attr(755,root,root) %{_bindir}/gpsprof
 %attr(755,root,root) %{_bindir}/sirfmon
@@ -184,9 +186,12 @@
 %{_mandir}/man1/sirfmon.1*
 %{_sysconfdir}/hotplug/usb/gpsd.hotplug
 %{_sysconfdir}/hotplug/usb/gpsd.usermap
+%dir %{_datadir}/%{name}
 %{_datadir}/gpsd/dgpsip-servers
-%{py_sitedir}/gps.pyc
-
+#%{py_sitedir}/gps.pyc
+%{_pkgconfigdir}/libgps.pc
+%{_pkgconfigdir}/libgpsd.pc
+ 
 %files libs
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgps.so.*.*.*
@@ -198,7 +203,7 @@
 %attr(755,root,root) %{_bindir}/gpsflash
 %attr(755,root,root) %{_libdir}/libgps.so
 %{_libdir}/libgps.la
-%{py_sitedir}/gpsfake.pyc
+#%{py_sitedir}/gpsfake.pyc
 %{_includedir}/gps.h
 %{_includedir}/libgpsmm.h
 %{_includedir}/gpsd.h
@@ -217,19 +222,22 @@
 
 %files clients
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/gpscat
+%attr(755,root,root) %{_bindir}/gpsctl
 %attr(755,root,root) %{_bindir}/xgps
 %attr(755,root,root) %{_bindir}/xgpsspeed
 %attr(755,root,root) %{_bindir}/cgpxlogger
 %attr(755,root,root) %{_bindir}/cgps
 %attr(755,root,root) %{_bindir}/gpspipe
 %{?with_dbus: %attr(755,root,root) %{_bindir}/gpxlogger}
+%{_mandir}/man1/gpscat.1*
+%{_mandir}/man1/gpsctl.1*
 %{_mandir}/man1/xgps.1*
 %{_mandir}/man1/cgps.1*
 %{_mandir}/man1/cgpxlogger.1*
 %{_mandir}/man1/gps.1*
 %{_mandir}/man1/xgpsspeed.1*
 %{_mandir}/man1/gpspipe.1*
-%{?with_dbus: %{_mandir}/man1/gpxlogger.1*}
 %{_appdefsdir}/xgps
 %{_appdefsdir}/xgpsspeed
 
@@ -239,6 +247,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2008-06-12 17:15:07  deejay1
+- up to 2.37
+- added TODO, NFY and NIHTDTTD (no idea how to do the todo-at least point 2)
+
 Revision 1.8  2008-02-08 13:53:44  jajcus
 - BR: xorg-lib-libXaw-devel instead of XFree86-devel
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gpsd.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list